@aws-sdk/client-location 3.35.0 → 3.38.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 (431) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/dist-cjs/Location.js +0 -4
  3. package/dist-cjs/LocationClient.js +0 -9
  4. package/dist-cjs/commands/AssociateTrackerConsumerCommand.js +0 -31
  5. package/dist-cjs/commands/BatchDeleteDevicePositionHistoryCommand.js +0 -25
  6. package/dist-cjs/commands/BatchDeleteGeofenceCommand.js +0 -28
  7. package/dist-cjs/commands/BatchEvaluateGeofencesCommand.js +0 -45
  8. package/dist-cjs/commands/BatchGetDevicePositionCommand.js +0 -25
  9. package/dist-cjs/commands/BatchPutGeofenceCommand.js +0 -26
  10. package/dist-cjs/commands/BatchUpdateDevicePositionCommand.js +0 -31
  11. package/dist-cjs/commands/CalculateRouteCommand.js +0 -55
  12. package/dist-cjs/commands/CreateGeofenceCollectionCommand.js +0 -25
  13. package/dist-cjs/commands/CreateMapCommand.js +0 -26
  14. package/dist-cjs/commands/CreatePlaceIndexCommand.js +0 -26
  15. package/dist-cjs/commands/CreateRouteCalculatorCommand.js +0 -28
  16. package/dist-cjs/commands/CreateTrackerCommand.js +0 -26
  17. package/dist-cjs/commands/DeleteGeofenceCollectionCommand.js +0 -29
  18. package/dist-cjs/commands/DeleteMapCommand.js +0 -29
  19. package/dist-cjs/commands/DeletePlaceIndexCommand.js +0 -28
  20. package/dist-cjs/commands/DeleteRouteCalculatorCommand.js +0 -28
  21. package/dist-cjs/commands/DeleteTrackerCommand.js +0 -30
  22. package/dist-cjs/commands/DescribeGeofenceCollectionCommand.js +0 -25
  23. package/dist-cjs/commands/DescribeMapCommand.js +0 -25
  24. package/dist-cjs/commands/DescribePlaceIndexCommand.js +0 -25
  25. package/dist-cjs/commands/DescribeRouteCalculatorCommand.js +0 -25
  26. package/dist-cjs/commands/DescribeTrackerCommand.js +0 -25
  27. package/dist-cjs/commands/DisassociateTrackerConsumerCommand.js +0 -29
  28. package/dist-cjs/commands/GetDevicePositionCommand.js +0 -28
  29. package/dist-cjs/commands/GetDevicePositionHistoryCommand.js +0 -29
  30. package/dist-cjs/commands/GetGeofenceCommand.js +0 -25
  31. package/dist-cjs/commands/GetMapGlyphsCommand.js +0 -25
  32. package/dist-cjs/commands/GetMapSpritesCommand.js +0 -27
  33. package/dist-cjs/commands/GetMapStyleDescriptorCommand.js +0 -28
  34. package/dist-cjs/commands/GetMapTileCommand.js +0 -30
  35. package/dist-cjs/commands/ListDevicePositionsCommand.js +0 -25
  36. package/dist-cjs/commands/ListGeofenceCollectionsCommand.js +0 -25
  37. package/dist-cjs/commands/ListGeofencesCommand.js +0 -25
  38. package/dist-cjs/commands/ListMapsCommand.js +0 -25
  39. package/dist-cjs/commands/ListPlaceIndexesCommand.js +0 -25
  40. package/dist-cjs/commands/ListRouteCalculatorsCommand.js +0 -25
  41. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  42. package/dist-cjs/commands/ListTrackerConsumersCommand.js +0 -25
  43. package/dist-cjs/commands/ListTrackersCommand.js +0 -25
  44. package/dist-cjs/commands/PutGeofenceCommand.js +0 -26
  45. package/dist-cjs/commands/SearchPlaceIndexForPositionCommand.js +0 -26
  46. package/dist-cjs/commands/SearchPlaceIndexForTextCommand.js +0 -33
  47. package/dist-cjs/commands/TagResourceCommand.js +0 -38
  48. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  49. package/dist-cjs/commands/UpdateGeofenceCollectionCommand.js +0 -25
  50. package/dist-cjs/commands/UpdateMapCommand.js +0 -25
  51. package/dist-cjs/commands/UpdatePlaceIndexCommand.js +0 -25
  52. package/dist-cjs/commands/UpdateRouteCalculatorCommand.js +0 -25
  53. package/dist-cjs/commands/UpdateTrackerCommand.js +0 -25
  54. package/dist-cjs/commands/index.js +53 -0
  55. package/dist-cjs/endpoints.js +1 -2
  56. package/dist-cjs/index.js +4 -63
  57. package/dist-cjs/models/index.js +0 -1
  58. package/dist-cjs/models/models_0.js +0 -430
  59. package/dist-cjs/pagination/GetDevicePositionHistoryPaginator.js +0 -11
  60. package/dist-cjs/pagination/Interfaces.js +0 -1
  61. package/dist-cjs/pagination/ListDevicePositionsPaginator.js +0 -11
  62. package/dist-cjs/pagination/ListGeofenceCollectionsPaginator.js +0 -11
  63. package/dist-cjs/pagination/ListGeofencesPaginator.js +0 -11
  64. package/dist-cjs/pagination/ListMapsPaginator.js +0 -11
  65. package/dist-cjs/pagination/ListPlaceIndexesPaginator.js +0 -11
  66. package/dist-cjs/pagination/ListRouteCalculatorsPaginator.js +0 -11
  67. package/dist-cjs/pagination/ListTrackerConsumersPaginator.js +0 -11
  68. package/dist-cjs/pagination/ListTrackersPaginator.js +0 -11
  69. package/dist-cjs/pagination/index.js +13 -0
  70. package/dist-cjs/protocols/Aws_restJson1.js +8 -6
  71. package/dist-cjs/runtimeConfig.browser.js +1 -6
  72. package/dist-cjs/runtimeConfig.js +2 -7
  73. package/dist-cjs/runtimeConfig.native.js +0 -4
  74. package/dist-cjs/runtimeConfig.shared.js +0 -4
  75. package/dist-es/Location.js +0 -1
  76. package/dist-es/LocationClient.js +0 -1
  77. package/dist-es/commands/AssociateTrackerConsumerCommand.js +0 -1
  78. package/dist-es/commands/BatchDeleteDevicePositionHistoryCommand.js +0 -1
  79. package/dist-es/commands/BatchDeleteGeofenceCommand.js +0 -1
  80. package/dist-es/commands/BatchEvaluateGeofencesCommand.js +0 -1
  81. package/dist-es/commands/BatchGetDevicePositionCommand.js +0 -1
  82. package/dist-es/commands/BatchPutGeofenceCommand.js +0 -1
  83. package/dist-es/commands/BatchUpdateDevicePositionCommand.js +0 -1
  84. package/dist-es/commands/CalculateRouteCommand.js +0 -1
  85. package/dist-es/commands/CreateGeofenceCollectionCommand.js +0 -1
  86. package/dist-es/commands/CreateMapCommand.js +0 -1
  87. package/dist-es/commands/CreatePlaceIndexCommand.js +0 -1
  88. package/dist-es/commands/CreateRouteCalculatorCommand.js +0 -1
  89. package/dist-es/commands/CreateTrackerCommand.js +0 -1
  90. package/dist-es/commands/DeleteGeofenceCollectionCommand.js +0 -1
  91. package/dist-es/commands/DeleteMapCommand.js +0 -1
  92. package/dist-es/commands/DeletePlaceIndexCommand.js +0 -1
  93. package/dist-es/commands/DeleteRouteCalculatorCommand.js +0 -1
  94. package/dist-es/commands/DeleteTrackerCommand.js +0 -1
  95. package/dist-es/commands/DescribeGeofenceCollectionCommand.js +0 -1
  96. package/dist-es/commands/DescribeMapCommand.js +0 -1
  97. package/dist-es/commands/DescribePlaceIndexCommand.js +0 -1
  98. package/dist-es/commands/DescribeRouteCalculatorCommand.js +0 -1
  99. package/dist-es/commands/DescribeTrackerCommand.js +0 -1
  100. package/dist-es/commands/DisassociateTrackerConsumerCommand.js +0 -1
  101. package/dist-es/commands/GetDevicePositionCommand.js +0 -1
  102. package/dist-es/commands/GetDevicePositionHistoryCommand.js +0 -1
  103. package/dist-es/commands/GetGeofenceCommand.js +0 -1
  104. package/dist-es/commands/GetMapGlyphsCommand.js +0 -1
  105. package/dist-es/commands/GetMapSpritesCommand.js +0 -1
  106. package/dist-es/commands/GetMapStyleDescriptorCommand.js +0 -1
  107. package/dist-es/commands/GetMapTileCommand.js +0 -1
  108. package/dist-es/commands/ListDevicePositionsCommand.js +0 -1
  109. package/dist-es/commands/ListGeofenceCollectionsCommand.js +0 -1
  110. package/dist-es/commands/ListGeofencesCommand.js +0 -1
  111. package/dist-es/commands/ListMapsCommand.js +0 -1
  112. package/dist-es/commands/ListPlaceIndexesCommand.js +0 -1
  113. package/dist-es/commands/ListRouteCalculatorsCommand.js +0 -1
  114. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  115. package/dist-es/commands/ListTrackerConsumersCommand.js +0 -1
  116. package/dist-es/commands/ListTrackersCommand.js +0 -1
  117. package/dist-es/commands/PutGeofenceCommand.js +0 -1
  118. package/dist-es/commands/SearchPlaceIndexForPositionCommand.js +0 -1
  119. package/dist-es/commands/SearchPlaceIndexForTextCommand.js +0 -1
  120. package/dist-es/commands/TagResourceCommand.js +0 -1
  121. package/dist-es/commands/UntagResourceCommand.js +0 -1
  122. package/dist-es/commands/UpdateGeofenceCollectionCommand.js +0 -1
  123. package/dist-es/commands/UpdateMapCommand.js +0 -1
  124. package/dist-es/commands/UpdatePlaceIndexCommand.js +0 -1
  125. package/dist-es/commands/UpdateRouteCalculatorCommand.js +0 -1
  126. package/dist-es/commands/UpdateTrackerCommand.js +0 -1
  127. package/dist-es/commands/index.js +50 -0
  128. package/dist-es/endpoints.js +1 -2
  129. package/dist-es/index.js +4 -63
  130. package/dist-es/models/index.js +0 -1
  131. package/dist-es/models/models_0.js +0 -1
  132. package/dist-es/pagination/GetDevicePositionHistoryPaginator.js +0 -1
  133. package/dist-es/pagination/Interfaces.js +0 -1
  134. package/dist-es/pagination/ListDevicePositionsPaginator.js +0 -1
  135. package/dist-es/pagination/ListGeofenceCollectionsPaginator.js +0 -1
  136. package/dist-es/pagination/ListGeofencesPaginator.js +0 -1
  137. package/dist-es/pagination/ListMapsPaginator.js +0 -1
  138. package/dist-es/pagination/ListPlaceIndexesPaginator.js +0 -1
  139. package/dist-es/pagination/ListRouteCalculatorsPaginator.js +0 -1
  140. package/dist-es/pagination/ListTrackerConsumersPaginator.js +0 -1
  141. package/dist-es/pagination/ListTrackersPaginator.js +0 -1
  142. package/dist-es/pagination/index.js +10 -0
  143. package/dist-es/protocols/Aws_restJson1.js +8 -3
  144. package/dist-es/runtimeConfig.browser.js +1 -2
  145. package/dist-es/runtimeConfig.js +2 -3
  146. package/dist-es/runtimeConfig.native.js +0 -1
  147. package/dist-es/runtimeConfig.shared.js +0 -1
  148. package/dist-types/Location.d.ts +8 -4
  149. package/dist-types/commands/BatchUpdateDevicePositionCommand.d.ts +8 -4
  150. package/dist-types/commands/index.d.ts +50 -0
  151. package/dist-types/index.d.ts +4 -62
  152. package/dist-types/models/models_0.d.ts +82 -42
  153. package/dist-types/pagination/index.d.ts +10 -0
  154. package/dist-types/ts3.4/Location.d.ts +51 -288
  155. package/dist-types/ts3.4/LocationClient.d.ts +24 -89
  156. package/dist-types/ts3.4/commands/AssociateTrackerConsumerCommand.d.ts +2 -26
  157. package/dist-types/ts3.4/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +2 -20
  158. package/dist-types/ts3.4/commands/BatchDeleteGeofenceCommand.d.ts +2 -23
  159. package/dist-types/ts3.4/commands/BatchEvaluateGeofencesCommand.d.ts +2 -40
  160. package/dist-types/ts3.4/commands/BatchGetDevicePositionCommand.d.ts +2 -20
  161. package/dist-types/ts3.4/commands/BatchPutGeofenceCommand.d.ts +2 -21
  162. package/dist-types/ts3.4/commands/BatchUpdateDevicePositionCommand.d.ts +2 -26
  163. package/dist-types/ts3.4/commands/CalculateRouteCommand.d.ts +2 -50
  164. package/dist-types/ts3.4/commands/CreateGeofenceCollectionCommand.d.ts +2 -20
  165. package/dist-types/ts3.4/commands/CreateMapCommand.d.ts +2 -21
  166. package/dist-types/ts3.4/commands/CreatePlaceIndexCommand.d.ts +2 -21
  167. package/dist-types/ts3.4/commands/CreateRouteCalculatorCommand.d.ts +2 -23
  168. package/dist-types/ts3.4/commands/CreateTrackerCommand.d.ts +2 -21
  169. package/dist-types/ts3.4/commands/DeleteGeofenceCollectionCommand.d.ts +2 -24
  170. package/dist-types/ts3.4/commands/DeleteMapCommand.d.ts +2 -24
  171. package/dist-types/ts3.4/commands/DeletePlaceIndexCommand.d.ts +2 -23
  172. package/dist-types/ts3.4/commands/DeleteRouteCalculatorCommand.d.ts +2 -23
  173. package/dist-types/ts3.4/commands/DeleteTrackerCommand.d.ts +2 -25
  174. package/dist-types/ts3.4/commands/DescribeGeofenceCollectionCommand.d.ts +2 -20
  175. package/dist-types/ts3.4/commands/DescribeMapCommand.d.ts +2 -20
  176. package/dist-types/ts3.4/commands/DescribePlaceIndexCommand.d.ts +2 -20
  177. package/dist-types/ts3.4/commands/DescribeRouteCalculatorCommand.d.ts +2 -20
  178. package/dist-types/ts3.4/commands/DescribeTrackerCommand.d.ts +2 -20
  179. package/dist-types/ts3.4/commands/DisassociateTrackerConsumerCommand.d.ts +2 -24
  180. package/dist-types/ts3.4/commands/GetDevicePositionCommand.d.ts +2 -23
  181. package/dist-types/ts3.4/commands/GetDevicePositionHistoryCommand.d.ts +2 -24
  182. package/dist-types/ts3.4/commands/GetGeofenceCommand.d.ts +2 -20
  183. package/dist-types/ts3.4/commands/GetMapGlyphsCommand.d.ts +2 -20
  184. package/dist-types/ts3.4/commands/GetMapSpritesCommand.d.ts +2 -22
  185. package/dist-types/ts3.4/commands/GetMapStyleDescriptorCommand.d.ts +2 -23
  186. package/dist-types/ts3.4/commands/GetMapTileCommand.d.ts +2 -25
  187. package/dist-types/ts3.4/commands/ListDevicePositionsCommand.d.ts +2 -20
  188. package/dist-types/ts3.4/commands/ListGeofenceCollectionsCommand.d.ts +2 -20
  189. package/dist-types/ts3.4/commands/ListGeofencesCommand.d.ts +2 -20
  190. package/dist-types/ts3.4/commands/ListMapsCommand.d.ts +2 -20
  191. package/dist-types/ts3.4/commands/ListPlaceIndexesCommand.d.ts +2 -20
  192. package/dist-types/ts3.4/commands/ListRouteCalculatorsCommand.d.ts +2 -20
  193. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  194. package/dist-types/ts3.4/commands/ListTrackerConsumersCommand.d.ts +2 -20
  195. package/dist-types/ts3.4/commands/ListTrackersCommand.d.ts +2 -20
  196. package/dist-types/ts3.4/commands/PutGeofenceCommand.d.ts +2 -21
  197. package/dist-types/ts3.4/commands/SearchPlaceIndexForPositionCommand.d.ts +2 -21
  198. package/dist-types/ts3.4/commands/SearchPlaceIndexForTextCommand.d.ts +2 -28
  199. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -33
  200. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  201. package/dist-types/ts3.4/commands/UpdateGeofenceCollectionCommand.d.ts +2 -20
  202. package/dist-types/ts3.4/commands/UpdateMapCommand.d.ts +2 -20
  203. package/dist-types/ts3.4/commands/UpdatePlaceIndexCommand.d.ts +2 -20
  204. package/dist-types/ts3.4/commands/UpdateRouteCalculatorCommand.d.ts +2 -20
  205. package/dist-types/ts3.4/commands/UpdateTrackerCommand.d.ts +2 -20
  206. package/dist-types/ts3.4/commands/index.d.ts +50 -0
  207. package/dist-types/ts3.4/index.d.ts +4 -62
  208. package/dist-types/ts3.4/models/models_0.d.ts +584 -3062
  209. package/dist-types/ts3.4/pagination/index.d.ts +10 -0
  210. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  211. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  212. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  213. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  214. package/package.json +33 -30
  215. package/dist-cjs/Location.js.map +0 -1
  216. package/dist-cjs/LocationClient.js.map +0 -1
  217. package/dist-cjs/commands/AssociateTrackerConsumerCommand.js.map +0 -1
  218. package/dist-cjs/commands/BatchDeleteDevicePositionHistoryCommand.js.map +0 -1
  219. package/dist-cjs/commands/BatchDeleteGeofenceCommand.js.map +0 -1
  220. package/dist-cjs/commands/BatchEvaluateGeofencesCommand.js.map +0 -1
  221. package/dist-cjs/commands/BatchGetDevicePositionCommand.js.map +0 -1
  222. package/dist-cjs/commands/BatchPutGeofenceCommand.js.map +0 -1
  223. package/dist-cjs/commands/BatchUpdateDevicePositionCommand.js.map +0 -1
  224. package/dist-cjs/commands/CalculateRouteCommand.js.map +0 -1
  225. package/dist-cjs/commands/CreateGeofenceCollectionCommand.js.map +0 -1
  226. package/dist-cjs/commands/CreateMapCommand.js.map +0 -1
  227. package/dist-cjs/commands/CreatePlaceIndexCommand.js.map +0 -1
  228. package/dist-cjs/commands/CreateRouteCalculatorCommand.js.map +0 -1
  229. package/dist-cjs/commands/CreateTrackerCommand.js.map +0 -1
  230. package/dist-cjs/commands/DeleteGeofenceCollectionCommand.js.map +0 -1
  231. package/dist-cjs/commands/DeleteMapCommand.js.map +0 -1
  232. package/dist-cjs/commands/DeletePlaceIndexCommand.js.map +0 -1
  233. package/dist-cjs/commands/DeleteRouteCalculatorCommand.js.map +0 -1
  234. package/dist-cjs/commands/DeleteTrackerCommand.js.map +0 -1
  235. package/dist-cjs/commands/DescribeGeofenceCollectionCommand.js.map +0 -1
  236. package/dist-cjs/commands/DescribeMapCommand.js.map +0 -1
  237. package/dist-cjs/commands/DescribePlaceIndexCommand.js.map +0 -1
  238. package/dist-cjs/commands/DescribeRouteCalculatorCommand.js.map +0 -1
  239. package/dist-cjs/commands/DescribeTrackerCommand.js.map +0 -1
  240. package/dist-cjs/commands/DisassociateTrackerConsumerCommand.js.map +0 -1
  241. package/dist-cjs/commands/GetDevicePositionCommand.js.map +0 -1
  242. package/dist-cjs/commands/GetDevicePositionHistoryCommand.js.map +0 -1
  243. package/dist-cjs/commands/GetGeofenceCommand.js.map +0 -1
  244. package/dist-cjs/commands/GetMapGlyphsCommand.js.map +0 -1
  245. package/dist-cjs/commands/GetMapSpritesCommand.js.map +0 -1
  246. package/dist-cjs/commands/GetMapStyleDescriptorCommand.js.map +0 -1
  247. package/dist-cjs/commands/GetMapTileCommand.js.map +0 -1
  248. package/dist-cjs/commands/ListDevicePositionsCommand.js.map +0 -1
  249. package/dist-cjs/commands/ListGeofenceCollectionsCommand.js.map +0 -1
  250. package/dist-cjs/commands/ListGeofencesCommand.js.map +0 -1
  251. package/dist-cjs/commands/ListMapsCommand.js.map +0 -1
  252. package/dist-cjs/commands/ListPlaceIndexesCommand.js.map +0 -1
  253. package/dist-cjs/commands/ListRouteCalculatorsCommand.js.map +0 -1
  254. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  255. package/dist-cjs/commands/ListTrackerConsumersCommand.js.map +0 -1
  256. package/dist-cjs/commands/ListTrackersCommand.js.map +0 -1
  257. package/dist-cjs/commands/PutGeofenceCommand.js.map +0 -1
  258. package/dist-cjs/commands/SearchPlaceIndexForPositionCommand.js.map +0 -1
  259. package/dist-cjs/commands/SearchPlaceIndexForTextCommand.js.map +0 -1
  260. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  261. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  262. package/dist-cjs/commands/UpdateGeofenceCollectionCommand.js.map +0 -1
  263. package/dist-cjs/commands/UpdateMapCommand.js.map +0 -1
  264. package/dist-cjs/commands/UpdatePlaceIndexCommand.js.map +0 -1
  265. package/dist-cjs/commands/UpdateRouteCalculatorCommand.js.map +0 -1
  266. package/dist-cjs/commands/UpdateTrackerCommand.js.map +0 -1
  267. package/dist-cjs/endpoints.js.map +0 -1
  268. package/dist-cjs/index.js.map +0 -1
  269. package/dist-cjs/models/index.js.map +0 -1
  270. package/dist-cjs/models/models_0.js.map +0 -1
  271. package/dist-cjs/pagination/GetDevicePositionHistoryPaginator.js.map +0 -1
  272. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  273. package/dist-cjs/pagination/ListDevicePositionsPaginator.js.map +0 -1
  274. package/dist-cjs/pagination/ListGeofenceCollectionsPaginator.js.map +0 -1
  275. package/dist-cjs/pagination/ListGeofencesPaginator.js.map +0 -1
  276. package/dist-cjs/pagination/ListMapsPaginator.js.map +0 -1
  277. package/dist-cjs/pagination/ListPlaceIndexesPaginator.js.map +0 -1
  278. package/dist-cjs/pagination/ListRouteCalculatorsPaginator.js.map +0 -1
  279. package/dist-cjs/pagination/ListTrackerConsumersPaginator.js.map +0 -1
  280. package/dist-cjs/pagination/ListTrackersPaginator.js.map +0 -1
  281. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  282. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  283. package/dist-cjs/runtimeConfig.js.map +0 -1
  284. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  285. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  286. package/dist-es/Location.js.map +0 -1
  287. package/dist-es/LocationClient.js.map +0 -1
  288. package/dist-es/commands/AssociateTrackerConsumerCommand.js.map +0 -1
  289. package/dist-es/commands/BatchDeleteDevicePositionHistoryCommand.js.map +0 -1
  290. package/dist-es/commands/BatchDeleteGeofenceCommand.js.map +0 -1
  291. package/dist-es/commands/BatchEvaluateGeofencesCommand.js.map +0 -1
  292. package/dist-es/commands/BatchGetDevicePositionCommand.js.map +0 -1
  293. package/dist-es/commands/BatchPutGeofenceCommand.js.map +0 -1
  294. package/dist-es/commands/BatchUpdateDevicePositionCommand.js.map +0 -1
  295. package/dist-es/commands/CalculateRouteCommand.js.map +0 -1
  296. package/dist-es/commands/CreateGeofenceCollectionCommand.js.map +0 -1
  297. package/dist-es/commands/CreateMapCommand.js.map +0 -1
  298. package/dist-es/commands/CreatePlaceIndexCommand.js.map +0 -1
  299. package/dist-es/commands/CreateRouteCalculatorCommand.js.map +0 -1
  300. package/dist-es/commands/CreateTrackerCommand.js.map +0 -1
  301. package/dist-es/commands/DeleteGeofenceCollectionCommand.js.map +0 -1
  302. package/dist-es/commands/DeleteMapCommand.js.map +0 -1
  303. package/dist-es/commands/DeletePlaceIndexCommand.js.map +0 -1
  304. package/dist-es/commands/DeleteRouteCalculatorCommand.js.map +0 -1
  305. package/dist-es/commands/DeleteTrackerCommand.js.map +0 -1
  306. package/dist-es/commands/DescribeGeofenceCollectionCommand.js.map +0 -1
  307. package/dist-es/commands/DescribeMapCommand.js.map +0 -1
  308. package/dist-es/commands/DescribePlaceIndexCommand.js.map +0 -1
  309. package/dist-es/commands/DescribeRouteCalculatorCommand.js.map +0 -1
  310. package/dist-es/commands/DescribeTrackerCommand.js.map +0 -1
  311. package/dist-es/commands/DisassociateTrackerConsumerCommand.js.map +0 -1
  312. package/dist-es/commands/GetDevicePositionCommand.js.map +0 -1
  313. package/dist-es/commands/GetDevicePositionHistoryCommand.js.map +0 -1
  314. package/dist-es/commands/GetGeofenceCommand.js.map +0 -1
  315. package/dist-es/commands/GetMapGlyphsCommand.js.map +0 -1
  316. package/dist-es/commands/GetMapSpritesCommand.js.map +0 -1
  317. package/dist-es/commands/GetMapStyleDescriptorCommand.js.map +0 -1
  318. package/dist-es/commands/GetMapTileCommand.js.map +0 -1
  319. package/dist-es/commands/ListDevicePositionsCommand.js.map +0 -1
  320. package/dist-es/commands/ListGeofenceCollectionsCommand.js.map +0 -1
  321. package/dist-es/commands/ListGeofencesCommand.js.map +0 -1
  322. package/dist-es/commands/ListMapsCommand.js.map +0 -1
  323. package/dist-es/commands/ListPlaceIndexesCommand.js.map +0 -1
  324. package/dist-es/commands/ListRouteCalculatorsCommand.js.map +0 -1
  325. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  326. package/dist-es/commands/ListTrackerConsumersCommand.js.map +0 -1
  327. package/dist-es/commands/ListTrackersCommand.js.map +0 -1
  328. package/dist-es/commands/PutGeofenceCommand.js.map +0 -1
  329. package/dist-es/commands/SearchPlaceIndexForPositionCommand.js.map +0 -1
  330. package/dist-es/commands/SearchPlaceIndexForTextCommand.js.map +0 -1
  331. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  332. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  333. package/dist-es/commands/UpdateGeofenceCollectionCommand.js.map +0 -1
  334. package/dist-es/commands/UpdateMapCommand.js.map +0 -1
  335. package/dist-es/commands/UpdatePlaceIndexCommand.js.map +0 -1
  336. package/dist-es/commands/UpdateRouteCalculatorCommand.js.map +0 -1
  337. package/dist-es/commands/UpdateTrackerCommand.js.map +0 -1
  338. package/dist-es/endpoints.js.map +0 -1
  339. package/dist-es/index.js.map +0 -1
  340. package/dist-es/models/index.js.map +0 -1
  341. package/dist-es/models/models_0.js.map +0 -1
  342. package/dist-es/pagination/GetDevicePositionHistoryPaginator.js.map +0 -1
  343. package/dist-es/pagination/Interfaces.js.map +0 -1
  344. package/dist-es/pagination/ListDevicePositionsPaginator.js.map +0 -1
  345. package/dist-es/pagination/ListGeofenceCollectionsPaginator.js.map +0 -1
  346. package/dist-es/pagination/ListGeofencesPaginator.js.map +0 -1
  347. package/dist-es/pagination/ListMapsPaginator.js.map +0 -1
  348. package/dist-es/pagination/ListPlaceIndexesPaginator.js.map +0 -1
  349. package/dist-es/pagination/ListRouteCalculatorsPaginator.js.map +0 -1
  350. package/dist-es/pagination/ListTrackerConsumersPaginator.js.map +0 -1
  351. package/dist-es/pagination/ListTrackersPaginator.js.map +0 -1
  352. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  353. package/dist-es/runtimeConfig.browser.js.map +0 -1
  354. package/dist-es/runtimeConfig.js.map +0 -1
  355. package/dist-es/runtimeConfig.native.js.map +0 -1
  356. package/dist-es/runtimeConfig.shared.js.map +0 -1
  357. package/jest.config.js +0 -4
  358. package/src/Location.ts +0 -1897
  359. package/src/LocationClient.ts +0 -458
  360. package/src/commands/AssociateTrackerConsumerCommand.ts +0 -101
  361. package/src/commands/BatchDeleteDevicePositionHistoryCommand.ts +0 -103
  362. package/src/commands/BatchDeleteGeofenceCommand.ts +0 -98
  363. package/src/commands/BatchEvaluateGeofencesCommand.ts +0 -115
  364. package/src/commands/BatchGetDevicePositionCommand.ts +0 -95
  365. package/src/commands/BatchPutGeofenceCommand.ts +0 -96
  366. package/src/commands/BatchUpdateDevicePositionCommand.ts +0 -104
  367. package/src/commands/CalculateRouteCommand.ts +0 -125
  368. package/src/commands/CreateGeofenceCollectionCommand.ts +0 -95
  369. package/src/commands/CreateMapCommand.ts +0 -96
  370. package/src/commands/CreatePlaceIndexCommand.ts +0 -96
  371. package/src/commands/CreateRouteCalculatorCommand.ts +0 -98
  372. package/src/commands/CreateTrackerCommand.ts +0 -96
  373. package/src/commands/DeleteGeofenceCollectionCommand.ts +0 -99
  374. package/src/commands/DeleteMapCommand.ts +0 -99
  375. package/src/commands/DeletePlaceIndexCommand.ts +0 -98
  376. package/src/commands/DeleteRouteCalculatorCommand.ts +0 -98
  377. package/src/commands/DeleteTrackerCommand.ts +0 -100
  378. package/src/commands/DescribeGeofenceCollectionCommand.ts +0 -98
  379. package/src/commands/DescribeMapCommand.ts +0 -95
  380. package/src/commands/DescribePlaceIndexCommand.ts +0 -95
  381. package/src/commands/DescribeRouteCalculatorCommand.ts +0 -95
  382. package/src/commands/DescribeTrackerCommand.ts +0 -95
  383. package/src/commands/DisassociateTrackerConsumerCommand.ts +0 -104
  384. package/src/commands/GetDevicePositionCommand.ts +0 -98
  385. package/src/commands/GetDevicePositionHistoryCommand.ts +0 -99
  386. package/src/commands/GetGeofenceCommand.ts +0 -95
  387. package/src/commands/GetMapGlyphsCommand.ts +0 -95
  388. package/src/commands/GetMapSpritesCommand.ts +0 -97
  389. package/src/commands/GetMapStyleDescriptorCommand.ts +0 -98
  390. package/src/commands/GetMapTileCommand.ts +0 -100
  391. package/src/commands/ListDevicePositionsCommand.ts +0 -95
  392. package/src/commands/ListGeofenceCollectionsCommand.ts +0 -95
  393. package/src/commands/ListGeofencesCommand.ts +0 -95
  394. package/src/commands/ListMapsCommand.ts +0 -95
  395. package/src/commands/ListPlaceIndexesCommand.ts +0 -95
  396. package/src/commands/ListRouteCalculatorsCommand.ts +0 -95
  397. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  398. package/src/commands/ListTrackerConsumersCommand.ts +0 -95
  399. package/src/commands/ListTrackersCommand.ts +0 -95
  400. package/src/commands/PutGeofenceCommand.ts +0 -96
  401. package/src/commands/SearchPlaceIndexForPositionCommand.ts +0 -101
  402. package/src/commands/SearchPlaceIndexForTextCommand.ts +0 -103
  403. package/src/commands/TagResourceCommand.ts +0 -108
  404. package/src/commands/UntagResourceCommand.ts +0 -95
  405. package/src/commands/UpdateGeofenceCollectionCommand.ts +0 -95
  406. package/src/commands/UpdateMapCommand.ts +0 -95
  407. package/src/commands/UpdatePlaceIndexCommand.ts +0 -95
  408. package/src/commands/UpdateRouteCalculatorCommand.ts +0 -95
  409. package/src/commands/UpdateTrackerCommand.ts +0 -95
  410. package/src/endpoints.ts +0 -57
  411. package/src/index.ts +0 -63
  412. package/src/models/index.ts +0 -1
  413. package/src/models/models_0.ts +0 -5096
  414. package/src/pagination/GetDevicePositionHistoryPaginator.ts +0 -58
  415. package/src/pagination/Interfaces.ts +0 -8
  416. package/src/pagination/ListDevicePositionsPaginator.ts +0 -59
  417. package/src/pagination/ListGeofenceCollectionsPaginator.ts +0 -59
  418. package/src/pagination/ListGeofencesPaginator.ts +0 -58
  419. package/src/pagination/ListMapsPaginator.ts +0 -55
  420. package/src/pagination/ListPlaceIndexesPaginator.ts +0 -59
  421. package/src/pagination/ListRouteCalculatorsPaginator.ts +0 -59
  422. package/src/pagination/ListTrackerConsumersPaginator.ts +0 -59
  423. package/src/pagination/ListTrackersPaginator.ts +0 -59
  424. package/src/protocols/Aws_restJson1.ts +0 -8120
  425. package/src/runtimeConfig.browser.ts +0 -41
  426. package/src/runtimeConfig.native.ts +0 -17
  427. package/src/runtimeConfig.shared.ts +0 -17
  428. package/src/runtimeConfig.ts +0 -46
  429. package/tsconfig.es.json +0 -10
  430. package/tsconfig.json +0 -33
  431. package/tsconfig.types.json +0 -9
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
15
- import { DescribeTrackerRequest, DescribeTrackerResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DescribeTrackerCommand,
18
- serializeAws_restJson1DescribeTrackerCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DescribeTrackerCommandInput extends DescribeTrackerRequest {}
22
- export interface DescribeTrackerCommandOutput extends DescribeTrackerResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieves the tracker resource details.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { LocationClient, DescribeTrackerCommand } from "@aws-sdk/client-location"; // ES Modules import
30
- * // const { LocationClient, DescribeTrackerCommand } = require("@aws-sdk/client-location"); // CommonJS import
31
- * const client = new LocationClient(config);
32
- * const command = new DescribeTrackerCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeTrackerCommandInput} for command's `input` shape.
37
- * @see {@link DescribeTrackerCommandOutput} for command's `response` shape.
38
- * @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeTrackerCommand extends $Command<
42
- DescribeTrackerCommandInput,
43
- DescribeTrackerCommandOutput,
44
- LocationClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeTrackerCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: LocationClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DescribeTrackerCommandInput, DescribeTrackerCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "LocationClient";
69
- const commandName = "DescribeTrackerCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeTrackerRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeTrackerResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: DescribeTrackerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1DescribeTrackerCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeTrackerCommandOutput> {
90
- return deserializeAws_restJson1DescribeTrackerCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,104 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
15
- import { DisassociateTrackerConsumerRequest, DisassociateTrackerConsumerResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DisassociateTrackerConsumerCommand,
18
- serializeAws_restJson1DisassociateTrackerConsumerCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DisassociateTrackerConsumerCommandInput extends DisassociateTrackerConsumerRequest {}
22
- export interface DisassociateTrackerConsumerCommandOutput
23
- extends DisassociateTrackerConsumerResponse,
24
- __MetadataBearer {}
25
-
26
- /**
27
- * <p>Removes the association between a tracker resource and a geofence collection.</p>
28
- * <note>
29
- * <p>Once you unlink a tracker resource from a geofence collection, the tracker
30
- * positions will no longer be automatically evaluated against geofences.</p>
31
- * </note>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { LocationClient, DisassociateTrackerConsumerCommand } from "@aws-sdk/client-location"; // ES Modules import
36
- * // const { LocationClient, DisassociateTrackerConsumerCommand } = require("@aws-sdk/client-location"); // CommonJS import
37
- * const client = new LocationClient(config);
38
- * const command = new DisassociateTrackerConsumerCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link DisassociateTrackerConsumerCommandInput} for command's `input` shape.
43
- * @see {@link DisassociateTrackerConsumerCommandOutput} for command's `response` shape.
44
- * @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
- export class DisassociateTrackerConsumerCommand extends $Command<
48
- DisassociateTrackerConsumerCommandInput,
49
- DisassociateTrackerConsumerCommandOutput,
50
- LocationClientResolvedConfig
51
- > {
52
- // Start section: command_properties
53
- // End section: command_properties
54
-
55
- constructor(readonly input: DisassociateTrackerConsumerCommandInput) {
56
- // Start section: command_constructor
57
- super();
58
- // End section: command_constructor
59
- }
60
-
61
- /**
62
- * @internal
63
- */
64
- resolveMiddleware(
65
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
66
- configuration: LocationClientResolvedConfig,
67
- options?: __HttpHandlerOptions
68
- ): Handler<DisassociateTrackerConsumerCommandInput, DisassociateTrackerConsumerCommandOutput> {
69
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
70
-
71
- const stack = clientStack.concat(this.middlewareStack);
72
-
73
- const { logger } = configuration;
74
- const clientName = "LocationClient";
75
- const commandName = "DisassociateTrackerConsumerCommand";
76
- const handlerExecutionContext: HandlerExecutionContext = {
77
- logger,
78
- clientName,
79
- commandName,
80
- inputFilterSensitiveLog: DisassociateTrackerConsumerRequest.filterSensitiveLog,
81
- outputFilterSensitiveLog: DisassociateTrackerConsumerResponse.filterSensitiveLog,
82
- };
83
- const { requestHandler } = configuration;
84
- return stack.resolve(
85
- (request: FinalizeHandlerArguments<any>) =>
86
- requestHandler.handle(request.request as __HttpRequest, options || {}),
87
- handlerExecutionContext
88
- );
89
- }
90
-
91
- private serialize(input: DisassociateTrackerConsumerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
92
- return serializeAws_restJson1DisassociateTrackerConsumerCommand(input, context);
93
- }
94
-
95
- private deserialize(
96
- output: __HttpResponse,
97
- context: __SerdeContext
98
- ): Promise<DisassociateTrackerConsumerCommandOutput> {
99
- return deserializeAws_restJson1DisassociateTrackerConsumerCommand(output, context);
100
- }
101
-
102
- // Start section: command_body_extra
103
- // End section: command_body_extra
104
- }
@@ -1,98 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
15
- import { GetDevicePositionRequest, GetDevicePositionResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1GetDevicePositionCommand,
18
- serializeAws_restJson1GetDevicePositionCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface GetDevicePositionCommandInput extends GetDevicePositionRequest {}
22
- export interface GetDevicePositionCommandOutput extends GetDevicePositionResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieves a device's most recent position according to its sample time.</p>
26
- * <note>
27
- * <p>Device positions are deleted after 30 days.</p>
28
- * </note>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { LocationClient, GetDevicePositionCommand } from "@aws-sdk/client-location"; // ES Modules import
33
- * // const { LocationClient, GetDevicePositionCommand } = require("@aws-sdk/client-location"); // CommonJS import
34
- * const client = new LocationClient(config);
35
- * const command = new GetDevicePositionCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link GetDevicePositionCommandInput} for command's `input` shape.
40
- * @see {@link GetDevicePositionCommandOutput} for command's `response` shape.
41
- * @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class GetDevicePositionCommand extends $Command<
45
- GetDevicePositionCommandInput,
46
- GetDevicePositionCommandOutput,
47
- LocationClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: GetDevicePositionCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: LocationClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<GetDevicePositionCommandInput, GetDevicePositionCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "LocationClient";
72
- const commandName = "GetDevicePositionCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: GetDevicePositionRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: GetDevicePositionResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: GetDevicePositionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_restJson1GetDevicePositionCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetDevicePositionCommandOutput> {
93
- return deserializeAws_restJson1GetDevicePositionCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,99 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
15
- import { GetDevicePositionHistoryRequest, GetDevicePositionHistoryResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1GetDevicePositionHistoryCommand,
18
- serializeAws_restJson1GetDevicePositionHistoryCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface GetDevicePositionHistoryCommandInput extends GetDevicePositionHistoryRequest {}
22
- export interface GetDevicePositionHistoryCommandOutput extends GetDevicePositionHistoryResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieves the device position history from a tracker resource within a specified range
26
- * of time.</p>
27
- * <note>
28
- * <p>Device positions are deleted after 30 days.</p>
29
- * </note>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { LocationClient, GetDevicePositionHistoryCommand } from "@aws-sdk/client-location"; // ES Modules import
34
- * // const { LocationClient, GetDevicePositionHistoryCommand } = require("@aws-sdk/client-location"); // CommonJS import
35
- * const client = new LocationClient(config);
36
- * const command = new GetDevicePositionHistoryCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link GetDevicePositionHistoryCommandInput} for command's `input` shape.
41
- * @see {@link GetDevicePositionHistoryCommandOutput} for command's `response` shape.
42
- * @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class GetDevicePositionHistoryCommand extends $Command<
46
- GetDevicePositionHistoryCommandInput,
47
- GetDevicePositionHistoryCommandOutput,
48
- LocationClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: GetDevicePositionHistoryCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: LocationClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<GetDevicePositionHistoryCommandInput, GetDevicePositionHistoryCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "LocationClient";
73
- const commandName = "GetDevicePositionHistoryCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: GetDevicePositionHistoryRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: GetDevicePositionHistoryResponse.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: GetDevicePositionHistoryCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_restJson1GetDevicePositionHistoryCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetDevicePositionHistoryCommandOutput> {
94
- return deserializeAws_restJson1GetDevicePositionHistoryCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
15
- import { GetGeofenceRequest, GetGeofenceResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1GetGeofenceCommand,
18
- serializeAws_restJson1GetGeofenceCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface GetGeofenceCommandInput extends GetGeofenceRequest {}
22
- export interface GetGeofenceCommandOutput extends GetGeofenceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieves the geofence details from a geofence collection.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { LocationClient, GetGeofenceCommand } from "@aws-sdk/client-location"; // ES Modules import
30
- * // const { LocationClient, GetGeofenceCommand } = require("@aws-sdk/client-location"); // CommonJS import
31
- * const client = new LocationClient(config);
32
- * const command = new GetGeofenceCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetGeofenceCommandInput} for command's `input` shape.
37
- * @see {@link GetGeofenceCommandOutput} for command's `response` shape.
38
- * @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GetGeofenceCommand extends $Command<
42
- GetGeofenceCommandInput,
43
- GetGeofenceCommandOutput,
44
- LocationClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: GetGeofenceCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: LocationClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<GetGeofenceCommandInput, GetGeofenceCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "LocationClient";
69
- const commandName = "GetGeofenceCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: GetGeofenceRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: GetGeofenceResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: GetGeofenceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1GetGeofenceCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetGeofenceCommandOutput> {
90
- return deserializeAws_restJson1GetGeofenceCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
15
- import { GetMapGlyphsRequest, GetMapGlyphsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1GetMapGlyphsCommand,
18
- serializeAws_restJson1GetMapGlyphsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface GetMapGlyphsCommandInput extends GetMapGlyphsRequest {}
22
- export interface GetMapGlyphsCommandOutput extends GetMapGlyphsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieves glyphs used to display labels on a map.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { LocationClient, GetMapGlyphsCommand } from "@aws-sdk/client-location"; // ES Modules import
30
- * // const { LocationClient, GetMapGlyphsCommand } = require("@aws-sdk/client-location"); // CommonJS import
31
- * const client = new LocationClient(config);
32
- * const command = new GetMapGlyphsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetMapGlyphsCommandInput} for command's `input` shape.
37
- * @see {@link GetMapGlyphsCommandOutput} for command's `response` shape.
38
- * @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GetMapGlyphsCommand extends $Command<
42
- GetMapGlyphsCommandInput,
43
- GetMapGlyphsCommandOutput,
44
- LocationClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: GetMapGlyphsCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: LocationClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<GetMapGlyphsCommandInput, GetMapGlyphsCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "LocationClient";
69
- const commandName = "GetMapGlyphsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: GetMapGlyphsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: GetMapGlyphsResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: GetMapGlyphsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1GetMapGlyphsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetMapGlyphsCommandOutput> {
90
- return deserializeAws_restJson1GetMapGlyphsCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,97 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
15
- import { GetMapSpritesRequest, GetMapSpritesResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1GetMapSpritesCommand,
18
- serializeAws_restJson1GetMapSpritesCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface GetMapSpritesCommandInput extends GetMapSpritesRequest {}
22
- export interface GetMapSpritesCommandOutput extends GetMapSpritesResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieves the sprite sheet corresponding to a map resource. The sprite sheet is a PNG
26
- * image paired with a JSON document describing the offsets of individual icons that will
27
- * be displayed on a rendered map.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { LocationClient, GetMapSpritesCommand } from "@aws-sdk/client-location"; // ES Modules import
32
- * // const { LocationClient, GetMapSpritesCommand } = require("@aws-sdk/client-location"); // CommonJS import
33
- * const client = new LocationClient(config);
34
- * const command = new GetMapSpritesCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link GetMapSpritesCommandInput} for command's `input` shape.
39
- * @see {@link GetMapSpritesCommandOutput} for command's `response` shape.
40
- * @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class GetMapSpritesCommand extends $Command<
44
- GetMapSpritesCommandInput,
45
- GetMapSpritesCommandOutput,
46
- LocationClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: GetMapSpritesCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: LocationClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<GetMapSpritesCommandInput, GetMapSpritesCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "LocationClient";
71
- const commandName = "GetMapSpritesCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: GetMapSpritesRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: GetMapSpritesResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: GetMapSpritesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_restJson1GetMapSpritesCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetMapSpritesCommandOutput> {
92
- return deserializeAws_restJson1GetMapSpritesCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }