@aws-sdk/client-location 3.588.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 +8 -6
- 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/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/Location.d.ts +34 -0
- package/dist-types/ts3.4/LocationClient.d.ts +15 -3
- 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/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +6 -6
package/dist-es/Location.js
CHANGED
|
@@ -27,6 +27,7 @@ import { DescribePlaceIndexCommand, } from "./commands/DescribePlaceIndexCommand
|
|
|
27
27
|
import { DescribeRouteCalculatorCommand, } from "./commands/DescribeRouteCalculatorCommand";
|
|
28
28
|
import { DescribeTrackerCommand, } from "./commands/DescribeTrackerCommand";
|
|
29
29
|
import { DisassociateTrackerConsumerCommand, } from "./commands/DisassociateTrackerConsumerCommand";
|
|
30
|
+
import { ForecastGeofenceEventsCommand, } from "./commands/ForecastGeofenceEventsCommand";
|
|
30
31
|
import { GetDevicePositionCommand, } from "./commands/GetDevicePositionCommand";
|
|
31
32
|
import { GetDevicePositionHistoryCommand, } from "./commands/GetDevicePositionHistoryCommand";
|
|
32
33
|
import { GetGeofenceCommand } from "./commands/GetGeofenceCommand";
|
|
@@ -57,6 +58,7 @@ import { UpdateMapCommand } from "./commands/UpdateMapCommand";
|
|
|
57
58
|
import { UpdatePlaceIndexCommand, } from "./commands/UpdatePlaceIndexCommand";
|
|
58
59
|
import { UpdateRouteCalculatorCommand, } from "./commands/UpdateRouteCalculatorCommand";
|
|
59
60
|
import { UpdateTrackerCommand, } from "./commands/UpdateTrackerCommand";
|
|
61
|
+
import { VerifyDevicePositionCommand, } from "./commands/VerifyDevicePositionCommand";
|
|
60
62
|
import { LocationClient } from "./LocationClient";
|
|
61
63
|
const commands = {
|
|
62
64
|
AssociateTrackerConsumerCommand,
|
|
@@ -87,6 +89,7 @@ const commands = {
|
|
|
87
89
|
DescribeRouteCalculatorCommand,
|
|
88
90
|
DescribeTrackerCommand,
|
|
89
91
|
DisassociateTrackerConsumerCommand,
|
|
92
|
+
ForecastGeofenceEventsCommand,
|
|
90
93
|
GetDevicePositionCommand,
|
|
91
94
|
GetDevicePositionHistoryCommand,
|
|
92
95
|
GetGeofenceCommand,
|
|
@@ -117,6 +120,7 @@ const commands = {
|
|
|
117
120
|
UpdatePlaceIndexCommand,
|
|
118
121
|
UpdateRouteCalculatorCommand,
|
|
119
122
|
UpdateTrackerCommand,
|
|
123
|
+
VerifyDevicePositionCommand,
|
|
120
124
|
};
|
|
121
125
|
export class Location extends LocationClient {
|
|
122
126
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { ForecastGeofenceEventsRequestFilterSensitiveLog, ForecastGeofenceEventsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_ForecastGeofenceEventsCommand, se_ForecastGeofenceEventsCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class ForecastGeofenceEventsCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("LocationService", "ForecastGeofenceEvents", {})
|
|
20
|
+
.n("LocationClient", "ForecastGeofenceEventsCommand")
|
|
21
|
+
.f(ForecastGeofenceEventsRequestFilterSensitiveLog, ForecastGeofenceEventsResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_ForecastGeofenceEventsCommand)
|
|
23
|
+
.de(de_ForecastGeofenceEventsCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { VerifyDevicePositionRequestFilterSensitiveLog, VerifyDevicePositionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_VerifyDevicePositionCommand, se_VerifyDevicePositionCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class VerifyDevicePositionCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("LocationService", "VerifyDevicePosition", {})
|
|
20
|
+
.n("LocationClient", "VerifyDevicePositionCommand")
|
|
21
|
+
.f(VerifyDevicePositionRequestFilterSensitiveLog, VerifyDevicePositionResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_VerifyDevicePositionCommand)
|
|
23
|
+
.de(de_VerifyDevicePositionCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
@@ -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";
|
|
@@ -133,6 +133,7 @@ export const GeofenceGeometryFilterSensitiveLog = (obj) => ({
|
|
|
133
133
|
...obj,
|
|
134
134
|
...(obj.Polygon && { Polygon: obj.Polygon.map((item) => SENSITIVE_STRING) }),
|
|
135
135
|
...(obj.Circle && { Circle: SENSITIVE_STRING }),
|
|
136
|
+
...(obj.Geobuf && { Geobuf: SENSITIVE_STRING }),
|
|
136
137
|
});
|
|
137
138
|
export const BatchPutGeofenceRequestEntryFilterSensitiveLog = (obj) => ({
|
|
138
139
|
...obj,
|
|
@@ -190,6 +191,28 @@ export const CalculateRouteMatrixResponseFilterSensitiveLog = (obj) => ({
|
|
|
190
191
|
...(obj.SnappedDeparturePositions && { SnappedDeparturePositions: SENSITIVE_STRING }),
|
|
191
192
|
...(obj.SnappedDestinationPositions && { SnappedDestinationPositions: SENSITIVE_STRING }),
|
|
192
193
|
});
|
|
194
|
+
export const DeviceStateFilterSensitiveLog = (obj) => ({
|
|
195
|
+
...obj,
|
|
196
|
+
...(obj.Position && { Position: SENSITIVE_STRING }),
|
|
197
|
+
});
|
|
198
|
+
export const ForecastedEventFilterSensitiveLog = (obj) => ({
|
|
199
|
+
...obj,
|
|
200
|
+
...(obj.GeofenceProperties && { GeofenceProperties: SENSITIVE_STRING }),
|
|
201
|
+
});
|
|
202
|
+
export const ForecastGeofenceEventsDeviceStateFilterSensitiveLog = (obj) => ({
|
|
203
|
+
...obj,
|
|
204
|
+
...(obj.Position && { Position: SENSITIVE_STRING }),
|
|
205
|
+
});
|
|
206
|
+
export const ForecastGeofenceEventsRequestFilterSensitiveLog = (obj) => ({
|
|
207
|
+
...obj,
|
|
208
|
+
...(obj.DeviceState && { DeviceState: ForecastGeofenceEventsDeviceStateFilterSensitiveLog(obj.DeviceState) }),
|
|
209
|
+
});
|
|
210
|
+
export const ForecastGeofenceEventsResponseFilterSensitiveLog = (obj) => ({
|
|
211
|
+
...obj,
|
|
212
|
+
...(obj.ForecastedEvents && {
|
|
213
|
+
ForecastedEvents: obj.ForecastedEvents.map((item) => ForecastedEventFilterSensitiveLog(item)),
|
|
214
|
+
}),
|
|
215
|
+
});
|
|
193
216
|
export const GetGeofenceResponseFilterSensitiveLog = (obj) => ({
|
|
194
217
|
...obj,
|
|
195
218
|
...(obj.Geometry && { Geometry: GeofenceGeometryFilterSensitiveLog(obj.Geometry) }),
|
|
@@ -252,6 +275,10 @@ export const GetPlaceResponseFilterSensitiveLog = (obj) => ({
|
|
|
252
275
|
...obj,
|
|
253
276
|
...(obj.Place && { Place: PlaceFilterSensitiveLog(obj.Place) }),
|
|
254
277
|
});
|
|
278
|
+
export const InferredStateFilterSensitiveLog = (obj) => ({
|
|
279
|
+
...obj,
|
|
280
|
+
...(obj.Position && { Position: SENSITIVE_STRING }),
|
|
281
|
+
});
|
|
255
282
|
export const TrackingFilterGeometryFilterSensitiveLog = (obj) => ({
|
|
256
283
|
...obj,
|
|
257
284
|
...(obj.Polygon && { Polygon: obj.Polygon.map((item) => SENSITIVE_STRING) }),
|
|
@@ -327,3 +354,11 @@ export const SearchPlaceIndexForTextResponseFilterSensitiveLog = (obj) => ({
|
|
|
327
354
|
...(obj.Summary && { Summary: SearchPlaceIndexForTextSummaryFilterSensitiveLog(obj.Summary) }),
|
|
328
355
|
...(obj.Results && { Results: obj.Results.map((item) => SearchForTextResultFilterSensitiveLog(item)) }),
|
|
329
356
|
});
|
|
357
|
+
export const VerifyDevicePositionRequestFilterSensitiveLog = (obj) => ({
|
|
358
|
+
...obj,
|
|
359
|
+
...(obj.DeviceState && { DeviceState: DeviceStateFilterSensitiveLog(obj.DeviceState) }),
|
|
360
|
+
});
|
|
361
|
+
export const VerifyDevicePositionResponseFilterSensitiveLog = (obj) => ({
|
|
362
|
+
...obj,
|
|
363
|
+
...(obj.InferredState && { InferredState: InferredStateFilterSensitiveLog(obj.InferredState) }),
|
|
364
|
+
});
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ForecastGeofenceEventsCommand, } from "../commands/ForecastGeofenceEventsCommand";
|
|
3
|
+
import { LocationClient } from "../LocationClient";
|
|
4
|
+
export const paginateForecastGeofenceEvents = createPaginator(LocationClient, ForecastGeofenceEventsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -608,6 +608,33 @@ export const se_DisassociateTrackerConsumerCommand = async (input, context) => {
|
|
|
608
608
|
b.m("DELETE").h(headers).b(body);
|
|
609
609
|
return b.build();
|
|
610
610
|
};
|
|
611
|
+
export const se_ForecastGeofenceEventsCommand = async (input, context) => {
|
|
612
|
+
const b = rb(input, context);
|
|
613
|
+
const headers = {
|
|
614
|
+
"content-type": "application/json",
|
|
615
|
+
};
|
|
616
|
+
b.bp("/geofencing/v0/collections/{CollectionName}/forecast-geofence-events");
|
|
617
|
+
b.p("CollectionName", () => input.CollectionName, "{CollectionName}", false);
|
|
618
|
+
let body;
|
|
619
|
+
body = JSON.stringify(take(input, {
|
|
620
|
+
DeviceState: (_) => se_ForecastGeofenceEventsDeviceState(_, context),
|
|
621
|
+
DistanceUnit: [],
|
|
622
|
+
MaxResults: [],
|
|
623
|
+
NextToken: [],
|
|
624
|
+
SpeedUnit: [],
|
|
625
|
+
TimeHorizonMinutes: (_) => __serializeFloat(_),
|
|
626
|
+
}));
|
|
627
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
628
|
+
if (context.disableHostPrefix !== true) {
|
|
629
|
+
resolvedHostname = "geofencing." + resolvedHostname;
|
|
630
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
631
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
b.hn(resolvedHostname);
|
|
635
|
+
b.m("POST").h(headers).b(body);
|
|
636
|
+
return b.build();
|
|
637
|
+
};
|
|
611
638
|
export const se_GetDevicePositionCommand = async (input, context) => {
|
|
612
639
|
const b = rb(input, context);
|
|
613
640
|
const headers = {};
|
|
@@ -1304,6 +1331,29 @@ export const se_UpdateTrackerCommand = async (input, context) => {
|
|
|
1304
1331
|
b.m("PATCH").h(headers).b(body);
|
|
1305
1332
|
return b.build();
|
|
1306
1333
|
};
|
|
1334
|
+
export const se_VerifyDevicePositionCommand = async (input, context) => {
|
|
1335
|
+
const b = rb(input, context);
|
|
1336
|
+
const headers = {
|
|
1337
|
+
"content-type": "application/json",
|
|
1338
|
+
};
|
|
1339
|
+
b.bp("/tracking/v0/trackers/{TrackerName}/positions/verify");
|
|
1340
|
+
b.p("TrackerName", () => input.TrackerName, "{TrackerName}", false);
|
|
1341
|
+
let body;
|
|
1342
|
+
body = JSON.stringify(take(input, {
|
|
1343
|
+
DeviceState: (_) => se_DeviceState(_, context),
|
|
1344
|
+
DistanceUnit: [],
|
|
1345
|
+
}));
|
|
1346
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1347
|
+
if (context.disableHostPrefix !== true) {
|
|
1348
|
+
resolvedHostname = "tracking." + resolvedHostname;
|
|
1349
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
1350
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
b.hn(resolvedHostname);
|
|
1354
|
+
b.m("POST").h(headers).b(body);
|
|
1355
|
+
return b.build();
|
|
1356
|
+
};
|
|
1307
1357
|
export const de_AssociateTrackerConsumerCommand = async (output, context) => {
|
|
1308
1358
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1309
1359
|
return de_CommandError(output, context);
|
|
@@ -1734,6 +1784,23 @@ export const de_DisassociateTrackerConsumerCommand = async (output, context) =>
|
|
|
1734
1784
|
await collectBody(output.body, context);
|
|
1735
1785
|
return contents;
|
|
1736
1786
|
};
|
|
1787
|
+
export const de_ForecastGeofenceEventsCommand = async (output, context) => {
|
|
1788
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1789
|
+
return de_CommandError(output, context);
|
|
1790
|
+
}
|
|
1791
|
+
const contents = map({
|
|
1792
|
+
$metadata: deserializeMetadata(output),
|
|
1793
|
+
});
|
|
1794
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1795
|
+
const doc = take(data, {
|
|
1796
|
+
DistanceUnit: __expectString,
|
|
1797
|
+
ForecastedEvents: (_) => de_ForecastedEventsList(_, context),
|
|
1798
|
+
NextToken: __expectString,
|
|
1799
|
+
SpeedUnit: __expectString,
|
|
1800
|
+
});
|
|
1801
|
+
Object.assign(contents, doc);
|
|
1802
|
+
return contents;
|
|
1803
|
+
};
|
|
1737
1804
|
export const de_GetDevicePositionCommand = async (output, context) => {
|
|
1738
1805
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1739
1806
|
return de_CommandError(output, context);
|
|
@@ -2179,6 +2246,24 @@ export const de_UpdateTrackerCommand = async (output, context) => {
|
|
|
2179
2246
|
Object.assign(contents, doc);
|
|
2180
2247
|
return contents;
|
|
2181
2248
|
};
|
|
2249
|
+
export const de_VerifyDevicePositionCommand = async (output, context) => {
|
|
2250
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2251
|
+
return de_CommandError(output, context);
|
|
2252
|
+
}
|
|
2253
|
+
const contents = map({
|
|
2254
|
+
$metadata: deserializeMetadata(output),
|
|
2255
|
+
});
|
|
2256
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2257
|
+
const doc = take(data, {
|
|
2258
|
+
DeviceId: __expectString,
|
|
2259
|
+
DistanceUnit: __expectString,
|
|
2260
|
+
InferredState: (_) => de_InferredState(_, context),
|
|
2261
|
+
ReceivedTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2262
|
+
SampleTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2263
|
+
});
|
|
2264
|
+
Object.assign(contents, doc);
|
|
2265
|
+
return contents;
|
|
2266
|
+
};
|
|
2182
2267
|
const de_CommandError = async (output, context) => {
|
|
2183
2268
|
const parsedOutput = {
|
|
2184
2269
|
...output,
|
|
@@ -2339,6 +2424,11 @@ const se_CalculateRouteTruckModeOptions = (input, context) => {
|
|
|
2339
2424
|
Weight: (_) => se_TruckWeight(_, context),
|
|
2340
2425
|
});
|
|
2341
2426
|
};
|
|
2427
|
+
const se_CellSignals = (input, context) => {
|
|
2428
|
+
return take(input, {
|
|
2429
|
+
LteCellDetails: (_) => se_LteCellDetailsList(_, context),
|
|
2430
|
+
});
|
|
2431
|
+
};
|
|
2342
2432
|
const se_Circle = (input, context) => {
|
|
2343
2433
|
return take(input, {
|
|
2344
2434
|
Center: (_) => se_Position(_, context),
|
|
@@ -2361,9 +2451,27 @@ const se_DevicePositionUpdateList = (input, context) => {
|
|
|
2361
2451
|
return se_DevicePositionUpdate(entry, context);
|
|
2362
2452
|
});
|
|
2363
2453
|
};
|
|
2454
|
+
const se_DeviceState = (input, context) => {
|
|
2455
|
+
return take(input, {
|
|
2456
|
+
Accuracy: (_) => se_PositionalAccuracy(_, context),
|
|
2457
|
+
CellSignals: (_) => se_CellSignals(_, context),
|
|
2458
|
+
DeviceId: [],
|
|
2459
|
+
Ipv4Address: [],
|
|
2460
|
+
Position: (_) => se_Position(_, context),
|
|
2461
|
+
SampleTime: __serializeDateTime,
|
|
2462
|
+
WiFiAccessPoints: _json,
|
|
2463
|
+
});
|
|
2464
|
+
};
|
|
2465
|
+
const se_ForecastGeofenceEventsDeviceState = (input, context) => {
|
|
2466
|
+
return take(input, {
|
|
2467
|
+
Position: (_) => se_Position(_, context),
|
|
2468
|
+
Speed: __serializeFloat,
|
|
2469
|
+
});
|
|
2470
|
+
};
|
|
2364
2471
|
const se_GeofenceGeometry = (input, context) => {
|
|
2365
2472
|
return take(input, {
|
|
2366
2473
|
Circle: (_) => se_Circle(_, context),
|
|
2474
|
+
Geobuf: context.base64Encoder,
|
|
2367
2475
|
Polygon: (_) => se_LinearRings(_, context),
|
|
2368
2476
|
});
|
|
2369
2477
|
};
|
|
@@ -2381,6 +2489,43 @@ const se_LinearRings = (input, context) => {
|
|
|
2381
2489
|
return se_LinearRing(entry, context);
|
|
2382
2490
|
});
|
|
2383
2491
|
};
|
|
2492
|
+
const se_LteCellDetails = (input, context) => {
|
|
2493
|
+
return take(input, {
|
|
2494
|
+
CellId: [],
|
|
2495
|
+
LocalId: _json,
|
|
2496
|
+
Mcc: [],
|
|
2497
|
+
Mnc: [],
|
|
2498
|
+
NetworkMeasurements: (_) => se_LteNetworkMeasurementsList(_, context),
|
|
2499
|
+
NrCapable: [],
|
|
2500
|
+
Rsrp: [],
|
|
2501
|
+
Rsrq: __serializeFloat,
|
|
2502
|
+
Tac: [],
|
|
2503
|
+
TimingAdvance: [],
|
|
2504
|
+
});
|
|
2505
|
+
};
|
|
2506
|
+
const se_LteCellDetailsList = (input, context) => {
|
|
2507
|
+
return input
|
|
2508
|
+
.filter((e) => e != null)
|
|
2509
|
+
.map((entry) => {
|
|
2510
|
+
return se_LteCellDetails(entry, context);
|
|
2511
|
+
});
|
|
2512
|
+
};
|
|
2513
|
+
const se_LteNetworkMeasurements = (input, context) => {
|
|
2514
|
+
return take(input, {
|
|
2515
|
+
CellId: [],
|
|
2516
|
+
Earfcn: [],
|
|
2517
|
+
Pci: [],
|
|
2518
|
+
Rsrp: [],
|
|
2519
|
+
Rsrq: __serializeFloat,
|
|
2520
|
+
});
|
|
2521
|
+
};
|
|
2522
|
+
const se_LteNetworkMeasurementsList = (input, context) => {
|
|
2523
|
+
return input
|
|
2524
|
+
.filter((e) => e != null)
|
|
2525
|
+
.map((entry) => {
|
|
2526
|
+
return se_LteNetworkMeasurements(entry, context);
|
|
2527
|
+
});
|
|
2528
|
+
};
|
|
2384
2529
|
const se_Position = (input, context) => {
|
|
2385
2530
|
return input
|
|
2386
2531
|
.filter((e) => e != null)
|
|
@@ -2512,12 +2657,40 @@ const de_DevicePositionList = (output, context) => {
|
|
|
2512
2657
|
});
|
|
2513
2658
|
return retVal;
|
|
2514
2659
|
};
|
|
2660
|
+
const de_ForecastedEvent = (output, context) => {
|
|
2661
|
+
return take(output, {
|
|
2662
|
+
EventId: __expectString,
|
|
2663
|
+
EventType: __expectString,
|
|
2664
|
+
ForecastedBreachTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2665
|
+
GeofenceId: __expectString,
|
|
2666
|
+
GeofenceProperties: _json,
|
|
2667
|
+
IsDeviceInGeofence: __expectBoolean,
|
|
2668
|
+
NearestDistance: __limitedParseDouble,
|
|
2669
|
+
});
|
|
2670
|
+
};
|
|
2671
|
+
const de_ForecastedEventsList = (output, context) => {
|
|
2672
|
+
const retVal = (output || [])
|
|
2673
|
+
.filter((e) => e != null)
|
|
2674
|
+
.map((entry) => {
|
|
2675
|
+
return de_ForecastedEvent(entry, context);
|
|
2676
|
+
});
|
|
2677
|
+
return retVal;
|
|
2678
|
+
};
|
|
2515
2679
|
const de_GeofenceGeometry = (output, context) => {
|
|
2516
2680
|
return take(output, {
|
|
2517
2681
|
Circle: (_) => de_Circle(_, context),
|
|
2682
|
+
Geobuf: context.base64Decoder,
|
|
2518
2683
|
Polygon: (_) => de_LinearRings(_, context),
|
|
2519
2684
|
});
|
|
2520
2685
|
};
|
|
2686
|
+
const de_InferredState = (output, context) => {
|
|
2687
|
+
return take(output, {
|
|
2688
|
+
Accuracy: (_) => de_PositionalAccuracy(_, context),
|
|
2689
|
+
DeviationDistance: __limitedParseDouble,
|
|
2690
|
+
Position: (_) => de_Position(_, context),
|
|
2691
|
+
ProxyDetected: __expectBoolean,
|
|
2692
|
+
});
|
|
2693
|
+
};
|
|
2521
2694
|
const de_Leg = (output, context) => {
|
|
2522
2695
|
return take(output, {
|
|
2523
2696
|
Distance: __limitedParseDouble,
|
package/dist-types/Location.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ import { DescribePlaceIndexCommandInput, DescribePlaceIndexCommandOutput } from
|
|
|
27
27
|
import { DescribeRouteCalculatorCommandInput, DescribeRouteCalculatorCommandOutput } from "./commands/DescribeRouteCalculatorCommand";
|
|
28
28
|
import { DescribeTrackerCommandInput, DescribeTrackerCommandOutput } from "./commands/DescribeTrackerCommand";
|
|
29
29
|
import { DisassociateTrackerConsumerCommandInput, DisassociateTrackerConsumerCommandOutput } from "./commands/DisassociateTrackerConsumerCommand";
|
|
30
|
+
import { ForecastGeofenceEventsCommandInput, ForecastGeofenceEventsCommandOutput } from "./commands/ForecastGeofenceEventsCommand";
|
|
30
31
|
import { GetDevicePositionCommandInput, GetDevicePositionCommandOutput } from "./commands/GetDevicePositionCommand";
|
|
31
32
|
import { GetDevicePositionHistoryCommandInput, GetDevicePositionHistoryCommandOutput } from "./commands/GetDevicePositionHistoryCommand";
|
|
32
33
|
import { GetGeofenceCommandInput, GetGeofenceCommandOutput } from "./commands/GetGeofenceCommand";
|
|
@@ -57,6 +58,7 @@ import { UpdateMapCommandInput, UpdateMapCommandOutput } from "./commands/Update
|
|
|
57
58
|
import { UpdatePlaceIndexCommandInput, UpdatePlaceIndexCommandOutput } from "./commands/UpdatePlaceIndexCommand";
|
|
58
59
|
import { UpdateRouteCalculatorCommandInput, UpdateRouteCalculatorCommandOutput } from "./commands/UpdateRouteCalculatorCommand";
|
|
59
60
|
import { UpdateTrackerCommandInput, UpdateTrackerCommandOutput } from "./commands/UpdateTrackerCommand";
|
|
61
|
+
import { VerifyDevicePositionCommandInput, VerifyDevicePositionCommandOutput } from "./commands/VerifyDevicePositionCommand";
|
|
60
62
|
import { LocationClient } from "./LocationClient";
|
|
61
63
|
export interface Location {
|
|
62
64
|
/**
|
|
@@ -227,6 +229,12 @@ export interface Location {
|
|
|
227
229
|
disassociateTrackerConsumer(args: DisassociateTrackerConsumerCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateTrackerConsumerCommandOutput>;
|
|
228
230
|
disassociateTrackerConsumer(args: DisassociateTrackerConsumerCommandInput, cb: (err: any, data?: DisassociateTrackerConsumerCommandOutput) => void): void;
|
|
229
231
|
disassociateTrackerConsumer(args: DisassociateTrackerConsumerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateTrackerConsumerCommandOutput) => void): void;
|
|
232
|
+
/**
|
|
233
|
+
* @see {@link ForecastGeofenceEventsCommand}
|
|
234
|
+
*/
|
|
235
|
+
forecastGeofenceEvents(args: ForecastGeofenceEventsCommandInput, options?: __HttpHandlerOptions): Promise<ForecastGeofenceEventsCommandOutput>;
|
|
236
|
+
forecastGeofenceEvents(args: ForecastGeofenceEventsCommandInput, cb: (err: any, data?: ForecastGeofenceEventsCommandOutput) => void): void;
|
|
237
|
+
forecastGeofenceEvents(args: ForecastGeofenceEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ForecastGeofenceEventsCommandOutput) => void): void;
|
|
230
238
|
/**
|
|
231
239
|
* @see {@link GetDevicePositionCommand}
|
|
232
240
|
*/
|
|
@@ -413,6 +421,12 @@ export interface Location {
|
|
|
413
421
|
updateTracker(args: UpdateTrackerCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTrackerCommandOutput>;
|
|
414
422
|
updateTracker(args: UpdateTrackerCommandInput, cb: (err: any, data?: UpdateTrackerCommandOutput) => void): void;
|
|
415
423
|
updateTracker(args: UpdateTrackerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTrackerCommandOutput) => void): void;
|
|
424
|
+
/**
|
|
425
|
+
* @see {@link VerifyDevicePositionCommand}
|
|
426
|
+
*/
|
|
427
|
+
verifyDevicePosition(args: VerifyDevicePositionCommandInput, options?: __HttpHandlerOptions): Promise<VerifyDevicePositionCommandOutput>;
|
|
428
|
+
verifyDevicePosition(args: VerifyDevicePositionCommandInput, cb: (err: any, data?: VerifyDevicePositionCommandOutput) => void): void;
|
|
429
|
+
verifyDevicePosition(args: VerifyDevicePositionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: VerifyDevicePositionCommandOutput) => void): void;
|
|
416
430
|
}
|
|
417
431
|
/**
|
|
418
432
|
* <p>"Suite of geospatial services including Maps, Places, Routes, Tracking, and Geofencing"</p>
|
|
@@ -35,6 +35,7 @@ import { DescribePlaceIndexCommandInput, DescribePlaceIndexCommandOutput } from
|
|
|
35
35
|
import { DescribeRouteCalculatorCommandInput, DescribeRouteCalculatorCommandOutput } from "./commands/DescribeRouteCalculatorCommand";
|
|
36
36
|
import { DescribeTrackerCommandInput, DescribeTrackerCommandOutput } from "./commands/DescribeTrackerCommand";
|
|
37
37
|
import { DisassociateTrackerConsumerCommandInput, DisassociateTrackerConsumerCommandOutput } from "./commands/DisassociateTrackerConsumerCommand";
|
|
38
|
+
import { ForecastGeofenceEventsCommandInput, ForecastGeofenceEventsCommandOutput } from "./commands/ForecastGeofenceEventsCommand";
|
|
38
39
|
import { GetDevicePositionCommandInput, GetDevicePositionCommandOutput } from "./commands/GetDevicePositionCommand";
|
|
39
40
|
import { GetDevicePositionHistoryCommandInput, GetDevicePositionHistoryCommandOutput } from "./commands/GetDevicePositionHistoryCommand";
|
|
40
41
|
import { GetGeofenceCommandInput, GetGeofenceCommandOutput } from "./commands/GetGeofenceCommand";
|
|
@@ -65,17 +66,18 @@ import { UpdateMapCommandInput, UpdateMapCommandOutput } from "./commands/Update
|
|
|
65
66
|
import { UpdatePlaceIndexCommandInput, UpdatePlaceIndexCommandOutput } from "./commands/UpdatePlaceIndexCommand";
|
|
66
67
|
import { UpdateRouteCalculatorCommandInput, UpdateRouteCalculatorCommandOutput } from "./commands/UpdateRouteCalculatorCommand";
|
|
67
68
|
import { UpdateTrackerCommandInput, UpdateTrackerCommandOutput } from "./commands/UpdateTrackerCommand";
|
|
69
|
+
import { VerifyDevicePositionCommandInput, VerifyDevicePositionCommandOutput } from "./commands/VerifyDevicePositionCommand";
|
|
68
70
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
69
71
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
70
72
|
export { __Client };
|
|
71
73
|
/**
|
|
72
74
|
* @public
|
|
73
75
|
*/
|
|
74
|
-
export type ServiceInputTypes = AssociateTrackerConsumerCommandInput | BatchDeleteDevicePositionHistoryCommandInput | BatchDeleteGeofenceCommandInput | BatchEvaluateGeofencesCommandInput | BatchGetDevicePositionCommandInput | BatchPutGeofenceCommandInput | BatchUpdateDevicePositionCommandInput | CalculateRouteCommandInput | CalculateRouteMatrixCommandInput | CreateGeofenceCollectionCommandInput | CreateKeyCommandInput | CreateMapCommandInput | CreatePlaceIndexCommandInput | CreateRouteCalculatorCommandInput | CreateTrackerCommandInput | DeleteGeofenceCollectionCommandInput | DeleteKeyCommandInput | DeleteMapCommandInput | DeletePlaceIndexCommandInput | DeleteRouteCalculatorCommandInput | DeleteTrackerCommandInput | DescribeGeofenceCollectionCommandInput | DescribeKeyCommandInput | DescribeMapCommandInput | DescribePlaceIndexCommandInput | DescribeRouteCalculatorCommandInput | DescribeTrackerCommandInput | DisassociateTrackerConsumerCommandInput | GetDevicePositionCommandInput | GetDevicePositionHistoryCommandInput | GetGeofenceCommandInput | GetMapGlyphsCommandInput | GetMapSpritesCommandInput | GetMapStyleDescriptorCommandInput | GetMapTileCommandInput | GetPlaceCommandInput | ListDevicePositionsCommandInput | ListGeofenceCollectionsCommandInput | ListGeofencesCommandInput | ListKeysCommandInput | ListMapsCommandInput | ListPlaceIndexesCommandInput | ListRouteCalculatorsCommandInput | ListTagsForResourceCommandInput | ListTrackerConsumersCommandInput | ListTrackersCommandInput | PutGeofenceCommandInput | SearchPlaceIndexForPositionCommandInput | SearchPlaceIndexForSuggestionsCommandInput | SearchPlaceIndexForTextCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGeofenceCollectionCommandInput | UpdateKeyCommandInput | UpdateMapCommandInput | UpdatePlaceIndexCommandInput | UpdateRouteCalculatorCommandInput | UpdateTrackerCommandInput;
|
|
76
|
+
export type ServiceInputTypes = AssociateTrackerConsumerCommandInput | BatchDeleteDevicePositionHistoryCommandInput | BatchDeleteGeofenceCommandInput | BatchEvaluateGeofencesCommandInput | BatchGetDevicePositionCommandInput | BatchPutGeofenceCommandInput | BatchUpdateDevicePositionCommandInput | CalculateRouteCommandInput | CalculateRouteMatrixCommandInput | CreateGeofenceCollectionCommandInput | CreateKeyCommandInput | CreateMapCommandInput | CreatePlaceIndexCommandInput | CreateRouteCalculatorCommandInput | CreateTrackerCommandInput | DeleteGeofenceCollectionCommandInput | DeleteKeyCommandInput | DeleteMapCommandInput | DeletePlaceIndexCommandInput | DeleteRouteCalculatorCommandInput | DeleteTrackerCommandInput | DescribeGeofenceCollectionCommandInput | DescribeKeyCommandInput | DescribeMapCommandInput | DescribePlaceIndexCommandInput | DescribeRouteCalculatorCommandInput | DescribeTrackerCommandInput | DisassociateTrackerConsumerCommandInput | ForecastGeofenceEventsCommandInput | GetDevicePositionCommandInput | GetDevicePositionHistoryCommandInput | GetGeofenceCommandInput | GetMapGlyphsCommandInput | GetMapSpritesCommandInput | GetMapStyleDescriptorCommandInput | GetMapTileCommandInput | GetPlaceCommandInput | ListDevicePositionsCommandInput | ListGeofenceCollectionsCommandInput | ListGeofencesCommandInput | ListKeysCommandInput | ListMapsCommandInput | ListPlaceIndexesCommandInput | ListRouteCalculatorsCommandInput | ListTagsForResourceCommandInput | ListTrackerConsumersCommandInput | ListTrackersCommandInput | PutGeofenceCommandInput | SearchPlaceIndexForPositionCommandInput | SearchPlaceIndexForSuggestionsCommandInput | SearchPlaceIndexForTextCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGeofenceCollectionCommandInput | UpdateKeyCommandInput | UpdateMapCommandInput | UpdatePlaceIndexCommandInput | UpdateRouteCalculatorCommandInput | UpdateTrackerCommandInput | VerifyDevicePositionCommandInput;
|
|
75
77
|
/**
|
|
76
78
|
* @public
|
|
77
79
|
*/
|
|
78
|
-
export type ServiceOutputTypes = AssociateTrackerConsumerCommandOutput | BatchDeleteDevicePositionHistoryCommandOutput | BatchDeleteGeofenceCommandOutput | BatchEvaluateGeofencesCommandOutput | BatchGetDevicePositionCommandOutput | BatchPutGeofenceCommandOutput | BatchUpdateDevicePositionCommandOutput | CalculateRouteCommandOutput | CalculateRouteMatrixCommandOutput | CreateGeofenceCollectionCommandOutput | CreateKeyCommandOutput | CreateMapCommandOutput | CreatePlaceIndexCommandOutput | CreateRouteCalculatorCommandOutput | CreateTrackerCommandOutput | DeleteGeofenceCollectionCommandOutput | DeleteKeyCommandOutput | DeleteMapCommandOutput | DeletePlaceIndexCommandOutput | DeleteRouteCalculatorCommandOutput | DeleteTrackerCommandOutput | DescribeGeofenceCollectionCommandOutput | DescribeKeyCommandOutput | DescribeMapCommandOutput | DescribePlaceIndexCommandOutput | DescribeRouteCalculatorCommandOutput | DescribeTrackerCommandOutput | DisassociateTrackerConsumerCommandOutput | GetDevicePositionCommandOutput | GetDevicePositionHistoryCommandOutput | GetGeofenceCommandOutput | GetMapGlyphsCommandOutput | GetMapSpritesCommandOutput | GetMapStyleDescriptorCommandOutput | GetMapTileCommandOutput | GetPlaceCommandOutput | ListDevicePositionsCommandOutput | ListGeofenceCollectionsCommandOutput | ListGeofencesCommandOutput | ListKeysCommandOutput | ListMapsCommandOutput | ListPlaceIndexesCommandOutput | ListRouteCalculatorsCommandOutput | ListTagsForResourceCommandOutput | ListTrackerConsumersCommandOutput | ListTrackersCommandOutput | PutGeofenceCommandOutput | SearchPlaceIndexForPositionCommandOutput | SearchPlaceIndexForSuggestionsCommandOutput | SearchPlaceIndexForTextCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGeofenceCollectionCommandOutput | UpdateKeyCommandOutput | UpdateMapCommandOutput | UpdatePlaceIndexCommandOutput | UpdateRouteCalculatorCommandOutput | UpdateTrackerCommandOutput;
|
|
80
|
+
export type ServiceOutputTypes = AssociateTrackerConsumerCommandOutput | BatchDeleteDevicePositionHistoryCommandOutput | BatchDeleteGeofenceCommandOutput | BatchEvaluateGeofencesCommandOutput | BatchGetDevicePositionCommandOutput | BatchPutGeofenceCommandOutput | BatchUpdateDevicePositionCommandOutput | CalculateRouteCommandOutput | CalculateRouteMatrixCommandOutput | CreateGeofenceCollectionCommandOutput | CreateKeyCommandOutput | CreateMapCommandOutput | CreatePlaceIndexCommandOutput | CreateRouteCalculatorCommandOutput | CreateTrackerCommandOutput | DeleteGeofenceCollectionCommandOutput | DeleteKeyCommandOutput | DeleteMapCommandOutput | DeletePlaceIndexCommandOutput | DeleteRouteCalculatorCommandOutput | DeleteTrackerCommandOutput | DescribeGeofenceCollectionCommandOutput | DescribeKeyCommandOutput | DescribeMapCommandOutput | DescribePlaceIndexCommandOutput | DescribeRouteCalculatorCommandOutput | DescribeTrackerCommandOutput | DisassociateTrackerConsumerCommandOutput | ForecastGeofenceEventsCommandOutput | GetDevicePositionCommandOutput | GetDevicePositionHistoryCommandOutput | GetGeofenceCommandOutput | GetMapGlyphsCommandOutput | GetMapSpritesCommandOutput | GetMapStyleDescriptorCommandOutput | GetMapTileCommandOutput | GetPlaceCommandOutput | ListDevicePositionsCommandOutput | ListGeofenceCollectionsCommandOutput | ListGeofencesCommandOutput | ListKeysCommandOutput | ListMapsCommandOutput | ListPlaceIndexesCommandOutput | ListRouteCalculatorsCommandOutput | ListTagsForResourceCommandOutput | ListTrackerConsumersCommandOutput | ListTrackersCommandOutput | PutGeofenceCommandOutput | SearchPlaceIndexForPositionCommandOutput | SearchPlaceIndexForSuggestionsCommandOutput | SearchPlaceIndexForTextCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGeofenceCollectionCommandOutput | UpdateKeyCommandOutput | UpdateMapCommandOutput | UpdatePlaceIndexCommandOutput | UpdateRouteCalculatorCommandOutput | UpdateTrackerCommandOutput | VerifyDevicePositionCommandOutput;
|
|
79
81
|
/**
|
|
80
82
|
* @public
|
|
81
83
|
*/
|
|
@@ -148,15 +150,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
148
150
|
* Enables FIPS compatible endpoints.
|
|
149
151
|
*/
|
|
150
152
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
153
|
+
/**
|
|
154
|
+
* The AWS region to which this client will send requests
|
|
155
|
+
*/
|
|
156
|
+
region?: string | __Provider<string>;
|
|
151
157
|
/**
|
|
152
158
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
153
159
|
* @internal
|
|
154
160
|
*/
|
|
155
161
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
156
|
-
/**
|
|
157
|
-
* The AWS region to which this client will send requests
|
|
158
|
-
*/
|
|
159
|
-
region?: string | __Provider<string>;
|
|
160
162
|
/**
|
|
161
163
|
* Default credentials provider; Not available in browser runtime.
|
|
162
164
|
* @deprecated
|
|
@@ -5,7 +5,8 @@ import { BatchPutGeofenceRequest, BatchPutGeofenceResponse } from "../models/mod
|
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
|
-
export { __MetadataBearer
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
9
10
|
/**
|
|
10
11
|
* @public
|
|
11
12
|
*
|
|
@@ -53,6 +54,7 @@ declare const BatchPutGeofenceCommand_base: {
|
|
|
53
54
|
* ],
|
|
54
55
|
* Radius: Number("double"), // required
|
|
55
56
|
* },
|
|
57
|
+
* Geobuf: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
56
58
|
* },
|
|
57
59
|
* GeofenceProperties: { // PropertyMap
|
|
58
60
|
* "<keys>": "STRING_VALUE",
|