@aws-sdk/client-location 3.590.0 → 3.592.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.
- package/README.md +16 -0
- package/dist-cjs/index.js +269 -61
- package/dist-es/Location.js +4 -0
- package/dist-es/commands/ForecastGeofenceEventsCommand.js +25 -0
- package/dist-es/commands/VerifyDevicePositionCommand.js +25 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +35 -0
- package/dist-es/pagination/ForecastGeofenceEventsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +173 -0
- package/dist-types/Location.d.ts +14 -0
- package/dist-types/LocationClient.d.ts +4 -2
- package/dist-types/commands/AssociateTrackerConsumerCommand.d.ts +2 -1
- package/dist-types/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +2 -1
- package/dist-types/commands/BatchDeleteGeofenceCommand.d.ts +2 -1
- package/dist-types/commands/BatchEvaluateGeofencesCommand.d.ts +2 -1
- package/dist-types/commands/BatchGetDevicePositionCommand.d.ts +2 -1
- package/dist-types/commands/BatchPutGeofenceCommand.d.ts +3 -1
- package/dist-types/commands/BatchUpdateDevicePositionCommand.d.ts +2 -1
- package/dist-types/commands/CalculateRouteCommand.d.ts +2 -1
- package/dist-types/commands/CalculateRouteMatrixCommand.d.ts +2 -1
- package/dist-types/commands/CreateGeofenceCollectionCommand.d.ts +2 -1
- package/dist-types/commands/CreateKeyCommand.d.ts +2 -1
- package/dist-types/commands/CreateMapCommand.d.ts +2 -1
- package/dist-types/commands/CreatePlaceIndexCommand.d.ts +2 -1
- package/dist-types/commands/CreateRouteCalculatorCommand.d.ts +2 -1
- package/dist-types/commands/CreateTrackerCommand.d.ts +2 -1
- package/dist-types/commands/DeleteGeofenceCollectionCommand.d.ts +2 -1
- package/dist-types/commands/DeleteKeyCommand.d.ts +2 -1
- package/dist-types/commands/DeleteMapCommand.d.ts +2 -1
- package/dist-types/commands/DeletePlaceIndexCommand.d.ts +2 -1
- package/dist-types/commands/DeleteRouteCalculatorCommand.d.ts +2 -1
- package/dist-types/commands/DeleteTrackerCommand.d.ts +2 -1
- package/dist-types/commands/DescribeGeofenceCollectionCommand.d.ts +2 -1
- package/dist-types/commands/DescribeKeyCommand.d.ts +2 -1
- package/dist-types/commands/DescribeMapCommand.d.ts +2 -1
- package/dist-types/commands/DescribePlaceIndexCommand.d.ts +2 -1
- package/dist-types/commands/DescribeRouteCalculatorCommand.d.ts +2 -1
- package/dist-types/commands/DescribeTrackerCommand.d.ts +2 -1
- package/dist-types/commands/DisassociateTrackerConsumerCommand.d.ts +2 -1
- package/dist-types/commands/ForecastGeofenceEventsCommand.d.ts +110 -0
- package/dist-types/commands/GetDevicePositionCommand.d.ts +2 -1
- package/dist-types/commands/GetDevicePositionHistoryCommand.d.ts +2 -1
- package/dist-types/commands/GetGeofenceCommand.d.ts +6 -1
- package/dist-types/commands/GetMapGlyphsCommand.d.ts +2 -1
- package/dist-types/commands/GetMapSpritesCommand.d.ts +2 -1
- package/dist-types/commands/GetMapStyleDescriptorCommand.d.ts +2 -1
- package/dist-types/commands/GetMapTileCommand.d.ts +2 -1
- package/dist-types/commands/GetPlaceCommand.d.ts +2 -1
- package/dist-types/commands/ListDevicePositionsCommand.d.ts +2 -1
- package/dist-types/commands/ListGeofenceCollectionsCommand.d.ts +2 -1
- package/dist-types/commands/ListGeofencesCommand.d.ts +3 -1
- package/dist-types/commands/ListKeysCommand.d.ts +2 -1
- package/dist-types/commands/ListMapsCommand.d.ts +2 -1
- package/dist-types/commands/ListPlaceIndexesCommand.d.ts +2 -1
- package/dist-types/commands/ListRouteCalculatorsCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/ListTrackerConsumersCommand.d.ts +2 -1
- package/dist-types/commands/ListTrackersCommand.d.ts +2 -1
- package/dist-types/commands/PutGeofenceCommand.d.ts +3 -1
- package/dist-types/commands/SearchPlaceIndexForPositionCommand.d.ts +2 -1
- package/dist-types/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +2 -1
- package/dist-types/commands/SearchPlaceIndexForTextCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateGeofenceCollectionCommand.d.ts +2 -1
- package/dist-types/commands/UpdateKeyCommand.d.ts +2 -1
- package/dist-types/commands/UpdateMapCommand.d.ts +2 -1
- package/dist-types/commands/UpdatePlaceIndexCommand.d.ts +2 -1
- package/dist-types/commands/UpdateRouteCalculatorCommand.d.ts +2 -1
- package/dist-types/commands/UpdateTrackerCommand.d.ts +2 -1
- package/dist-types/commands/VerifyDevicePositionCommand.d.ts +134 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/LocationServiceException.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +494 -112
- package/dist-types/pagination/ForecastGeofenceEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Location.d.ts +34 -0
- package/dist-types/ts3.4/LocationClient.d.ts +14 -2
- package/dist-types/ts3.4/commands/AssociateTrackerConsumerCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/BatchDeleteGeofenceCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/BatchEvaluateGeofencesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/BatchGetDevicePositionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/BatchPutGeofenceCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/BatchUpdateDevicePositionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CalculateRouteCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CalculateRouteMatrixCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateGeofenceCollectionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateMapCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreatePlaceIndexCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateRouteCalculatorCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateTrackerCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteGeofenceCollectionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteKeyCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteMapCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeletePlaceIndexCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteRouteCalculatorCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteTrackerCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeGeofenceCollectionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeMapCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribePlaceIndexCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeRouteCalculatorCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeTrackerCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DisassociateTrackerConsumerCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ForecastGeofenceEventsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetDevicePositionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetDevicePositionHistoryCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetGeofenceCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetMapGlyphsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetMapSpritesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetMapStyleDescriptorCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetMapTileCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetPlaceCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListDevicePositionsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListGeofenceCollectionsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListGeofencesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListMapsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListPlaceIndexesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListRouteCalculatorsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListTrackerConsumersCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListTrackersCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutGeofenceCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/SearchPlaceIndexForPositionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/SearchPlaceIndexForTextCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateGeofenceCollectionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateKeyCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateMapCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdatePlaceIndexCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateRouteCalculatorCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateTrackerCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/VerifyDevicePositionCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/LocationServiceException.d.ts +2 -1
- package/dist-types/ts3.4/models/models_0.d.ts +110 -0
- package/dist-types/ts3.4/pagination/ForecastGeofenceEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +6 -6
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
|
|
4
|
+
import { VerifyDevicePositionRequest, VerifyDevicePositionResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link VerifyDevicePositionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface VerifyDevicePositionCommandInput extends VerifyDevicePositionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link VerifyDevicePositionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface VerifyDevicePositionCommandOutput extends VerifyDevicePositionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const VerifyDevicePositionCommand_base: {
|
|
25
|
+
new (input: VerifyDevicePositionCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyDevicePositionCommandInput, VerifyDevicePositionCommandOutput, LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: VerifyDevicePositionCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyDevicePositionCommandInput, VerifyDevicePositionCommandOutput, LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Verifies the integrity of the device's position by determining if it was reported behind a proxy, and by comparing it to an inferred position estimated based on the device's state.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LocationClient, VerifyDevicePositionCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
35
|
+
* // const { LocationClient, VerifyDevicePositionCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
36
|
+
* const client = new LocationClient(config);
|
|
37
|
+
* const input = { // VerifyDevicePositionRequest
|
|
38
|
+
* TrackerName: "STRING_VALUE", // required
|
|
39
|
+
* DeviceState: { // DeviceState
|
|
40
|
+
* DeviceId: "STRING_VALUE", // required
|
|
41
|
+
* SampleTime: new Date("TIMESTAMP"), // required
|
|
42
|
+
* Position: [ // Position // required
|
|
43
|
+
* Number("double"),
|
|
44
|
+
* ],
|
|
45
|
+
* Accuracy: { // PositionalAccuracy
|
|
46
|
+
* Horizontal: Number("double"), // required
|
|
47
|
+
* },
|
|
48
|
+
* Ipv4Address: "STRING_VALUE",
|
|
49
|
+
* WiFiAccessPoints: [ // WiFiAccessPointList
|
|
50
|
+
* { // WiFiAccessPoint
|
|
51
|
+
* MacAddress: "STRING_VALUE", // required
|
|
52
|
+
* Rss: Number("int"), // required
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* CellSignals: { // CellSignals
|
|
56
|
+
* LteCellDetails: [ // LteCellDetailsList // required
|
|
57
|
+
* { // LteCellDetails
|
|
58
|
+
* CellId: Number("int"), // required
|
|
59
|
+
* Mcc: Number("int"), // required
|
|
60
|
+
* Mnc: Number("int"), // required
|
|
61
|
+
* LocalId: { // LteLocalId
|
|
62
|
+
* Earfcn: Number("int"), // required
|
|
63
|
+
* Pci: Number("int"), // required
|
|
64
|
+
* },
|
|
65
|
+
* NetworkMeasurements: [ // LteNetworkMeasurementsList
|
|
66
|
+
* { // LteNetworkMeasurements
|
|
67
|
+
* Earfcn: Number("int"), // required
|
|
68
|
+
* CellId: Number("int"), // required
|
|
69
|
+
* Pci: Number("int"), // required
|
|
70
|
+
* Rsrp: Number("int"),
|
|
71
|
+
* Rsrq: Number("float"),
|
|
72
|
+
* },
|
|
73
|
+
* ],
|
|
74
|
+
* TimingAdvance: Number("int"),
|
|
75
|
+
* NrCapable: true || false,
|
|
76
|
+
* Rsrp: Number("int"),
|
|
77
|
+
* Rsrq: Number("float"),
|
|
78
|
+
* Tac: Number("int"),
|
|
79
|
+
* },
|
|
80
|
+
* ],
|
|
81
|
+
* },
|
|
82
|
+
* },
|
|
83
|
+
* DistanceUnit: "STRING_VALUE",
|
|
84
|
+
* };
|
|
85
|
+
* const command = new VerifyDevicePositionCommand(input);
|
|
86
|
+
* const response = await client.send(command);
|
|
87
|
+
* // { // VerifyDevicePositionResponse
|
|
88
|
+
* // InferredState: { // InferredState
|
|
89
|
+
* // Position: [ // Position
|
|
90
|
+
* // Number("double"),
|
|
91
|
+
* // ],
|
|
92
|
+
* // Accuracy: { // PositionalAccuracy
|
|
93
|
+
* // Horizontal: Number("double"), // required
|
|
94
|
+
* // },
|
|
95
|
+
* // DeviationDistance: Number("double"),
|
|
96
|
+
* // ProxyDetected: true || false, // required
|
|
97
|
+
* // },
|
|
98
|
+
* // DeviceId: "STRING_VALUE", // required
|
|
99
|
+
* // SampleTime: new Date("TIMESTAMP"), // required
|
|
100
|
+
* // ReceivedTime: new Date("TIMESTAMP"), // required
|
|
101
|
+
* // DistanceUnit: "STRING_VALUE", // required
|
|
102
|
+
* // };
|
|
103
|
+
*
|
|
104
|
+
* ```
|
|
105
|
+
*
|
|
106
|
+
* @param VerifyDevicePositionCommandInput - {@link VerifyDevicePositionCommandInput}
|
|
107
|
+
* @returns {@link VerifyDevicePositionCommandOutput}
|
|
108
|
+
* @see {@link VerifyDevicePositionCommandInput} for command's `input` shape.
|
|
109
|
+
* @see {@link VerifyDevicePositionCommandOutput} for command's `response` shape.
|
|
110
|
+
* @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
113
|
+
* <p>The request was denied because of insufficient access or permissions. Check with an
|
|
114
|
+
* administrator to verify your permissions.</p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link InternalServerException} (server fault)
|
|
117
|
+
* <p>The request has failed to process because of an unknown server error, exception, or failure.</p>
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
120
|
+
* <p>The resource that you've entered was not found in your AWS account.</p>
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
123
|
+
* <p>The request was denied because of request throttling.</p>
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link ValidationException} (client fault)
|
|
126
|
+
* <p>The input failed to meet the constraints specified by the AWS service. </p>
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link LocationServiceException}
|
|
129
|
+
* <p>Base exception class for all service exceptions from Location service.</p>
|
|
130
|
+
*
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
export declare class VerifyDevicePositionCommand extends VerifyDevicePositionCommand_base {
|
|
134
|
+
}
|
|
@@ -26,6 +26,7 @@ export * from "./DescribePlaceIndexCommand";
|
|
|
26
26
|
export * from "./DescribeRouteCalculatorCommand";
|
|
27
27
|
export * from "./DescribeTrackerCommand";
|
|
28
28
|
export * from "./DisassociateTrackerConsumerCommand";
|
|
29
|
+
export * from "./ForecastGeofenceEventsCommand";
|
|
29
30
|
export * from "./GetDevicePositionCommand";
|
|
30
31
|
export * from "./GetDevicePositionHistoryCommand";
|
|
31
32
|
export * from "./GetGeofenceCommand";
|
|
@@ -56,3 +57,4 @@ export * from "./UpdateMapCommand";
|
|
|
56
57
|
export * from "./UpdatePlaceIndexCommand";
|
|
57
58
|
export * from "./UpdateRouteCalculatorCommand";
|
|
58
59
|
export * from "./UpdateTrackerCommand";
|
|
60
|
+
export * from "./VerifyDevicePositionCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
export * from "./LocationClient";
|
|
7
7
|
export * from "./Location";
|
|
8
8
|
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
9
|
-
export { RuntimeExtension } from "./runtimeExtensions";
|
|
10
|
-
export { LocationExtensionConfiguration } from "./extensionConfiguration";
|
|
9
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
|
+
export type { LocationExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
13
|
export * from "./models";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
|
|
2
|
-
export {
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*
|