@aws-sdk/client-location 3.53.0 → 3.55.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 (80) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/LocationClient.js +13 -13
  3. package/dist-cjs/commands/AssociateTrackerConsumerCommand.js +3 -3
  4. package/dist-cjs/commands/BatchDeleteDevicePositionHistoryCommand.js +3 -3
  5. package/dist-cjs/commands/BatchDeleteGeofenceCommand.js +3 -3
  6. package/dist-cjs/commands/BatchEvaluateGeofencesCommand.js +3 -3
  7. package/dist-cjs/commands/BatchGetDevicePositionCommand.js +3 -3
  8. package/dist-cjs/commands/BatchPutGeofenceCommand.js +3 -3
  9. package/dist-cjs/commands/BatchUpdateDevicePositionCommand.js +3 -3
  10. package/dist-cjs/commands/CalculateRouteCommand.js +3 -3
  11. package/dist-cjs/commands/CalculateRouteMatrixCommand.js +3 -3
  12. package/dist-cjs/commands/CreateGeofenceCollectionCommand.js +3 -3
  13. package/dist-cjs/commands/CreateMapCommand.js +3 -3
  14. package/dist-cjs/commands/CreatePlaceIndexCommand.js +3 -3
  15. package/dist-cjs/commands/CreateRouteCalculatorCommand.js +3 -3
  16. package/dist-cjs/commands/CreateTrackerCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteGeofenceCollectionCommand.js +3 -3
  18. package/dist-cjs/commands/DeleteMapCommand.js +3 -3
  19. package/dist-cjs/commands/DeletePlaceIndexCommand.js +3 -3
  20. package/dist-cjs/commands/DeleteRouteCalculatorCommand.js +3 -3
  21. package/dist-cjs/commands/DeleteTrackerCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeGeofenceCollectionCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeMapCommand.js +3 -3
  24. package/dist-cjs/commands/DescribePlaceIndexCommand.js +3 -3
  25. package/dist-cjs/commands/DescribeRouteCalculatorCommand.js +3 -3
  26. package/dist-cjs/commands/DescribeTrackerCommand.js +3 -3
  27. package/dist-cjs/commands/DisassociateTrackerConsumerCommand.js +3 -3
  28. package/dist-cjs/commands/GetDevicePositionCommand.js +3 -3
  29. package/dist-cjs/commands/GetDevicePositionHistoryCommand.js +3 -3
  30. package/dist-cjs/commands/GetGeofenceCommand.js +3 -3
  31. package/dist-cjs/commands/GetMapGlyphsCommand.js +3 -3
  32. package/dist-cjs/commands/GetMapSpritesCommand.js +3 -3
  33. package/dist-cjs/commands/GetMapStyleDescriptorCommand.js +3 -3
  34. package/dist-cjs/commands/GetMapTileCommand.js +3 -3
  35. package/dist-cjs/commands/ListDevicePositionsCommand.js +3 -3
  36. package/dist-cjs/commands/ListGeofenceCollectionsCommand.js +3 -3
  37. package/dist-cjs/commands/ListGeofencesCommand.js +3 -3
  38. package/dist-cjs/commands/ListMapsCommand.js +3 -3
  39. package/dist-cjs/commands/ListPlaceIndexesCommand.js +3 -3
  40. package/dist-cjs/commands/ListRouteCalculatorsCommand.js +3 -3
  41. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  42. package/dist-cjs/commands/ListTrackerConsumersCommand.js +3 -3
  43. package/dist-cjs/commands/ListTrackersCommand.js +3 -3
  44. package/dist-cjs/commands/PutGeofenceCommand.js +3 -3
  45. package/dist-cjs/commands/SearchPlaceIndexForPositionCommand.js +3 -3
  46. package/dist-cjs/commands/SearchPlaceIndexForSuggestionsCommand.js +3 -3
  47. package/dist-cjs/commands/SearchPlaceIndexForTextCommand.js +3 -3
  48. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  49. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  50. package/dist-cjs/commands/UpdateGeofenceCollectionCommand.js +3 -3
  51. package/dist-cjs/commands/UpdateMapCommand.js +3 -3
  52. package/dist-cjs/commands/UpdatePlaceIndexCommand.js +3 -3
  53. package/dist-cjs/commands/UpdateRouteCalculatorCommand.js +3 -3
  54. package/dist-cjs/commands/UpdateTrackerCommand.js +3 -3
  55. package/dist-cjs/endpoints.js +1 -1
  56. package/dist-cjs/protocols/Aws_restJson1.js +412 -412
  57. package/dist-cjs/runtimeConfig.browser.js +4 -4
  58. package/dist-cjs/runtimeConfig.js +9 -9
  59. package/dist-cjs/runtimeConfig.native.js +1 -1
  60. package/dist-es/Location.js +52 -52
  61. package/dist-es/pagination/GetDevicePositionHistoryPaginator.js +4 -4
  62. package/dist-es/pagination/ListDevicePositionsPaginator.js +4 -4
  63. package/dist-es/pagination/ListGeofenceCollectionsPaginator.js +4 -4
  64. package/dist-es/pagination/ListGeofencesPaginator.js +4 -4
  65. package/dist-es/pagination/ListMapsPaginator.js +4 -4
  66. package/dist-es/pagination/ListPlaceIndexesPaginator.js +4 -4
  67. package/dist-es/pagination/ListRouteCalculatorsPaginator.js +4 -4
  68. package/dist-es/pagination/ListTrackerConsumersPaginator.js +4 -4
  69. package/dist-es/pagination/ListTrackersPaginator.js +4 -4
  70. package/dist-es/protocols/Aws_restJson1.js +52 -52
  71. package/dist-types/LocationClient.d.ts +2 -2
  72. package/dist-types/models/models_0.d.ts +27 -13
  73. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  74. package/dist-types/runtimeConfig.d.ts +1 -1
  75. package/dist-types/runtimeConfig.native.d.ts +3 -3
  76. package/dist-types/ts3.4/LocationClient.d.ts +2 -2
  77. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  78. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  79. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  80. package/package.json +34 -34
@@ -11,7 +11,7 @@ class UpdateTrackerCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "LocationClient";
@@ -27,10 +27,10 @@ class UpdateTrackerCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1UpdateTrackerCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateTrackerCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1UpdateTrackerCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateTrackerCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateTrackerCommand = UpdateTrackerCommand;
@@ -122,7 +122,7 @@ const partitionHash = {
122
122
  ],
123
123
  },
124
124
  };
125
- const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
125
+ const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
126
126
  ...options,
127
127
  signingService: "geo",
128
128
  regionHash,