@aws-sdk/client-location 3.36.0 → 3.39.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 (140) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/Location.js +0 -3
  3. package/dist-cjs/LocationClient.js +0 -8
  4. package/dist-cjs/commands/AssociateTrackerConsumerCommand.js +0 -30
  5. package/dist-cjs/commands/BatchDeleteDevicePositionHistoryCommand.js +0 -24
  6. package/dist-cjs/commands/BatchDeleteGeofenceCommand.js +0 -27
  7. package/dist-cjs/commands/BatchEvaluateGeofencesCommand.js +0 -44
  8. package/dist-cjs/commands/BatchGetDevicePositionCommand.js +0 -24
  9. package/dist-cjs/commands/BatchPutGeofenceCommand.js +0 -25
  10. package/dist-cjs/commands/BatchUpdateDevicePositionCommand.js +0 -34
  11. package/dist-cjs/commands/CalculateRouteCommand.js +0 -54
  12. package/dist-cjs/commands/CreateGeofenceCollectionCommand.js +0 -24
  13. package/dist-cjs/commands/CreateMapCommand.js +0 -25
  14. package/dist-cjs/commands/CreatePlaceIndexCommand.js +0 -25
  15. package/dist-cjs/commands/CreateRouteCalculatorCommand.js +0 -27
  16. package/dist-cjs/commands/CreateTrackerCommand.js +0 -25
  17. package/dist-cjs/commands/DeleteGeofenceCollectionCommand.js +0 -28
  18. package/dist-cjs/commands/DeleteMapCommand.js +0 -28
  19. package/dist-cjs/commands/DeletePlaceIndexCommand.js +0 -27
  20. package/dist-cjs/commands/DeleteRouteCalculatorCommand.js +0 -27
  21. package/dist-cjs/commands/DeleteTrackerCommand.js +0 -29
  22. package/dist-cjs/commands/DescribeGeofenceCollectionCommand.js +0 -24
  23. package/dist-cjs/commands/DescribeMapCommand.js +0 -24
  24. package/dist-cjs/commands/DescribePlaceIndexCommand.js +0 -24
  25. package/dist-cjs/commands/DescribeRouteCalculatorCommand.js +0 -24
  26. package/dist-cjs/commands/DescribeTrackerCommand.js +0 -24
  27. package/dist-cjs/commands/DisassociateTrackerConsumerCommand.js +0 -28
  28. package/dist-cjs/commands/GetDevicePositionCommand.js +0 -27
  29. package/dist-cjs/commands/GetDevicePositionHistoryCommand.js +0 -28
  30. package/dist-cjs/commands/GetGeofenceCommand.js +0 -24
  31. package/dist-cjs/commands/GetMapGlyphsCommand.js +0 -24
  32. package/dist-cjs/commands/GetMapSpritesCommand.js +0 -26
  33. package/dist-cjs/commands/GetMapStyleDescriptorCommand.js +0 -27
  34. package/dist-cjs/commands/GetMapTileCommand.js +0 -29
  35. package/dist-cjs/commands/ListDevicePositionsCommand.js +0 -24
  36. package/dist-cjs/commands/ListGeofenceCollectionsCommand.js +0 -24
  37. package/dist-cjs/commands/ListGeofencesCommand.js +0 -24
  38. package/dist-cjs/commands/ListMapsCommand.js +0 -24
  39. package/dist-cjs/commands/ListPlaceIndexesCommand.js +0 -24
  40. package/dist-cjs/commands/ListRouteCalculatorsCommand.js +0 -24
  41. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
  42. package/dist-cjs/commands/ListTrackerConsumersCommand.js +0 -24
  43. package/dist-cjs/commands/ListTrackersCommand.js +0 -24
  44. package/dist-cjs/commands/PutGeofenceCommand.js +0 -25
  45. package/dist-cjs/commands/SearchPlaceIndexForPositionCommand.js +0 -25
  46. package/dist-cjs/commands/SearchPlaceIndexForTextCommand.js +0 -32
  47. package/dist-cjs/commands/TagResourceCommand.js +0 -37
  48. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  49. package/dist-cjs/commands/UpdateGeofenceCollectionCommand.js +0 -24
  50. package/dist-cjs/commands/UpdateMapCommand.js +0 -24
  51. package/dist-cjs/commands/UpdatePlaceIndexCommand.js +0 -24
  52. package/dist-cjs/commands/UpdateRouteCalculatorCommand.js +0 -24
  53. package/dist-cjs/commands/UpdateTrackerCommand.js +0 -24
  54. package/dist-cjs/commands/index.js +53 -0
  55. package/dist-cjs/endpoints.js +6 -1
  56. package/dist-cjs/index.js +4 -62
  57. package/dist-cjs/models/models_0.js +0 -429
  58. package/dist-cjs/pagination/GetDevicePositionHistoryPaginator.js +0 -10
  59. package/dist-cjs/pagination/ListDevicePositionsPaginator.js +0 -10
  60. package/dist-cjs/pagination/ListGeofenceCollectionsPaginator.js +0 -10
  61. package/dist-cjs/pagination/ListGeofencesPaginator.js +0 -10
  62. package/dist-cjs/pagination/ListMapsPaginator.js +0 -10
  63. package/dist-cjs/pagination/ListPlaceIndexesPaginator.js +0 -10
  64. package/dist-cjs/pagination/ListRouteCalculatorsPaginator.js +0 -10
  65. package/dist-cjs/pagination/ListTrackerConsumersPaginator.js +0 -10
  66. package/dist-cjs/pagination/ListTrackersPaginator.js +0 -10
  67. package/dist-cjs/pagination/index.js +13 -0
  68. package/dist-cjs/protocols/Aws_restJson1.js +0 -5
  69. package/dist-cjs/runtimeConfig.browser.js +1 -5
  70. package/dist-cjs/runtimeConfig.js +1 -5
  71. package/dist-cjs/runtimeConfig.native.js +0 -3
  72. package/dist-cjs/runtimeConfig.shared.js +0 -3
  73. package/dist-es/commands/index.js +50 -0
  74. package/dist-es/endpoints.js +6 -1
  75. package/dist-es/index.js +4 -62
  76. package/dist-es/pagination/index.js +10 -0
  77. package/dist-types/commands/index.d.ts +50 -0
  78. package/dist-types/index.d.ts +4 -62
  79. package/dist-types/pagination/index.d.ts +10 -0
  80. package/dist-types/ts3.4/Location.d.ts +51 -292
  81. package/dist-types/ts3.4/LocationClient.d.ts +24 -89
  82. package/dist-types/ts3.4/commands/AssociateTrackerConsumerCommand.d.ts +2 -26
  83. package/dist-types/ts3.4/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +2 -20
  84. package/dist-types/ts3.4/commands/BatchDeleteGeofenceCommand.d.ts +2 -23
  85. package/dist-types/ts3.4/commands/BatchEvaluateGeofencesCommand.d.ts +2 -40
  86. package/dist-types/ts3.4/commands/BatchGetDevicePositionCommand.d.ts +2 -20
  87. package/dist-types/ts3.4/commands/BatchPutGeofenceCommand.d.ts +2 -21
  88. package/dist-types/ts3.4/commands/BatchUpdateDevicePositionCommand.d.ts +2 -30
  89. package/dist-types/ts3.4/commands/CalculateRouteCommand.d.ts +2 -50
  90. package/dist-types/ts3.4/commands/CreateGeofenceCollectionCommand.d.ts +2 -20
  91. package/dist-types/ts3.4/commands/CreateMapCommand.d.ts +2 -21
  92. package/dist-types/ts3.4/commands/CreatePlaceIndexCommand.d.ts +2 -21
  93. package/dist-types/ts3.4/commands/CreateRouteCalculatorCommand.d.ts +2 -23
  94. package/dist-types/ts3.4/commands/CreateTrackerCommand.d.ts +2 -21
  95. package/dist-types/ts3.4/commands/DeleteGeofenceCollectionCommand.d.ts +2 -24
  96. package/dist-types/ts3.4/commands/DeleteMapCommand.d.ts +2 -24
  97. package/dist-types/ts3.4/commands/DeletePlaceIndexCommand.d.ts +2 -23
  98. package/dist-types/ts3.4/commands/DeleteRouteCalculatorCommand.d.ts +2 -23
  99. package/dist-types/ts3.4/commands/DeleteTrackerCommand.d.ts +2 -25
  100. package/dist-types/ts3.4/commands/DescribeGeofenceCollectionCommand.d.ts +2 -20
  101. package/dist-types/ts3.4/commands/DescribeMapCommand.d.ts +2 -20
  102. package/dist-types/ts3.4/commands/DescribePlaceIndexCommand.d.ts +2 -20
  103. package/dist-types/ts3.4/commands/DescribeRouteCalculatorCommand.d.ts +2 -20
  104. package/dist-types/ts3.4/commands/DescribeTrackerCommand.d.ts +2 -20
  105. package/dist-types/ts3.4/commands/DisassociateTrackerConsumerCommand.d.ts +2 -24
  106. package/dist-types/ts3.4/commands/GetDevicePositionCommand.d.ts +2 -23
  107. package/dist-types/ts3.4/commands/GetDevicePositionHistoryCommand.d.ts +2 -24
  108. package/dist-types/ts3.4/commands/GetGeofenceCommand.d.ts +2 -20
  109. package/dist-types/ts3.4/commands/GetMapGlyphsCommand.d.ts +2 -20
  110. package/dist-types/ts3.4/commands/GetMapSpritesCommand.d.ts +2 -22
  111. package/dist-types/ts3.4/commands/GetMapStyleDescriptorCommand.d.ts +2 -23
  112. package/dist-types/ts3.4/commands/GetMapTileCommand.d.ts +2 -25
  113. package/dist-types/ts3.4/commands/ListDevicePositionsCommand.d.ts +2 -20
  114. package/dist-types/ts3.4/commands/ListGeofenceCollectionsCommand.d.ts +2 -20
  115. package/dist-types/ts3.4/commands/ListGeofencesCommand.d.ts +2 -20
  116. package/dist-types/ts3.4/commands/ListMapsCommand.d.ts +2 -20
  117. package/dist-types/ts3.4/commands/ListPlaceIndexesCommand.d.ts +2 -20
  118. package/dist-types/ts3.4/commands/ListRouteCalculatorsCommand.d.ts +2 -20
  119. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  120. package/dist-types/ts3.4/commands/ListTrackerConsumersCommand.d.ts +2 -20
  121. package/dist-types/ts3.4/commands/ListTrackersCommand.d.ts +2 -20
  122. package/dist-types/ts3.4/commands/PutGeofenceCommand.d.ts +2 -21
  123. package/dist-types/ts3.4/commands/SearchPlaceIndexForPositionCommand.d.ts +2 -21
  124. package/dist-types/ts3.4/commands/SearchPlaceIndexForTextCommand.d.ts +2 -28
  125. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -33
  126. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  127. package/dist-types/ts3.4/commands/UpdateGeofenceCollectionCommand.d.ts +2 -20
  128. package/dist-types/ts3.4/commands/UpdateMapCommand.d.ts +2 -20
  129. package/dist-types/ts3.4/commands/UpdatePlaceIndexCommand.d.ts +2 -20
  130. package/dist-types/ts3.4/commands/UpdateRouteCalculatorCommand.d.ts +2 -20
  131. package/dist-types/ts3.4/commands/UpdateTrackerCommand.d.ts +2 -20
  132. package/dist-types/ts3.4/commands/index.d.ts +50 -0
  133. package/dist-types/ts3.4/index.d.ts +4 -62
  134. package/dist-types/ts3.4/models/models_0.d.ts +580 -3098
  135. package/dist-types/ts3.4/pagination/index.d.ts +10 -0
  136. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  137. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  138. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  139. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  140. package/package.json +32 -32
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Retrieves a vector data tile from the map resource. Map tiles are used by clients to
10
- * render a map. they're addressed using a grid arrangement with an X coordinate, Y
11
- * coordinate, and Z (zoom) level. </p>
12
- * <p>The origin (0, 0) is the top left of the map. Increasing the zoom level by 1 doubles
13
- * both the X and Y dimensions, so a tile containing data for the entire world at (0/0/0)
14
- * will be split into 4 tiles at zoom 1 (1/0/0, 1/0/1, 1/1/0, 1/1/1).</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { LocationClient, GetMapTileCommand } from "@aws-sdk/client-location"; // ES Modules import
19
- * // const { LocationClient, GetMapTileCommand } = require("@aws-sdk/client-location"); // CommonJS import
20
- * const client = new LocationClient(config);
21
- * const command = new GetMapTileCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link GetMapTileCommandInput} for command's `input` shape.
26
- * @see {@link GetMapTileCommandOutput} for command's `response` shape.
27
- * @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class GetMapTileCommand extends smithy_client_1.Command {
31
- // Start section: command_properties
32
- // End section: command_properties
33
9
  constructor(input) {
34
- // Start section: command_constructor
35
10
  super();
36
11
  this.input = input;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  resolveMiddleware(clientStack, configuration, options) {
43
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>A batch request to retrieve all device positions.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { LocationClient, ListDevicePositionsCommand } from "@aws-sdk/client-location"; // ES Modules import
14
- * // const { LocationClient, ListDevicePositionsCommand } = require("@aws-sdk/client-location"); // CommonJS import
15
- * const client = new LocationClient(config);
16
- * const command = new ListDevicePositionsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListDevicePositionsCommandInput} for command's `input` shape.
21
- * @see {@link ListDevicePositionsCommandOutput} for command's `response` shape.
22
- * @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListDevicePositionsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Lists geofence collections in your AWS account.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { LocationClient, ListGeofenceCollectionsCommand } from "@aws-sdk/client-location"; // ES Modules import
14
- * // const { LocationClient, ListGeofenceCollectionsCommand } = require("@aws-sdk/client-location"); // CommonJS import
15
- * const client = new LocationClient(config);
16
- * const command = new ListGeofenceCollectionsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListGeofenceCollectionsCommandInput} for command's `input` shape.
21
- * @see {@link ListGeofenceCollectionsCommandOutput} for command's `response` shape.
22
- * @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListGeofenceCollectionsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Lists geofences stored in a given geofence collection.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { LocationClient, ListGeofencesCommand } from "@aws-sdk/client-location"; // ES Modules import
14
- * // const { LocationClient, ListGeofencesCommand } = require("@aws-sdk/client-location"); // CommonJS import
15
- * const client = new LocationClient(config);
16
- * const command = new ListGeofencesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListGeofencesCommandInput} for command's `input` shape.
21
- * @see {@link ListGeofencesCommandOutput} for command's `response` shape.
22
- * @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListGeofencesCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Lists map resources in your AWS account.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { LocationClient, ListMapsCommand } from "@aws-sdk/client-location"; // ES Modules import
14
- * // const { LocationClient, ListMapsCommand } = require("@aws-sdk/client-location"); // CommonJS import
15
- * const client = new LocationClient(config);
16
- * const command = new ListMapsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListMapsCommandInput} for command's `input` shape.
21
- * @see {@link ListMapsCommandOutput} for command's `response` shape.
22
- * @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListMapsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Lists place index resources in your AWS account.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { LocationClient, ListPlaceIndexesCommand } from "@aws-sdk/client-location"; // ES Modules import
14
- * // const { LocationClient, ListPlaceIndexesCommand } = require("@aws-sdk/client-location"); // CommonJS import
15
- * const client = new LocationClient(config);
16
- * const command = new ListPlaceIndexesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListPlaceIndexesCommandInput} for command's `input` shape.
21
- * @see {@link ListPlaceIndexesCommandOutput} for command's `response` shape.
22
- * @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListPlaceIndexesCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Lists route calculator resources in your AWS account.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { LocationClient, ListRouteCalculatorsCommand } from "@aws-sdk/client-location"; // ES Modules import
14
- * // const { LocationClient, ListRouteCalculatorsCommand } = require("@aws-sdk/client-location"); // CommonJS import
15
- * const client = new LocationClient(config);
16
- * const command = new ListRouteCalculatorsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListRouteCalculatorsCommandInput} for command's `input` shape.
21
- * @see {@link ListRouteCalculatorsCommandOutput} for command's `response` shape.
22
- * @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListRouteCalculatorsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Returns a list of tags that are applied to the specified Amazon Location resource.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { LocationClient, ListTagsForResourceCommand } from "@aws-sdk/client-location"; // ES Modules import
14
- * // const { LocationClient, ListTagsForResourceCommand } = require("@aws-sdk/client-location"); // CommonJS import
15
- * const client = new LocationClient(config);
16
- * const command = new ListTagsForResourceCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
21
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
22
- * @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListTagsForResourceCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Lists geofence collections currently associated to the given tracker resource.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { LocationClient, ListTrackerConsumersCommand } from "@aws-sdk/client-location"; // ES Modules import
14
- * // const { LocationClient, ListTrackerConsumersCommand } = require("@aws-sdk/client-location"); // CommonJS import
15
- * const client = new LocationClient(config);
16
- * const command = new ListTrackerConsumersCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListTrackerConsumersCommandInput} for command's `input` shape.
21
- * @see {@link ListTrackerConsumersCommandOutput} for command's `response` shape.
22
- * @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListTrackerConsumersCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Lists tracker resources in your AWS account.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { LocationClient, ListTrackersCommand } from "@aws-sdk/client-location"; // ES Modules import
14
- * // const { LocationClient, ListTrackersCommand } = require("@aws-sdk/client-location"); // CommonJS import
15
- * const client = new LocationClient(config);
16
- * const command = new ListTrackersCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListTrackersCommandInput} for command's `input` shape.
21
- * @see {@link ListTrackersCommandOutput} for command's `response` shape.
22
- * @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListTrackersCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Stores a geofence geometry in a given geofence collection, or updates the geometry of
10
- * an existing geofence if a geofence ID is included in the request. </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { LocationClient, PutGeofenceCommand } from "@aws-sdk/client-location"; // ES Modules import
15
- * // const { LocationClient, PutGeofenceCommand } = require("@aws-sdk/client-location"); // CommonJS import
16
- * const client = new LocationClient(config);
17
- * const command = new PutGeofenceCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link PutGeofenceCommandInput} for command's `input` shape.
22
- * @see {@link PutGeofenceCommandOutput} for command's `response` shape.
23
- * @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class PutGeofenceCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Reverse geocodes a given coordinate and returns a legible address. Allows you to search
10
- * for Places or points of interest near a given position.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { LocationClient, SearchPlaceIndexForPositionCommand } from "@aws-sdk/client-location"; // ES Modules import
15
- * // const { LocationClient, SearchPlaceIndexForPositionCommand } = require("@aws-sdk/client-location"); // CommonJS import
16
- * const client = new LocationClient(config);
17
- * const command = new SearchPlaceIndexForPositionCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link SearchPlaceIndexForPositionCommandInput} for command's `input` shape.
22
- * @see {@link SearchPlaceIndexForPositionCommandOutput} for command's `response` shape.
23
- * @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class SearchPlaceIndexForPositionCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,43 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Geocodes free-form text, such as an address, name, city, or region to allow you to
10
- * search for Places or points of interest. </p>
11
- * <p>Includes the option to apply additional parameters to narrow your list of
12
- * results.</p>
13
- * <note>
14
- * <p>You can search for places near a given position using <code>BiasPosition</code>, or
15
- * filter results within a bounding box using <code>FilterBBox</code>. Providing both
16
- * parameters simultaneously returns an error.</p>
17
- * </note>
18
- * @example
19
- * Use a bare-bones client and the command you need to make an API call.
20
- * ```javascript
21
- * import { LocationClient, SearchPlaceIndexForTextCommand } from "@aws-sdk/client-location"; // ES Modules import
22
- * // const { LocationClient, SearchPlaceIndexForTextCommand } = require("@aws-sdk/client-location"); // CommonJS import
23
- * const client = new LocationClient(config);
24
- * const command = new SearchPlaceIndexForTextCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link SearchPlaceIndexForTextCommandInput} for command's `input` shape.
29
- * @see {@link SearchPlaceIndexForTextCommandOutput} for command's `response` shape.
30
- * @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
33
8
  class SearchPlaceIndexForTextCommand extends smithy_client_1.Command {
34
- // Start section: command_properties
35
- // End section: command_properties
36
9
  constructor(input) {
37
- // Start section: command_constructor
38
10
  super();
39
11
  this.input = input;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  resolveMiddleware(clientStack, configuration, options) {
46
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
47
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,48 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Assigns one or more tags (key-value pairs) to the specified Amazon
10
- * Location Service resource.</p>
11
- *
12
- * <p>Tags can help you organize and categorize your resources.
13
- * You can also use them to scope user permissions, by granting a user
14
- * permission to access or change only resources with certain tag values.</p>
15
- *
16
- * <p>You can use the <code>TagResource</code> operation with an Amazon Location Service
17
- * resource that already has tags. If you specify a new tag key for the resource, this tag
18
- * is appended to the tags already associated with the resource. If you specify a tag key
19
- * that's already associated with the resource, the new tag value that you specify replaces
20
- * the previous value for that tag. </p>
21
- *
22
- * <p>You can associate up to 50 tags with a resource.</p>
23
- * @example
24
- * Use a bare-bones client and the command you need to make an API call.
25
- * ```javascript
26
- * import { LocationClient, TagResourceCommand } from "@aws-sdk/client-location"; // ES Modules import
27
- * // const { LocationClient, TagResourceCommand } = require("@aws-sdk/client-location"); // CommonJS import
28
- * const client = new LocationClient(config);
29
- * const command = new TagResourceCommand(input);
30
- * const response = await client.send(command);
31
- * ```
32
- *
33
- * @see {@link TagResourceCommandInput} for command's `input` shape.
34
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
35
- * @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
36
- *
37
- */
38
8
  class TagResourceCommand extends smithy_client_1.Command {
39
- // Start section: command_properties
40
- // End section: command_properties
41
9
  constructor(input) {
42
- // Start section: command_constructor
43
10
  super();
44
11
  this.input = input;
45
- // End section: command_constructor
46
12
  }
47
- /**
48
- * @internal
49
- */
50
13
  resolveMiddleware(clientStack, configuration, options) {
51
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
52
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Removes one or more tags from the specified Amazon Location resource.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { LocationClient, UntagResourceCommand } from "@aws-sdk/client-location"; // ES Modules import
14
- * // const { LocationClient, UntagResourceCommand } = require("@aws-sdk/client-location"); // CommonJS import
15
- * const client = new LocationClient(config);
16
- * const command = new UntagResourceCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
21
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
22
- * @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class UntagResourceCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Updates the specified properties of a given geofence collection.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { LocationClient, UpdateGeofenceCollectionCommand } from "@aws-sdk/client-location"; // ES Modules import
14
- * // const { LocationClient, UpdateGeofenceCollectionCommand } = require("@aws-sdk/client-location"); // CommonJS import
15
- * const client = new LocationClient(config);
16
- * const command = new UpdateGeofenceCollectionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UpdateGeofenceCollectionCommandInput} for command's `input` shape.
21
- * @see {@link UpdateGeofenceCollectionCommandOutput} for command's `response` shape.
22
- * @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class UpdateGeofenceCollectionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Updates the specified properties of a given map resource.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { LocationClient, UpdateMapCommand } from "@aws-sdk/client-location"; // ES Modules import
14
- * // const { LocationClient, UpdateMapCommand } = require("@aws-sdk/client-location"); // CommonJS import
15
- * const client = new LocationClient(config);
16
- * const command = new UpdateMapCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UpdateMapCommandInput} for command's `input` shape.
21
- * @see {@link UpdateMapCommandOutput} for command's `response` shape.
22
- * @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class UpdateMapCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);