@aws-sdk/client-location 3.186.0 → 3.186.1

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 (78) hide show
  1. package/dist-types/ts3.4/Location.d.ts +626 -905
  2. package/dist-types/ts3.4/LocationClient.d.ts +197 -422
  3. package/dist-types/ts3.4/commands/AssociateTrackerConsumerCommand.d.ts +41 -39
  4. package/dist-types/ts3.4/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +35 -39
  5. package/dist-types/ts3.4/commands/BatchDeleteGeofenceCommand.d.ts +38 -36
  6. package/dist-types/ts3.4/commands/BatchEvaluateGeofencesCommand.d.ts +63 -39
  7. package/dist-types/ts3.4/commands/BatchGetDevicePositionCommand.d.ts +35 -39
  8. package/dist-types/ts3.4/commands/BatchPutGeofenceCommand.d.ts +36 -35
  9. package/dist-types/ts3.4/commands/BatchUpdateDevicePositionCommand.d.ts +53 -39
  10. package/dist-types/ts3.4/commands/CalculateRouteCommand.d.ts +68 -35
  11. package/dist-types/ts3.4/commands/CalculateRouteMatrixCommand.d.ts +76 -39
  12. package/dist-types/ts3.4/commands/CreateGeofenceCollectionCommand.d.ts +35 -39
  13. package/dist-types/ts3.4/commands/CreateMapCommand.d.ts +42 -32
  14. package/dist-types/ts3.4/commands/CreatePlaceIndexCommand.d.ts +45 -35
  15. package/dist-types/ts3.4/commands/CreateRouteCalculatorCommand.d.ts +44 -39
  16. package/dist-types/ts3.4/commands/CreateTrackerCommand.d.ts +36 -35
  17. package/dist-types/ts3.4/commands/DeleteGeofenceCollectionCommand.d.ts +39 -39
  18. package/dist-types/ts3.4/commands/DeleteMapCommand.d.ts +39 -32
  19. package/dist-types/ts3.4/commands/DeletePlaceIndexCommand.d.ts +38 -35
  20. package/dist-types/ts3.4/commands/DeleteRouteCalculatorCommand.d.ts +38 -39
  21. package/dist-types/ts3.4/commands/DeleteTrackerCommand.d.ts +40 -35
  22. package/dist-types/ts3.4/commands/DescribeGeofenceCollectionCommand.d.ts +35 -39
  23. package/dist-types/ts3.4/commands/DescribeMapCommand.d.ts +35 -32
  24. package/dist-types/ts3.4/commands/DescribePlaceIndexCommand.d.ts +35 -36
  25. package/dist-types/ts3.4/commands/DescribeRouteCalculatorCommand.d.ts +35 -39
  26. package/dist-types/ts3.4/commands/DescribeTrackerCommand.d.ts +35 -35
  27. package/dist-types/ts3.4/commands/DisassociateTrackerConsumerCommand.d.ts +39 -39
  28. package/dist-types/ts3.4/commands/GetDevicePositionCommand.d.ts +38 -36
  29. package/dist-types/ts3.4/commands/GetDevicePositionHistoryCommand.d.ts +39 -39
  30. package/dist-types/ts3.4/commands/GetGeofenceCommand.d.ts +35 -32
  31. package/dist-types/ts3.4/commands/GetMapGlyphsCommand.d.ts +35 -32
  32. package/dist-types/ts3.4/commands/GetMapSpritesCommand.d.ts +37 -35
  33. package/dist-types/ts3.4/commands/GetMapStyleDescriptorCommand.d.ts +38 -39
  34. package/dist-types/ts3.4/commands/GetMapTileCommand.d.ts +40 -32
  35. package/dist-types/ts3.4/commands/GetPlaceCommand.d.ts +51 -32
  36. package/dist-types/ts3.4/commands/ListDevicePositionsCommand.d.ts +35 -36
  37. package/dist-types/ts3.4/commands/ListGeofenceCollectionsCommand.d.ts +35 -39
  38. package/dist-types/ts3.4/commands/ListGeofencesCommand.d.ts +35 -35
  39. package/dist-types/ts3.4/commands/ListMapsCommand.d.ts +35 -32
  40. package/dist-types/ts3.4/commands/ListPlaceIndexesCommand.d.ts +35 -35
  41. package/dist-types/ts3.4/commands/ListRouteCalculatorsCommand.d.ts +35 -39
  42. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +35 -36
  43. package/dist-types/ts3.4/commands/ListTrackerConsumersCommand.d.ts +35 -39
  44. package/dist-types/ts3.4/commands/ListTrackersCommand.d.ts +35 -32
  45. package/dist-types/ts3.4/commands/PutGeofenceCommand.d.ts +36 -32
  46. package/dist-types/ts3.4/commands/SearchPlaceIndexForPositionCommand.d.ts +36 -39
  47. package/dist-types/ts3.4/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +46 -39
  48. package/dist-types/ts3.4/commands/SearchPlaceIndexForTextCommand.d.ts +44 -39
  49. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +48 -32
  50. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -35
  51. package/dist-types/ts3.4/commands/UpdateGeofenceCollectionCommand.d.ts +35 -39
  52. package/dist-types/ts3.4/commands/UpdateMapCommand.d.ts +35 -32
  53. package/dist-types/ts3.4/commands/UpdatePlaceIndexCommand.d.ts +35 -35
  54. package/dist-types/ts3.4/commands/UpdateRouteCalculatorCommand.d.ts +35 -39
  55. package/dist-types/ts3.4/commands/UpdateTrackerCommand.d.ts +35 -35
  56. package/dist-types/ts3.4/commands/index.d.ts +53 -53
  57. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  58. package/dist-types/ts3.4/index.d.ts +6 -6
  59. package/dist-types/ts3.4/models/LocationServiceException.d.ts +10 -7
  60. package/dist-types/ts3.4/models/index.d.ts +1 -1
  61. package/dist-types/ts3.4/models/models_0.d.ts +4783 -1283
  62. package/dist-types/ts3.4/pagination/GetDevicePositionHistoryPaginator.d.ts +4 -11
  63. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -7
  64. package/dist-types/ts3.4/pagination/ListDevicePositionsPaginator.d.ts +4 -11
  65. package/dist-types/ts3.4/pagination/ListGeofenceCollectionsPaginator.d.ts +4 -11
  66. package/dist-types/ts3.4/pagination/ListGeofencesPaginator.d.ts +4 -11
  67. package/dist-types/ts3.4/pagination/ListMapsPaginator.d.ts +4 -11
  68. package/dist-types/ts3.4/pagination/ListPlaceIndexesPaginator.d.ts +4 -11
  69. package/dist-types/ts3.4/pagination/ListRouteCalculatorsPaginator.d.ts +4 -11
  70. package/dist-types/ts3.4/pagination/ListTrackerConsumersPaginator.d.ts +4 -11
  71. package/dist-types/ts3.4/pagination/ListTrackersPaginator.d.ts +4 -11
  72. package/dist-types/ts3.4/pagination/index.d.ts +10 -10
  73. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +161 -641
  74. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +40 -67
  75. package/dist-types/ts3.4/runtimeConfig.d.ts +40 -67
  76. package/dist-types/ts3.4/runtimeConfig.native.d.ts +39 -68
  77. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +13 -10
  78. package/package.json +2 -2
@@ -1,39 +1,41 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import {
3
- Handler,
4
- HttpHandlerOptions as __HttpHandlerOptions,
5
- MetadataBearer as __MetadataBearer,
6
- MiddlewareStack,
7
- } from "@aws-sdk/types";
8
- import {
9
- LocationClientResolvedConfig,
10
- ServiceInputTypes,
11
- ServiceOutputTypes,
12
- } from "../LocationClient";
13
- import {
14
- AssociateTrackerConsumerRequest,
15
- AssociateTrackerConsumerResponse,
16
- } from "../models/models_0";
17
- export interface AssociateTrackerConsumerCommandInput
18
- extends AssociateTrackerConsumerRequest {}
19
- export interface AssociateTrackerConsumerCommandOutput
20
- extends AssociateTrackerConsumerResponse,
21
- __MetadataBearer {}
22
- export declare class AssociateTrackerConsumerCommand extends $Command<
23
- AssociateTrackerConsumerCommandInput,
24
- AssociateTrackerConsumerCommandOutput,
25
- LocationClientResolvedConfig
26
- > {
27
- readonly input: AssociateTrackerConsumerCommandInput;
28
- constructor(input: AssociateTrackerConsumerCommandInput);
29
- resolveMiddleware(
30
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
- configuration: LocationClientResolvedConfig,
32
- options?: __HttpHandlerOptions
33
- ): Handler<
34
- AssociateTrackerConsumerCommandInput,
35
- AssociateTrackerConsumerCommandOutput
36
- >;
37
- private serialize;
38
- private deserialize;
39
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
4
+ import { AssociateTrackerConsumerRequest, AssociateTrackerConsumerResponse } from "../models/models_0";
5
+ export interface AssociateTrackerConsumerCommandInput extends AssociateTrackerConsumerRequest {
6
+ }
7
+ export interface AssociateTrackerConsumerCommandOutput extends AssociateTrackerConsumerResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Creates an association between a geofence collection and a tracker resource. This
11
+ * allows the tracker resource to communicate location data to the linked geofence
12
+ * collection. </p>
13
+ * <p>You can associate up to five geofence collections to each tracker resource.</p>
14
+ * <note>
15
+ * <p>Currently not supported — Cross-account configurations, such as creating associations between a tracker resource in one account and a geofence collection in another account.</p>
16
+ * </note>
17
+ * @example
18
+ * Use a bare-bones client and the command you need to make an API call.
19
+ * ```javascript
20
+ * import { LocationClient, AssociateTrackerConsumerCommand } from "@aws-sdk/client-location"; // ES Modules import
21
+ * // const { LocationClient, AssociateTrackerConsumerCommand } = require("@aws-sdk/client-location"); // CommonJS import
22
+ * const client = new LocationClient(config);
23
+ * const command = new AssociateTrackerConsumerCommand(input);
24
+ * const response = await client.send(command);
25
+ * ```
26
+ *
27
+ * @see {@link AssociateTrackerConsumerCommandInput} for command's `input` shape.
28
+ * @see {@link AssociateTrackerConsumerCommandOutput} for command's `response` shape.
29
+ * @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
30
+ *
31
+ */
32
+ export declare class AssociateTrackerConsumerCommand extends $Command<AssociateTrackerConsumerCommandInput, AssociateTrackerConsumerCommandOutput, LocationClientResolvedConfig> {
33
+ readonly input: AssociateTrackerConsumerCommandInput;
34
+ constructor(input: AssociateTrackerConsumerCommandInput);
35
+ /**
36
+ * @internal
37
+ */
38
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateTrackerConsumerCommandInput, AssociateTrackerConsumerCommandOutput>;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -1,39 +1,35 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import {
3
- Handler,
4
- HttpHandlerOptions as __HttpHandlerOptions,
5
- MetadataBearer as __MetadataBearer,
6
- MiddlewareStack,
7
- } from "@aws-sdk/types";
8
- import {
9
- LocationClientResolvedConfig,
10
- ServiceInputTypes,
11
- ServiceOutputTypes,
12
- } from "../LocationClient";
13
- import {
14
- BatchDeleteDevicePositionHistoryRequest,
15
- BatchDeleteDevicePositionHistoryResponse,
16
- } from "../models/models_0";
17
- export interface BatchDeleteDevicePositionHistoryCommandInput
18
- extends BatchDeleteDevicePositionHistoryRequest {}
19
- export interface BatchDeleteDevicePositionHistoryCommandOutput
20
- extends BatchDeleteDevicePositionHistoryResponse,
21
- __MetadataBearer {}
22
- export declare class BatchDeleteDevicePositionHistoryCommand extends $Command<
23
- BatchDeleteDevicePositionHistoryCommandInput,
24
- BatchDeleteDevicePositionHistoryCommandOutput,
25
- LocationClientResolvedConfig
26
- > {
27
- readonly input: BatchDeleteDevicePositionHistoryCommandInput;
28
- constructor(input: BatchDeleteDevicePositionHistoryCommandInput);
29
- resolveMiddleware(
30
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
- configuration: LocationClientResolvedConfig,
32
- options?: __HttpHandlerOptions
33
- ): Handler<
34
- BatchDeleteDevicePositionHistoryCommandInput,
35
- BatchDeleteDevicePositionHistoryCommandOutput
36
- >;
37
- private serialize;
38
- private deserialize;
39
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
4
+ import { BatchDeleteDevicePositionHistoryRequest, BatchDeleteDevicePositionHistoryResponse } from "../models/models_0";
5
+ export interface BatchDeleteDevicePositionHistoryCommandInput extends BatchDeleteDevicePositionHistoryRequest {
6
+ }
7
+ export interface BatchDeleteDevicePositionHistoryCommandOutput extends BatchDeleteDevicePositionHistoryResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Deletes the position history of one or more devices from a tracker resource.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { LocationClient, BatchDeleteDevicePositionHistoryCommand } from "@aws-sdk/client-location"; // ES Modules import
15
+ * // const { LocationClient, BatchDeleteDevicePositionHistoryCommand } = require("@aws-sdk/client-location"); // CommonJS import
16
+ * const client = new LocationClient(config);
17
+ * const command = new BatchDeleteDevicePositionHistoryCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link BatchDeleteDevicePositionHistoryCommandInput} for command's `input` shape.
22
+ * @see {@link BatchDeleteDevicePositionHistoryCommandOutput} for command's `response` shape.
23
+ * @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class BatchDeleteDevicePositionHistoryCommand extends $Command<BatchDeleteDevicePositionHistoryCommandInput, BatchDeleteDevicePositionHistoryCommandOutput, LocationClientResolvedConfig> {
27
+ readonly input: BatchDeleteDevicePositionHistoryCommandInput;
28
+ constructor(input: BatchDeleteDevicePositionHistoryCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchDeleteDevicePositionHistoryCommandInput, BatchDeleteDevicePositionHistoryCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -1,36 +1,38 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import {
3
- Handler,
4
- HttpHandlerOptions as __HttpHandlerOptions,
5
- MetadataBearer as __MetadataBearer,
6
- MiddlewareStack,
7
- } from "@aws-sdk/types";
8
- import {
9
- LocationClientResolvedConfig,
10
- ServiceInputTypes,
11
- ServiceOutputTypes,
12
- } from "../LocationClient";
13
- import {
14
- BatchDeleteGeofenceRequest,
15
- BatchDeleteGeofenceResponse,
16
- } from "../models/models_0";
17
- export interface BatchDeleteGeofenceCommandInput
18
- extends BatchDeleteGeofenceRequest {}
19
- export interface BatchDeleteGeofenceCommandOutput
20
- extends BatchDeleteGeofenceResponse,
21
- __MetadataBearer {}
22
- export declare class BatchDeleteGeofenceCommand extends $Command<
23
- BatchDeleteGeofenceCommandInput,
24
- BatchDeleteGeofenceCommandOutput,
25
- LocationClientResolvedConfig
26
- > {
27
- readonly input: BatchDeleteGeofenceCommandInput;
28
- constructor(input: BatchDeleteGeofenceCommandInput);
29
- resolveMiddleware(
30
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
- configuration: LocationClientResolvedConfig,
32
- options?: __HttpHandlerOptions
33
- ): Handler<BatchDeleteGeofenceCommandInput, BatchDeleteGeofenceCommandOutput>;
34
- private serialize;
35
- private deserialize;
36
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
4
+ import { BatchDeleteGeofenceRequest, BatchDeleteGeofenceResponse } from "../models/models_0";
5
+ export interface BatchDeleteGeofenceCommandInput extends BatchDeleteGeofenceRequest {
6
+ }
7
+ export interface BatchDeleteGeofenceCommandOutput extends BatchDeleteGeofenceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Deletes a batch of geofences from a geofence collection.</p>
11
+ * <note>
12
+ * <p>This operation deletes the resource permanently.</p>
13
+ * </note>
14
+ * @example
15
+ * Use a bare-bones client and the command you need to make an API call.
16
+ * ```javascript
17
+ * import { LocationClient, BatchDeleteGeofenceCommand } from "@aws-sdk/client-location"; // ES Modules import
18
+ * // const { LocationClient, BatchDeleteGeofenceCommand } = require("@aws-sdk/client-location"); // CommonJS import
19
+ * const client = new LocationClient(config);
20
+ * const command = new BatchDeleteGeofenceCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link BatchDeleteGeofenceCommandInput} for command's `input` shape.
25
+ * @see {@link BatchDeleteGeofenceCommandOutput} for command's `response` shape.
26
+ * @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class BatchDeleteGeofenceCommand extends $Command<BatchDeleteGeofenceCommandInput, BatchDeleteGeofenceCommandOutput, LocationClientResolvedConfig> {
30
+ readonly input: BatchDeleteGeofenceCommandInput;
31
+ constructor(input: BatchDeleteGeofenceCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchDeleteGeofenceCommandInput, BatchDeleteGeofenceCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -1,39 +1,63 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import {
3
- Handler,
4
- HttpHandlerOptions as __HttpHandlerOptions,
5
- MetadataBearer as __MetadataBearer,
6
- MiddlewareStack,
7
- } from "@aws-sdk/types";
8
- import {
9
- LocationClientResolvedConfig,
10
- ServiceInputTypes,
11
- ServiceOutputTypes,
12
- } from "../LocationClient";
13
- import {
14
- BatchEvaluateGeofencesRequest,
15
- BatchEvaluateGeofencesResponse,
16
- } from "../models/models_0";
17
- export interface BatchEvaluateGeofencesCommandInput
18
- extends BatchEvaluateGeofencesRequest {}
19
- export interface BatchEvaluateGeofencesCommandOutput
20
- extends BatchEvaluateGeofencesResponse,
21
- __MetadataBearer {}
22
- export declare class BatchEvaluateGeofencesCommand extends $Command<
23
- BatchEvaluateGeofencesCommandInput,
24
- BatchEvaluateGeofencesCommandOutput,
25
- LocationClientResolvedConfig
26
- > {
27
- readonly input: BatchEvaluateGeofencesCommandInput;
28
- constructor(input: BatchEvaluateGeofencesCommandInput);
29
- resolveMiddleware(
30
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
- configuration: LocationClientResolvedConfig,
32
- options?: __HttpHandlerOptions
33
- ): Handler<
34
- BatchEvaluateGeofencesCommandInput,
35
- BatchEvaluateGeofencesCommandOutput
36
- >;
37
- private serialize;
38
- private deserialize;
39
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
4
+ import { BatchEvaluateGeofencesRequest, BatchEvaluateGeofencesResponse } from "../models/models_0";
5
+ export interface BatchEvaluateGeofencesCommandInput extends BatchEvaluateGeofencesRequest {
6
+ }
7
+ export interface BatchEvaluateGeofencesCommandOutput extends BatchEvaluateGeofencesResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Evaluates device positions against the geofence geometries from a given geofence
11
+ * collection.</p>
12
+ * <p>This operation always returns an empty response because geofences are asynchronously
13
+ * evaluated. The evaluation determines if the device has entered or exited a geofenced
14
+ * area, and then publishes one of the following events to Amazon EventBridge:</p>
15
+ * <ul>
16
+ * <li>
17
+ * <p>
18
+ * <code>ENTER</code> if Amazon Location determines that the tracked device has entered
19
+ * a geofenced area.</p>
20
+ * </li>
21
+ * <li>
22
+ * <p>
23
+ * <code>EXIT</code> if Amazon Location determines that the tracked device has exited a
24
+ * geofenced area.</p>
25
+ * </li>
26
+ * </ul>
27
+ * <note>
28
+ * <p>The last geofence that a device was observed within is tracked for 30 days after
29
+ * the most recent device position update.</p>
30
+ * </note>
31
+ * <note>
32
+ * <p>Geofence evaluation uses the given device position. It does not account for the
33
+ * optional <code>Accuracy</code> of a <code>DevicePositionUpdate</code>.</p>
34
+ * </note>
35
+ * <note>
36
+ * <p>The <code>DeviceID</code> is used as a string to represent the device. You do not
37
+ * need to have a <code>Tracker</code> associated with the <code>DeviceID</code>.</p>
38
+ * </note>
39
+ * @example
40
+ * Use a bare-bones client and the command you need to make an API call.
41
+ * ```javascript
42
+ * import { LocationClient, BatchEvaluateGeofencesCommand } from "@aws-sdk/client-location"; // ES Modules import
43
+ * // const { LocationClient, BatchEvaluateGeofencesCommand } = require("@aws-sdk/client-location"); // CommonJS import
44
+ * const client = new LocationClient(config);
45
+ * const command = new BatchEvaluateGeofencesCommand(input);
46
+ * const response = await client.send(command);
47
+ * ```
48
+ *
49
+ * @see {@link BatchEvaluateGeofencesCommandInput} for command's `input` shape.
50
+ * @see {@link BatchEvaluateGeofencesCommandOutput} for command's `response` shape.
51
+ * @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
52
+ *
53
+ */
54
+ export declare class BatchEvaluateGeofencesCommand extends $Command<BatchEvaluateGeofencesCommandInput, BatchEvaluateGeofencesCommandOutput, LocationClientResolvedConfig> {
55
+ readonly input: BatchEvaluateGeofencesCommandInput;
56
+ constructor(input: BatchEvaluateGeofencesCommandInput);
57
+ /**
58
+ * @internal
59
+ */
60
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchEvaluateGeofencesCommandInput, BatchEvaluateGeofencesCommandOutput>;
61
+ private serialize;
62
+ private deserialize;
63
+ }
@@ -1,39 +1,35 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import {
3
- Handler,
4
- HttpHandlerOptions as __HttpHandlerOptions,
5
- MetadataBearer as __MetadataBearer,
6
- MiddlewareStack,
7
- } from "@aws-sdk/types";
8
- import {
9
- LocationClientResolvedConfig,
10
- ServiceInputTypes,
11
- ServiceOutputTypes,
12
- } from "../LocationClient";
13
- import {
14
- BatchGetDevicePositionRequest,
15
- BatchGetDevicePositionResponse,
16
- } from "../models/models_0";
17
- export interface BatchGetDevicePositionCommandInput
18
- extends BatchGetDevicePositionRequest {}
19
- export interface BatchGetDevicePositionCommandOutput
20
- extends BatchGetDevicePositionResponse,
21
- __MetadataBearer {}
22
- export declare class BatchGetDevicePositionCommand extends $Command<
23
- BatchGetDevicePositionCommandInput,
24
- BatchGetDevicePositionCommandOutput,
25
- LocationClientResolvedConfig
26
- > {
27
- readonly input: BatchGetDevicePositionCommandInput;
28
- constructor(input: BatchGetDevicePositionCommandInput);
29
- resolveMiddleware(
30
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
- configuration: LocationClientResolvedConfig,
32
- options?: __HttpHandlerOptions
33
- ): Handler<
34
- BatchGetDevicePositionCommandInput,
35
- BatchGetDevicePositionCommandOutput
36
- >;
37
- private serialize;
38
- private deserialize;
39
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
4
+ import { BatchGetDevicePositionRequest, BatchGetDevicePositionResponse } from "../models/models_0";
5
+ export interface BatchGetDevicePositionCommandInput extends BatchGetDevicePositionRequest {
6
+ }
7
+ export interface BatchGetDevicePositionCommandOutput extends BatchGetDevicePositionResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists the latest device positions for requested devices.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { LocationClient, BatchGetDevicePositionCommand } from "@aws-sdk/client-location"; // ES Modules import
15
+ * // const { LocationClient, BatchGetDevicePositionCommand } = require("@aws-sdk/client-location"); // CommonJS import
16
+ * const client = new LocationClient(config);
17
+ * const command = new BatchGetDevicePositionCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link BatchGetDevicePositionCommandInput} for command's `input` shape.
22
+ * @see {@link BatchGetDevicePositionCommandOutput} for command's `response` shape.
23
+ * @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class BatchGetDevicePositionCommand extends $Command<BatchGetDevicePositionCommandInput, BatchGetDevicePositionCommandOutput, LocationClientResolvedConfig> {
27
+ readonly input: BatchGetDevicePositionCommandInput;
28
+ constructor(input: BatchGetDevicePositionCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetDevicePositionCommandInput, BatchGetDevicePositionCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -1,35 +1,36 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import {
3
- Handler,
4
- HttpHandlerOptions as __HttpHandlerOptions,
5
- MetadataBearer as __MetadataBearer,
6
- MiddlewareStack,
7
- } from "@aws-sdk/types";
8
- import {
9
- LocationClientResolvedConfig,
10
- ServiceInputTypes,
11
- ServiceOutputTypes,
12
- } from "../LocationClient";
13
- import {
14
- BatchPutGeofenceRequest,
15
- BatchPutGeofenceResponse,
16
- } from "../models/models_0";
17
- export interface BatchPutGeofenceCommandInput extends BatchPutGeofenceRequest {}
18
- export interface BatchPutGeofenceCommandOutput
19
- extends BatchPutGeofenceResponse,
20
- __MetadataBearer {}
21
- export declare class BatchPutGeofenceCommand extends $Command<
22
- BatchPutGeofenceCommandInput,
23
- BatchPutGeofenceCommandOutput,
24
- LocationClientResolvedConfig
25
- > {
26
- readonly input: BatchPutGeofenceCommandInput;
27
- constructor(input: BatchPutGeofenceCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: LocationClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<BatchPutGeofenceCommandInput, BatchPutGeofenceCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
4
+ import { BatchPutGeofenceRequest, BatchPutGeofenceResponse } from "../models/models_0";
5
+ export interface BatchPutGeofenceCommandInput extends BatchPutGeofenceRequest {
6
+ }
7
+ export interface BatchPutGeofenceCommandOutput extends BatchPutGeofenceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>A batch request for storing geofence geometries into a given geofence collection, or
11
+ * updates the geometry of an existing geofence if a geofence ID is included in the request.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { LocationClient, BatchPutGeofenceCommand } from "@aws-sdk/client-location"; // ES Modules import
16
+ * // const { LocationClient, BatchPutGeofenceCommand } = require("@aws-sdk/client-location"); // CommonJS import
17
+ * const client = new LocationClient(config);
18
+ * const command = new BatchPutGeofenceCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link BatchPutGeofenceCommandInput} for command's `input` shape.
23
+ * @see {@link BatchPutGeofenceCommandOutput} for command's `response` shape.
24
+ * @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class BatchPutGeofenceCommand extends $Command<BatchPutGeofenceCommandInput, BatchPutGeofenceCommandOutput, LocationClientResolvedConfig> {
28
+ readonly input: BatchPutGeofenceCommandInput;
29
+ constructor(input: BatchPutGeofenceCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchPutGeofenceCommandInput, BatchPutGeofenceCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -1,39 +1,53 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import {
3
- Handler,
4
- HttpHandlerOptions as __HttpHandlerOptions,
5
- MetadataBearer as __MetadataBearer,
6
- MiddlewareStack,
7
- } from "@aws-sdk/types";
8
- import {
9
- LocationClientResolvedConfig,
10
- ServiceInputTypes,
11
- ServiceOutputTypes,
12
- } from "../LocationClient";
13
- import {
14
- BatchUpdateDevicePositionRequest,
15
- BatchUpdateDevicePositionResponse,
16
- } from "../models/models_0";
17
- export interface BatchUpdateDevicePositionCommandInput
18
- extends BatchUpdateDevicePositionRequest {}
19
- export interface BatchUpdateDevicePositionCommandOutput
20
- extends BatchUpdateDevicePositionResponse,
21
- __MetadataBearer {}
22
- export declare class BatchUpdateDevicePositionCommand extends $Command<
23
- BatchUpdateDevicePositionCommandInput,
24
- BatchUpdateDevicePositionCommandOutput,
25
- LocationClientResolvedConfig
26
- > {
27
- readonly input: BatchUpdateDevicePositionCommandInput;
28
- constructor(input: BatchUpdateDevicePositionCommandInput);
29
- resolveMiddleware(
30
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
- configuration: LocationClientResolvedConfig,
32
- options?: __HttpHandlerOptions
33
- ): Handler<
34
- BatchUpdateDevicePositionCommandInput,
35
- BatchUpdateDevicePositionCommandOutput
36
- >;
37
- private serialize;
38
- private deserialize;
39
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
4
+ import { BatchUpdateDevicePositionRequest, BatchUpdateDevicePositionResponse } from "../models/models_0";
5
+ export interface BatchUpdateDevicePositionCommandInput extends BatchUpdateDevicePositionRequest {
6
+ }
7
+ export interface BatchUpdateDevicePositionCommandOutput extends BatchUpdateDevicePositionResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Uploads position update data for one or more devices to a tracker resource. Amazon Location
11
+ * uses the data when it reports the last known device position and position history. Amazon Location retains location data for 30
12
+ * days.</p>
13
+ * <note>
14
+ * <p>Position updates are handled based on the <code>PositionFiltering</code> property of the tracker.
15
+ * When <code>PositionFiltering</code> is set to <code>TimeBased</code>, updates are evaluated against linked geofence collections,
16
+ * and location data is stored at a maximum of one position per 30 second interval. If your update frequency is more often than
17
+ * every 30 seconds, only one update per 30 seconds is stored for each unique device ID.</p>
18
+ * <p>When <code>PositionFiltering</code> is set to <code>DistanceBased</code> filtering, location data is stored and evaluated against linked geofence
19
+ * collections only if the device has moved more than 30 m (98.4 ft).</p>
20
+ * <p>When <code>PositionFiltering</code> is set to <code>AccuracyBased</code> filtering,
21
+ * location data is stored and evaluated against linked geofence collections only if the
22
+ * device has moved more than the measured accuracy. For example, if two consecutive
23
+ * updates from a device have a horizontal accuracy of 5 m and 10 m, the second update
24
+ * is neither stored or evaluated if the device has moved less than 15 m. If
25
+ * <code>PositionFiltering</code> is set to <code>AccuracyBased</code> filtering, Amazon Location
26
+ * uses the default value <code>{ "Horizontal": 0}</code> when accuracy is not provided on
27
+ * a <code>DevicePositionUpdate</code>.</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, BatchUpdateDevicePositionCommand } from "@aws-sdk/client-location"; // ES Modules import
33
+ * // const { LocationClient, BatchUpdateDevicePositionCommand } = require("@aws-sdk/client-location"); // CommonJS import
34
+ * const client = new LocationClient(config);
35
+ * const command = new BatchUpdateDevicePositionCommand(input);
36
+ * const response = await client.send(command);
37
+ * ```
38
+ *
39
+ * @see {@link BatchUpdateDevicePositionCommandInput} for command's `input` shape.
40
+ * @see {@link BatchUpdateDevicePositionCommandOutput} for command's `response` shape.
41
+ * @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
42
+ *
43
+ */
44
+ export declare class BatchUpdateDevicePositionCommand extends $Command<BatchUpdateDevicePositionCommandInput, BatchUpdateDevicePositionCommandOutput, LocationClientResolvedConfig> {
45
+ readonly input: BatchUpdateDevicePositionCommandInput;
46
+ constructor(input: BatchUpdateDevicePositionCommandInput);
47
+ /**
48
+ * @internal
49
+ */
50
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchUpdateDevicePositionCommandInput, BatchUpdateDevicePositionCommandOutput>;
51
+ private serialize;
52
+ private deserialize;
53
+ }