@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.
Files changed (150) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +269 -61
  3. package/dist-es/Location.js +4 -0
  4. package/dist-es/commands/ForecastGeofenceEventsCommand.js +25 -0
  5. package/dist-es/commands/VerifyDevicePositionCommand.js +25 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +35 -0
  8. package/dist-es/pagination/ForecastGeofenceEventsPaginator.js +4 -0
  9. package/dist-es/pagination/index.js +1 -0
  10. package/dist-es/protocols/Aws_restJson1.js +173 -0
  11. package/dist-types/Location.d.ts +14 -0
  12. package/dist-types/LocationClient.d.ts +8 -6
  13. package/dist-types/commands/AssociateTrackerConsumerCommand.d.ts +2 -1
  14. package/dist-types/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +2 -1
  15. package/dist-types/commands/BatchDeleteGeofenceCommand.d.ts +2 -1
  16. package/dist-types/commands/BatchEvaluateGeofencesCommand.d.ts +2 -1
  17. package/dist-types/commands/BatchGetDevicePositionCommand.d.ts +2 -1
  18. package/dist-types/commands/BatchPutGeofenceCommand.d.ts +3 -1
  19. package/dist-types/commands/BatchUpdateDevicePositionCommand.d.ts +2 -1
  20. package/dist-types/commands/CalculateRouteCommand.d.ts +2 -1
  21. package/dist-types/commands/CalculateRouteMatrixCommand.d.ts +2 -1
  22. package/dist-types/commands/CreateGeofenceCollectionCommand.d.ts +2 -1
  23. package/dist-types/commands/CreateKeyCommand.d.ts +2 -1
  24. package/dist-types/commands/CreateMapCommand.d.ts +2 -1
  25. package/dist-types/commands/CreatePlaceIndexCommand.d.ts +2 -1
  26. package/dist-types/commands/CreateRouteCalculatorCommand.d.ts +2 -1
  27. package/dist-types/commands/CreateTrackerCommand.d.ts +2 -1
  28. package/dist-types/commands/DeleteGeofenceCollectionCommand.d.ts +2 -1
  29. package/dist-types/commands/DeleteKeyCommand.d.ts +2 -1
  30. package/dist-types/commands/DeleteMapCommand.d.ts +2 -1
  31. package/dist-types/commands/DeletePlaceIndexCommand.d.ts +2 -1
  32. package/dist-types/commands/DeleteRouteCalculatorCommand.d.ts +2 -1
  33. package/dist-types/commands/DeleteTrackerCommand.d.ts +2 -1
  34. package/dist-types/commands/DescribeGeofenceCollectionCommand.d.ts +2 -1
  35. package/dist-types/commands/DescribeKeyCommand.d.ts +2 -1
  36. package/dist-types/commands/DescribeMapCommand.d.ts +2 -1
  37. package/dist-types/commands/DescribePlaceIndexCommand.d.ts +2 -1
  38. package/dist-types/commands/DescribeRouteCalculatorCommand.d.ts +2 -1
  39. package/dist-types/commands/DescribeTrackerCommand.d.ts +2 -1
  40. package/dist-types/commands/DisassociateTrackerConsumerCommand.d.ts +2 -1
  41. package/dist-types/commands/ForecastGeofenceEventsCommand.d.ts +110 -0
  42. package/dist-types/commands/GetDevicePositionCommand.d.ts +2 -1
  43. package/dist-types/commands/GetDevicePositionHistoryCommand.d.ts +2 -1
  44. package/dist-types/commands/GetGeofenceCommand.d.ts +6 -1
  45. package/dist-types/commands/GetMapGlyphsCommand.d.ts +2 -1
  46. package/dist-types/commands/GetMapSpritesCommand.d.ts +2 -1
  47. package/dist-types/commands/GetMapStyleDescriptorCommand.d.ts +2 -1
  48. package/dist-types/commands/GetMapTileCommand.d.ts +2 -1
  49. package/dist-types/commands/GetPlaceCommand.d.ts +2 -1
  50. package/dist-types/commands/ListDevicePositionsCommand.d.ts +2 -1
  51. package/dist-types/commands/ListGeofenceCollectionsCommand.d.ts +2 -1
  52. package/dist-types/commands/ListGeofencesCommand.d.ts +3 -1
  53. package/dist-types/commands/ListKeysCommand.d.ts +2 -1
  54. package/dist-types/commands/ListMapsCommand.d.ts +2 -1
  55. package/dist-types/commands/ListPlaceIndexesCommand.d.ts +2 -1
  56. package/dist-types/commands/ListRouteCalculatorsCommand.d.ts +2 -1
  57. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  58. package/dist-types/commands/ListTrackerConsumersCommand.d.ts +2 -1
  59. package/dist-types/commands/ListTrackersCommand.d.ts +2 -1
  60. package/dist-types/commands/PutGeofenceCommand.d.ts +3 -1
  61. package/dist-types/commands/SearchPlaceIndexForPositionCommand.d.ts +2 -1
  62. package/dist-types/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +2 -1
  63. package/dist-types/commands/SearchPlaceIndexForTextCommand.d.ts +2 -1
  64. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  65. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  66. package/dist-types/commands/UpdateGeofenceCollectionCommand.d.ts +2 -1
  67. package/dist-types/commands/UpdateKeyCommand.d.ts +2 -1
  68. package/dist-types/commands/UpdateMapCommand.d.ts +2 -1
  69. package/dist-types/commands/UpdatePlaceIndexCommand.d.ts +2 -1
  70. package/dist-types/commands/UpdateRouteCalculatorCommand.d.ts +2 -1
  71. package/dist-types/commands/UpdateTrackerCommand.d.ts +2 -1
  72. package/dist-types/commands/VerifyDevicePositionCommand.d.ts +134 -0
  73. package/dist-types/commands/index.d.ts +2 -0
  74. package/dist-types/index.d.ts +2 -2
  75. package/dist-types/models/LocationServiceException.d.ts +2 -1
  76. package/dist-types/models/models_0.d.ts +494 -112
  77. package/dist-types/pagination/ForecastGeofenceEventsPaginator.d.ts +7 -0
  78. package/dist-types/pagination/index.d.ts +1 -0
  79. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  80. package/dist-types/runtimeConfig.native.d.ts +1 -1
  81. package/dist-types/ts3.4/Location.d.ts +34 -0
  82. package/dist-types/ts3.4/LocationClient.d.ts +15 -3
  83. package/dist-types/ts3.4/commands/AssociateTrackerConsumerCommand.d.ts +2 -1
  84. package/dist-types/ts3.4/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +2 -1
  85. package/dist-types/ts3.4/commands/BatchDeleteGeofenceCommand.d.ts +2 -1
  86. package/dist-types/ts3.4/commands/BatchEvaluateGeofencesCommand.d.ts +2 -1
  87. package/dist-types/ts3.4/commands/BatchGetDevicePositionCommand.d.ts +2 -1
  88. package/dist-types/ts3.4/commands/BatchPutGeofenceCommand.d.ts +2 -1
  89. package/dist-types/ts3.4/commands/BatchUpdateDevicePositionCommand.d.ts +2 -1
  90. package/dist-types/ts3.4/commands/CalculateRouteCommand.d.ts +2 -1
  91. package/dist-types/ts3.4/commands/CalculateRouteMatrixCommand.d.ts +2 -1
  92. package/dist-types/ts3.4/commands/CreateGeofenceCollectionCommand.d.ts +2 -1
  93. package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +2 -1
  94. package/dist-types/ts3.4/commands/CreateMapCommand.d.ts +2 -1
  95. package/dist-types/ts3.4/commands/CreatePlaceIndexCommand.d.ts +2 -1
  96. package/dist-types/ts3.4/commands/CreateRouteCalculatorCommand.d.ts +2 -1
  97. package/dist-types/ts3.4/commands/CreateTrackerCommand.d.ts +2 -1
  98. package/dist-types/ts3.4/commands/DeleteGeofenceCollectionCommand.d.ts +2 -1
  99. package/dist-types/ts3.4/commands/DeleteKeyCommand.d.ts +2 -1
  100. package/dist-types/ts3.4/commands/DeleteMapCommand.d.ts +2 -1
  101. package/dist-types/ts3.4/commands/DeletePlaceIndexCommand.d.ts +2 -1
  102. package/dist-types/ts3.4/commands/DeleteRouteCalculatorCommand.d.ts +2 -1
  103. package/dist-types/ts3.4/commands/DeleteTrackerCommand.d.ts +2 -1
  104. package/dist-types/ts3.4/commands/DescribeGeofenceCollectionCommand.d.ts +2 -1
  105. package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +2 -1
  106. package/dist-types/ts3.4/commands/DescribeMapCommand.d.ts +2 -1
  107. package/dist-types/ts3.4/commands/DescribePlaceIndexCommand.d.ts +2 -1
  108. package/dist-types/ts3.4/commands/DescribeRouteCalculatorCommand.d.ts +2 -1
  109. package/dist-types/ts3.4/commands/DescribeTrackerCommand.d.ts +2 -1
  110. package/dist-types/ts3.4/commands/DisassociateTrackerConsumerCommand.d.ts +2 -1
  111. package/dist-types/ts3.4/commands/ForecastGeofenceEventsCommand.d.ts +40 -0
  112. package/dist-types/ts3.4/commands/GetDevicePositionCommand.d.ts +2 -1
  113. package/dist-types/ts3.4/commands/GetDevicePositionHistoryCommand.d.ts +2 -1
  114. package/dist-types/ts3.4/commands/GetGeofenceCommand.d.ts +2 -1
  115. package/dist-types/ts3.4/commands/GetMapGlyphsCommand.d.ts +2 -1
  116. package/dist-types/ts3.4/commands/GetMapSpritesCommand.d.ts +2 -1
  117. package/dist-types/ts3.4/commands/GetMapStyleDescriptorCommand.d.ts +2 -1
  118. package/dist-types/ts3.4/commands/GetMapTileCommand.d.ts +2 -1
  119. package/dist-types/ts3.4/commands/GetPlaceCommand.d.ts +2 -1
  120. package/dist-types/ts3.4/commands/ListDevicePositionsCommand.d.ts +2 -1
  121. package/dist-types/ts3.4/commands/ListGeofenceCollectionsCommand.d.ts +2 -1
  122. package/dist-types/ts3.4/commands/ListGeofencesCommand.d.ts +2 -1
  123. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +2 -1
  124. package/dist-types/ts3.4/commands/ListMapsCommand.d.ts +2 -1
  125. package/dist-types/ts3.4/commands/ListPlaceIndexesCommand.d.ts +2 -1
  126. package/dist-types/ts3.4/commands/ListRouteCalculatorsCommand.d.ts +2 -1
  127. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -1
  128. package/dist-types/ts3.4/commands/ListTrackerConsumersCommand.d.ts +2 -1
  129. package/dist-types/ts3.4/commands/ListTrackersCommand.d.ts +2 -1
  130. package/dist-types/ts3.4/commands/PutGeofenceCommand.d.ts +2 -1
  131. package/dist-types/ts3.4/commands/SearchPlaceIndexForPositionCommand.d.ts +2 -1
  132. package/dist-types/ts3.4/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +2 -1
  133. package/dist-types/ts3.4/commands/SearchPlaceIndexForTextCommand.d.ts +2 -1
  134. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -1
  135. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -1
  136. package/dist-types/ts3.4/commands/UpdateGeofenceCollectionCommand.d.ts +2 -1
  137. package/dist-types/ts3.4/commands/UpdateKeyCommand.d.ts +2 -1
  138. package/dist-types/ts3.4/commands/UpdateMapCommand.d.ts +2 -1
  139. package/dist-types/ts3.4/commands/UpdatePlaceIndexCommand.d.ts +2 -1
  140. package/dist-types/ts3.4/commands/UpdateRouteCalculatorCommand.d.ts +2 -1
  141. package/dist-types/ts3.4/commands/UpdateTrackerCommand.d.ts +2 -1
  142. package/dist-types/ts3.4/commands/VerifyDevicePositionCommand.d.ts +40 -0
  143. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  144. package/dist-types/ts3.4/models/LocationServiceException.d.ts +2 -1
  145. package/dist-types/ts3.4/models/models_0.d.ts +110 -0
  146. package/dist-types/ts3.4/pagination/ForecastGeofenceEventsPaginator.d.ts +11 -0
  147. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  148. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  149. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  150. package/package.json +6 -6
package/dist-cjs/index.js CHANGED
@@ -65,7 +65,13 @@ __export(src_exports, {
65
65
  DescribeTrackerCommand: () => DescribeTrackerCommand,
66
66
  DevicePositionFilterSensitiveLog: () => DevicePositionFilterSensitiveLog,
67
67
  DevicePositionUpdateFilterSensitiveLog: () => DevicePositionUpdateFilterSensitiveLog,
68
+ DeviceStateFilterSensitiveLog: () => DeviceStateFilterSensitiveLog,
68
69
  DisassociateTrackerConsumerCommand: () => DisassociateTrackerConsumerCommand,
70
+ ForecastGeofenceEventsCommand: () => ForecastGeofenceEventsCommand,
71
+ ForecastGeofenceEventsDeviceStateFilterSensitiveLog: () => ForecastGeofenceEventsDeviceStateFilterSensitiveLog,
72
+ ForecastGeofenceEventsRequestFilterSensitiveLog: () => ForecastGeofenceEventsRequestFilterSensitiveLog,
73
+ ForecastGeofenceEventsResponseFilterSensitiveLog: () => ForecastGeofenceEventsResponseFilterSensitiveLog,
74
+ ForecastedEventFilterSensitiveLog: () => ForecastedEventFilterSensitiveLog,
69
75
  GeofenceGeometryFilterSensitiveLog: () => GeofenceGeometryFilterSensitiveLog,
70
76
  GetDevicePositionCommand: () => GetDevicePositionCommand,
71
77
  GetDevicePositionHistoryCommand: () => GetDevicePositionHistoryCommand,
@@ -84,6 +90,7 @@ __export(src_exports, {
84
90
  GetPlaceCommand: () => GetPlaceCommand,
85
91
  GetPlaceRequestFilterSensitiveLog: () => GetPlaceRequestFilterSensitiveLog,
86
92
  GetPlaceResponseFilterSensitiveLog: () => GetPlaceResponseFilterSensitiveLog,
93
+ InferredStateFilterSensitiveLog: () => InferredStateFilterSensitiveLog,
87
94
  InternalServerException: () => InternalServerException,
88
95
  LegFilterSensitiveLog: () => LegFilterSensitiveLog,
89
96
  LegGeometryFilterSensitiveLog: () => LegGeometryFilterSensitiveLog,
@@ -137,7 +144,11 @@ __export(src_exports, {
137
144
  UpdateRouteCalculatorCommand: () => UpdateRouteCalculatorCommand,
138
145
  UpdateTrackerCommand: () => UpdateTrackerCommand,
139
146
  ValidationException: () => ValidationException,
147
+ VerifyDevicePositionCommand: () => VerifyDevicePositionCommand,
148
+ VerifyDevicePositionRequestFilterSensitiveLog: () => VerifyDevicePositionRequestFilterSensitiveLog,
149
+ VerifyDevicePositionResponseFilterSensitiveLog: () => VerifyDevicePositionResponseFilterSensitiveLog,
140
150
  __Client: () => import_smithy_client.Client,
151
+ paginateForecastGeofenceEvents: () => paginateForecastGeofenceEvents,
141
152
  paginateGetDevicePositionHistory: () => paginateGetDevicePositionHistory,
142
153
  paginateListDevicePositions: () => paginateListDevicePositions,
143
154
  paginateListGeofenceCollections: () => paginateListGeofenceCollections,
@@ -301,7 +312,6 @@ var LocationClient = _LocationClient;
301
312
 
302
313
  var import_middleware_serde = require("@smithy/middleware-serde");
303
314
 
304
- var import_types = require("@smithy/types");
305
315
 
306
316
  // src/protocols/Aws_restJson1.ts
307
317
  var import_core2 = require("@aws-sdk/core");
@@ -492,7 +502,8 @@ var CircleFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
492
502
  var GeofenceGeometryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
493
503
  ...obj,
494
504
  ...obj.Polygon && { Polygon: obj.Polygon.map((item) => import_smithy_client.SENSITIVE_STRING) },
495
- ...obj.Circle && { Circle: import_smithy_client.SENSITIVE_STRING }
505
+ ...obj.Circle && { Circle: import_smithy_client.SENSITIVE_STRING },
506
+ ...obj.Geobuf && { Geobuf: import_smithy_client.SENSITIVE_STRING }
496
507
  }), "GeofenceGeometryFilterSensitiveLog");
497
508
  var BatchPutGeofenceRequestEntryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
498
509
  ...obj,
@@ -550,6 +561,28 @@ var CalculateRouteMatrixResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj
550
561
  ...obj.SnappedDeparturePositions && { SnappedDeparturePositions: import_smithy_client.SENSITIVE_STRING },
551
562
  ...obj.SnappedDestinationPositions && { SnappedDestinationPositions: import_smithy_client.SENSITIVE_STRING }
552
563
  }), "CalculateRouteMatrixResponseFilterSensitiveLog");
564
+ var DeviceStateFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
565
+ ...obj,
566
+ ...obj.Position && { Position: import_smithy_client.SENSITIVE_STRING }
567
+ }), "DeviceStateFilterSensitiveLog");
568
+ var ForecastedEventFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
569
+ ...obj,
570
+ ...obj.GeofenceProperties && { GeofenceProperties: import_smithy_client.SENSITIVE_STRING }
571
+ }), "ForecastedEventFilterSensitiveLog");
572
+ var ForecastGeofenceEventsDeviceStateFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
573
+ ...obj,
574
+ ...obj.Position && { Position: import_smithy_client.SENSITIVE_STRING }
575
+ }), "ForecastGeofenceEventsDeviceStateFilterSensitiveLog");
576
+ var ForecastGeofenceEventsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
577
+ ...obj,
578
+ ...obj.DeviceState && { DeviceState: ForecastGeofenceEventsDeviceStateFilterSensitiveLog(obj.DeviceState) }
579
+ }), "ForecastGeofenceEventsRequestFilterSensitiveLog");
580
+ var ForecastGeofenceEventsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
581
+ ...obj,
582
+ ...obj.ForecastedEvents && {
583
+ ForecastedEvents: obj.ForecastedEvents.map((item) => ForecastedEventFilterSensitiveLog(item))
584
+ }
585
+ }), "ForecastGeofenceEventsResponseFilterSensitiveLog");
553
586
  var GetGeofenceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
554
587
  ...obj,
555
588
  ...obj.Geometry && { Geometry: GeofenceGeometryFilterSensitiveLog(obj.Geometry) },
@@ -612,6 +645,10 @@ var GetPlaceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
612
645
  ...obj,
613
646
  ...obj.Place && { Place: PlaceFilterSensitiveLog(obj.Place) }
614
647
  }), "GetPlaceResponseFilterSensitiveLog");
648
+ var InferredStateFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
649
+ ...obj,
650
+ ...obj.Position && { Position: import_smithy_client.SENSITIVE_STRING }
651
+ }), "InferredStateFilterSensitiveLog");
615
652
  var TrackingFilterGeometryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
616
653
  ...obj,
617
654
  ...obj.Polygon && { Polygon: obj.Polygon.map((item) => import_smithy_client.SENSITIVE_STRING) }
@@ -687,6 +724,14 @@ var SearchPlaceIndexForTextResponseFilterSensitiveLog = /* @__PURE__ */ __name((
687
724
  ...obj.Summary && { Summary: SearchPlaceIndexForTextSummaryFilterSensitiveLog(obj.Summary) },
688
725
  ...obj.Results && { Results: obj.Results.map((item) => SearchForTextResultFilterSensitiveLog(item)) }
689
726
  }), "SearchPlaceIndexForTextResponseFilterSensitiveLog");
727
+ var VerifyDevicePositionRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
728
+ ...obj,
729
+ ...obj.DeviceState && { DeviceState: DeviceStateFilterSensitiveLog(obj.DeviceState) }
730
+ }), "VerifyDevicePositionRequestFilterSensitiveLog");
731
+ var VerifyDevicePositionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
732
+ ...obj,
733
+ ...obj.InferredState && { InferredState: InferredStateFilterSensitiveLog(obj.InferredState) }
734
+ }), "VerifyDevicePositionResponseFilterSensitiveLog");
690
735
 
691
736
  // src/protocols/Aws_restJson1.ts
692
737
  var se_AssociateTrackerConsumerCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -1323,6 +1368,35 @@ var se_DisassociateTrackerConsumerCommand = /* @__PURE__ */ __name(async (input,
1323
1368
  b.m("DELETE").h(headers).b(body);
1324
1369
  return b.build();
1325
1370
  }, "se_DisassociateTrackerConsumerCommand");
1371
+ var se_ForecastGeofenceEventsCommand = /* @__PURE__ */ __name(async (input, context) => {
1372
+ const b = (0, import_core.requestBuilder)(input, context);
1373
+ const headers = {
1374
+ "content-type": "application/json"
1375
+ };
1376
+ b.bp("/geofencing/v0/collections/{CollectionName}/forecast-geofence-events");
1377
+ b.p("CollectionName", () => input.CollectionName, "{CollectionName}", false);
1378
+ let body;
1379
+ body = JSON.stringify(
1380
+ (0, import_smithy_client.take)(input, {
1381
+ DeviceState: (_) => se_ForecastGeofenceEventsDeviceState(_, context),
1382
+ DistanceUnit: [],
1383
+ MaxResults: [],
1384
+ NextToken: [],
1385
+ SpeedUnit: [],
1386
+ TimeHorizonMinutes: (_) => (0, import_smithy_client.serializeFloat)(_)
1387
+ })
1388
+ );
1389
+ let { hostname: resolvedHostname } = await context.endpoint();
1390
+ if (context.disableHostPrefix !== true) {
1391
+ resolvedHostname = "geofencing." + resolvedHostname;
1392
+ if (!(0, import_protocol_http.isValidHostname)(resolvedHostname)) {
1393
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1394
+ }
1395
+ }
1396
+ b.hn(resolvedHostname);
1397
+ b.m("POST").h(headers).b(body);
1398
+ return b.build();
1399
+ }, "se_ForecastGeofenceEventsCommand");
1326
1400
  var se_GetDevicePositionCommand = /* @__PURE__ */ __name(async (input, context) => {
1327
1401
  const b = (0, import_core.requestBuilder)(input, context);
1328
1402
  const headers = {};
@@ -2061,6 +2135,31 @@ var se_UpdateTrackerCommand = /* @__PURE__ */ __name(async (input, context) => {
2061
2135
  b.m("PATCH").h(headers).b(body);
2062
2136
  return b.build();
2063
2137
  }, "se_UpdateTrackerCommand");
2138
+ var se_VerifyDevicePositionCommand = /* @__PURE__ */ __name(async (input, context) => {
2139
+ const b = (0, import_core.requestBuilder)(input, context);
2140
+ const headers = {
2141
+ "content-type": "application/json"
2142
+ };
2143
+ b.bp("/tracking/v0/trackers/{TrackerName}/positions/verify");
2144
+ b.p("TrackerName", () => input.TrackerName, "{TrackerName}", false);
2145
+ let body;
2146
+ body = JSON.stringify(
2147
+ (0, import_smithy_client.take)(input, {
2148
+ DeviceState: (_) => se_DeviceState(_, context),
2149
+ DistanceUnit: []
2150
+ })
2151
+ );
2152
+ let { hostname: resolvedHostname } = await context.endpoint();
2153
+ if (context.disableHostPrefix !== true) {
2154
+ resolvedHostname = "tracking." + resolvedHostname;
2155
+ if (!(0, import_protocol_http.isValidHostname)(resolvedHostname)) {
2156
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
2157
+ }
2158
+ }
2159
+ b.hn(resolvedHostname);
2160
+ b.m("POST").h(headers).b(body);
2161
+ return b.build();
2162
+ }, "se_VerifyDevicePositionCommand");
2064
2163
  var de_AssociateTrackerConsumerCommand = /* @__PURE__ */ __name(async (output, context) => {
2065
2164
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2066
2165
  return de_CommandError(output, context);
@@ -2491,6 +2590,23 @@ var de_DisassociateTrackerConsumerCommand = /* @__PURE__ */ __name(async (output
2491
2590
  await (0, import_smithy_client.collectBody)(output.body, context);
2492
2591
  return contents;
2493
2592
  }, "de_DisassociateTrackerConsumerCommand");
2593
+ var de_ForecastGeofenceEventsCommand = /* @__PURE__ */ __name(async (output, context) => {
2594
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2595
+ return de_CommandError(output, context);
2596
+ }
2597
+ const contents = (0, import_smithy_client.map)({
2598
+ $metadata: deserializeMetadata(output)
2599
+ });
2600
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2601
+ const doc = (0, import_smithy_client.take)(data, {
2602
+ DistanceUnit: import_smithy_client.expectString,
2603
+ ForecastedEvents: (_) => de_ForecastedEventsList(_, context),
2604
+ NextToken: import_smithy_client.expectString,
2605
+ SpeedUnit: import_smithy_client.expectString
2606
+ });
2607
+ Object.assign(contents, doc);
2608
+ return contents;
2609
+ }, "de_ForecastGeofenceEventsCommand");
2494
2610
  var de_GetDevicePositionCommand = /* @__PURE__ */ __name(async (output, context) => {
2495
2611
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2496
2612
  return de_CommandError(output, context);
@@ -2936,6 +3052,24 @@ var de_UpdateTrackerCommand = /* @__PURE__ */ __name(async (output, context) =>
2936
3052
  Object.assign(contents, doc);
2937
3053
  return contents;
2938
3054
  }, "de_UpdateTrackerCommand");
3055
+ var de_VerifyDevicePositionCommand = /* @__PURE__ */ __name(async (output, context) => {
3056
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3057
+ return de_CommandError(output, context);
3058
+ }
3059
+ const contents = (0, import_smithy_client.map)({
3060
+ $metadata: deserializeMetadata(output)
3061
+ });
3062
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3063
+ const doc = (0, import_smithy_client.take)(data, {
3064
+ DeviceId: import_smithy_client.expectString,
3065
+ DistanceUnit: import_smithy_client.expectString,
3066
+ InferredState: (_) => de_InferredState(_, context),
3067
+ ReceivedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3068
+ SampleTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
3069
+ });
3070
+ Object.assign(contents, doc);
3071
+ return contents;
3072
+ }, "de_VerifyDevicePositionCommand");
2939
3073
  var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
2940
3074
  const parsedOutput = {
2941
3075
  ...output,
@@ -3092,6 +3226,11 @@ var se_CalculateRouteTruckModeOptions = /* @__PURE__ */ __name((input, context)
3092
3226
  Weight: (_) => se_TruckWeight(_, context)
3093
3227
  });
3094
3228
  }, "se_CalculateRouteTruckModeOptions");
3229
+ var se_CellSignals = /* @__PURE__ */ __name((input, context) => {
3230
+ return (0, import_smithy_client.take)(input, {
3231
+ LteCellDetails: (_) => se_LteCellDetailsList(_, context)
3232
+ });
3233
+ }, "se_CellSignals");
3095
3234
  var se_Circle = /* @__PURE__ */ __name((input, context) => {
3096
3235
  return (0, import_smithy_client.take)(input, {
3097
3236
  Center: (_) => se_Position(_, context),
@@ -3112,9 +3251,27 @@ var se_DevicePositionUpdateList = /* @__PURE__ */ __name((input, context) => {
3112
3251
  return se_DevicePositionUpdate(entry, context);
3113
3252
  });
3114
3253
  }, "se_DevicePositionUpdateList");
3254
+ var se_DeviceState = /* @__PURE__ */ __name((input, context) => {
3255
+ return (0, import_smithy_client.take)(input, {
3256
+ Accuracy: (_) => se_PositionalAccuracy(_, context),
3257
+ CellSignals: (_) => se_CellSignals(_, context),
3258
+ DeviceId: [],
3259
+ Ipv4Address: [],
3260
+ Position: (_) => se_Position(_, context),
3261
+ SampleTime: import_smithy_client.serializeDateTime,
3262
+ WiFiAccessPoints: import_smithy_client._json
3263
+ });
3264
+ }, "se_DeviceState");
3265
+ var se_ForecastGeofenceEventsDeviceState = /* @__PURE__ */ __name((input, context) => {
3266
+ return (0, import_smithy_client.take)(input, {
3267
+ Position: (_) => se_Position(_, context),
3268
+ Speed: import_smithy_client.serializeFloat
3269
+ });
3270
+ }, "se_ForecastGeofenceEventsDeviceState");
3115
3271
  var se_GeofenceGeometry = /* @__PURE__ */ __name((input, context) => {
3116
3272
  return (0, import_smithy_client.take)(input, {
3117
3273
  Circle: (_) => se_Circle(_, context),
3274
+ Geobuf: context.base64Encoder,
3118
3275
  Polygon: (_) => se_LinearRings(_, context)
3119
3276
  });
3120
3277
  }, "se_GeofenceGeometry");
@@ -3128,6 +3285,39 @@ var se_LinearRings = /* @__PURE__ */ __name((input, context) => {
3128
3285
  return se_LinearRing(entry, context);
3129
3286
  });
3130
3287
  }, "se_LinearRings");
3288
+ var se_LteCellDetails = /* @__PURE__ */ __name((input, context) => {
3289
+ return (0, import_smithy_client.take)(input, {
3290
+ CellId: [],
3291
+ LocalId: import_smithy_client._json,
3292
+ Mcc: [],
3293
+ Mnc: [],
3294
+ NetworkMeasurements: (_) => se_LteNetworkMeasurementsList(_, context),
3295
+ NrCapable: [],
3296
+ Rsrp: [],
3297
+ Rsrq: import_smithy_client.serializeFloat,
3298
+ Tac: [],
3299
+ TimingAdvance: []
3300
+ });
3301
+ }, "se_LteCellDetails");
3302
+ var se_LteCellDetailsList = /* @__PURE__ */ __name((input, context) => {
3303
+ return input.filter((e) => e != null).map((entry) => {
3304
+ return se_LteCellDetails(entry, context);
3305
+ });
3306
+ }, "se_LteCellDetailsList");
3307
+ var se_LteNetworkMeasurements = /* @__PURE__ */ __name((input, context) => {
3308
+ return (0, import_smithy_client.take)(input, {
3309
+ CellId: [],
3310
+ Earfcn: [],
3311
+ Pci: [],
3312
+ Rsrp: [],
3313
+ Rsrq: import_smithy_client.serializeFloat
3314
+ });
3315
+ }, "se_LteNetworkMeasurements");
3316
+ var se_LteNetworkMeasurementsList = /* @__PURE__ */ __name((input, context) => {
3317
+ return input.filter((e) => e != null).map((entry) => {
3318
+ return se_LteNetworkMeasurements(entry, context);
3319
+ });
3320
+ }, "se_LteNetworkMeasurementsList");
3131
3321
  var se_Position = /* @__PURE__ */ __name((input, context) => {
3132
3322
  return input.filter((e) => e != null).map((entry) => {
3133
3323
  return (0, import_smithy_client.serializeFloat)(entry);
@@ -3243,12 +3433,38 @@ var de_DevicePositionList = /* @__PURE__ */ __name((output, context) => {
3243
3433
  });
3244
3434
  return retVal;
3245
3435
  }, "de_DevicePositionList");
3436
+ var de_ForecastedEvent = /* @__PURE__ */ __name((output, context) => {
3437
+ return (0, import_smithy_client.take)(output, {
3438
+ EventId: import_smithy_client.expectString,
3439
+ EventType: import_smithy_client.expectString,
3440
+ ForecastedBreachTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3441
+ GeofenceId: import_smithy_client.expectString,
3442
+ GeofenceProperties: import_smithy_client._json,
3443
+ IsDeviceInGeofence: import_smithy_client.expectBoolean,
3444
+ NearestDistance: import_smithy_client.limitedParseDouble
3445
+ });
3446
+ }, "de_ForecastedEvent");
3447
+ var de_ForecastedEventsList = /* @__PURE__ */ __name((output, context) => {
3448
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3449
+ return de_ForecastedEvent(entry, context);
3450
+ });
3451
+ return retVal;
3452
+ }, "de_ForecastedEventsList");
3246
3453
  var de_GeofenceGeometry = /* @__PURE__ */ __name((output, context) => {
3247
3454
  return (0, import_smithy_client.take)(output, {
3248
3455
  Circle: (_) => de_Circle(_, context),
3456
+ Geobuf: context.base64Decoder,
3249
3457
  Polygon: (_) => de_LinearRings(_, context)
3250
3458
  });
3251
3459
  }, "de_GeofenceGeometry");
3460
+ var de_InferredState = /* @__PURE__ */ __name((output, context) => {
3461
+ return (0, import_smithy_client.take)(output, {
3462
+ Accuracy: (_) => de_PositionalAccuracy(_, context),
3463
+ DeviationDistance: import_smithy_client.limitedParseDouble,
3464
+ Position: (_) => de_Position(_, context),
3465
+ ProxyDetected: import_smithy_client.expectBoolean
3466
+ });
3467
+ }, "de_InferredState");
3252
3468
  var de_Leg = /* @__PURE__ */ __name((output, context) => {
3253
3469
  return (0, import_smithy_client.take)(output, {
3254
3470
  Distance: import_smithy_client.limitedParseDouble,
@@ -3600,7 +3816,6 @@ var AssociateTrackerConsumerCommand = _AssociateTrackerConsumerCommand;
3600
3816
 
3601
3817
 
3602
3818
 
3603
-
3604
3819
  var _BatchDeleteDevicePositionHistoryCommand = class _BatchDeleteDevicePositionHistoryCommand extends import_smithy_client.Command.classBuilder().ep({
3605
3820
  ...commonParams
3606
3821
  }).m(function(Command, cs, config, o) {
@@ -3617,7 +3832,6 @@ var BatchDeleteDevicePositionHistoryCommand = _BatchDeleteDevicePositionHistoryC
3617
3832
 
3618
3833
 
3619
3834
 
3620
-
3621
3835
  var _BatchDeleteGeofenceCommand = class _BatchDeleteGeofenceCommand extends import_smithy_client.Command.classBuilder().ep({
3622
3836
  ...commonParams
3623
3837
  }).m(function(Command, cs, config, o) {
@@ -3634,7 +3848,6 @@ var BatchDeleteGeofenceCommand = _BatchDeleteGeofenceCommand;
3634
3848
 
3635
3849
 
3636
3850
 
3637
-
3638
3851
  var _BatchEvaluateGeofencesCommand = class _BatchEvaluateGeofencesCommand extends import_smithy_client.Command.classBuilder().ep({
3639
3852
  ...commonParams
3640
3853
  }).m(function(Command, cs, config, o) {
@@ -3651,7 +3864,6 @@ var BatchEvaluateGeofencesCommand = _BatchEvaluateGeofencesCommand;
3651
3864
 
3652
3865
 
3653
3866
 
3654
-
3655
3867
  var _BatchGetDevicePositionCommand = class _BatchGetDevicePositionCommand extends import_smithy_client.Command.classBuilder().ep({
3656
3868
  ...commonParams
3657
3869
  }).m(function(Command, cs, config, o) {
@@ -3668,7 +3880,6 @@ var BatchGetDevicePositionCommand = _BatchGetDevicePositionCommand;
3668
3880
 
3669
3881
 
3670
3882
 
3671
-
3672
3883
  var _BatchPutGeofenceCommand = class _BatchPutGeofenceCommand extends import_smithy_client.Command.classBuilder().ep({
3673
3884
  ...commonParams
3674
3885
  }).m(function(Command, cs, config, o) {
@@ -3685,7 +3896,6 @@ var BatchPutGeofenceCommand = _BatchPutGeofenceCommand;
3685
3896
 
3686
3897
 
3687
3898
 
3688
-
3689
3899
  var _BatchUpdateDevicePositionCommand = class _BatchUpdateDevicePositionCommand extends import_smithy_client.Command.classBuilder().ep({
3690
3900
  ...commonParams
3691
3901
  }).m(function(Command, cs, config, o) {
@@ -3702,7 +3912,6 @@ var BatchUpdateDevicePositionCommand = _BatchUpdateDevicePositionCommand;
3702
3912
 
3703
3913
 
3704
3914
 
3705
-
3706
3915
  var _CalculateRouteCommand = class _CalculateRouteCommand extends import_smithy_client.Command.classBuilder().ep({
3707
3916
  ...commonParams
3708
3917
  }).m(function(Command, cs, config, o) {
@@ -3719,7 +3928,6 @@ var CalculateRouteCommand = _CalculateRouteCommand;
3719
3928
 
3720
3929
 
3721
3930
 
3722
-
3723
3931
  var _CalculateRouteMatrixCommand = class _CalculateRouteMatrixCommand extends import_smithy_client.Command.classBuilder().ep({
3724
3932
  ...commonParams
3725
3933
  }).m(function(Command, cs, config, o) {
@@ -3736,7 +3944,6 @@ var CalculateRouteMatrixCommand = _CalculateRouteMatrixCommand;
3736
3944
 
3737
3945
 
3738
3946
 
3739
-
3740
3947
  var _CreateGeofenceCollectionCommand = class _CreateGeofenceCollectionCommand extends import_smithy_client.Command.classBuilder().ep({
3741
3948
  ...commonParams
3742
3949
  }).m(function(Command, cs, config, o) {
@@ -3753,7 +3960,6 @@ var CreateGeofenceCollectionCommand = _CreateGeofenceCollectionCommand;
3753
3960
 
3754
3961
 
3755
3962
 
3756
-
3757
3963
  var _CreateKeyCommand = class _CreateKeyCommand extends import_smithy_client.Command.classBuilder().ep({
3758
3964
  ...commonParams
3759
3965
  }).m(function(Command, cs, config, o) {
@@ -3770,7 +3976,6 @@ var CreateKeyCommand = _CreateKeyCommand;
3770
3976
 
3771
3977
 
3772
3978
 
3773
-
3774
3979
  var _CreateMapCommand = class _CreateMapCommand extends import_smithy_client.Command.classBuilder().ep({
3775
3980
  ...commonParams
3776
3981
  }).m(function(Command, cs, config, o) {
@@ -3787,7 +3992,6 @@ var CreateMapCommand = _CreateMapCommand;
3787
3992
 
3788
3993
 
3789
3994
 
3790
-
3791
3995
  var _CreatePlaceIndexCommand = class _CreatePlaceIndexCommand extends import_smithy_client.Command.classBuilder().ep({
3792
3996
  ...commonParams
3793
3997
  }).m(function(Command, cs, config, o) {
@@ -3804,7 +4008,6 @@ var CreatePlaceIndexCommand = _CreatePlaceIndexCommand;
3804
4008
 
3805
4009
 
3806
4010
 
3807
-
3808
4011
  var _CreateRouteCalculatorCommand = class _CreateRouteCalculatorCommand extends import_smithy_client.Command.classBuilder().ep({
3809
4012
  ...commonParams
3810
4013
  }).m(function(Command, cs, config, o) {
@@ -3821,7 +4024,6 @@ var CreateRouteCalculatorCommand = _CreateRouteCalculatorCommand;
3821
4024
 
3822
4025
 
3823
4026
 
3824
-
3825
4027
  var _CreateTrackerCommand = class _CreateTrackerCommand extends import_smithy_client.Command.classBuilder().ep({
3826
4028
  ...commonParams
3827
4029
  }).m(function(Command, cs, config, o) {
@@ -3838,7 +4040,6 @@ var CreateTrackerCommand = _CreateTrackerCommand;
3838
4040
 
3839
4041
 
3840
4042
 
3841
-
3842
4043
  var _DeleteGeofenceCollectionCommand = class _DeleteGeofenceCollectionCommand extends import_smithy_client.Command.classBuilder().ep({
3843
4044
  ...commonParams
3844
4045
  }).m(function(Command, cs, config, o) {
@@ -3855,7 +4056,6 @@ var DeleteGeofenceCollectionCommand = _DeleteGeofenceCollectionCommand;
3855
4056
 
3856
4057
 
3857
4058
 
3858
-
3859
4059
  var _DeleteKeyCommand = class _DeleteKeyCommand extends import_smithy_client.Command.classBuilder().ep({
3860
4060
  ...commonParams
3861
4061
  }).m(function(Command, cs, config, o) {
@@ -3872,7 +4072,6 @@ var DeleteKeyCommand = _DeleteKeyCommand;
3872
4072
 
3873
4073
 
3874
4074
 
3875
-
3876
4075
  var _DeleteMapCommand = class _DeleteMapCommand extends import_smithy_client.Command.classBuilder().ep({
3877
4076
  ...commonParams
3878
4077
  }).m(function(Command, cs, config, o) {
@@ -3889,7 +4088,6 @@ var DeleteMapCommand = _DeleteMapCommand;
3889
4088
 
3890
4089
 
3891
4090
 
3892
-
3893
4091
  var _DeletePlaceIndexCommand = class _DeletePlaceIndexCommand extends import_smithy_client.Command.classBuilder().ep({
3894
4092
  ...commonParams
3895
4093
  }).m(function(Command, cs, config, o) {
@@ -3906,7 +4104,6 @@ var DeletePlaceIndexCommand = _DeletePlaceIndexCommand;
3906
4104
 
3907
4105
 
3908
4106
 
3909
-
3910
4107
  var _DeleteRouteCalculatorCommand = class _DeleteRouteCalculatorCommand extends import_smithy_client.Command.classBuilder().ep({
3911
4108
  ...commonParams
3912
4109
  }).m(function(Command, cs, config, o) {
@@ -3923,7 +4120,6 @@ var DeleteRouteCalculatorCommand = _DeleteRouteCalculatorCommand;
3923
4120
 
3924
4121
 
3925
4122
 
3926
-
3927
4123
  var _DeleteTrackerCommand = class _DeleteTrackerCommand extends import_smithy_client.Command.classBuilder().ep({
3928
4124
  ...commonParams
3929
4125
  }).m(function(Command, cs, config, o) {
@@ -3940,7 +4136,6 @@ var DeleteTrackerCommand = _DeleteTrackerCommand;
3940
4136
 
3941
4137
 
3942
4138
 
3943
-
3944
4139
  var _DescribeGeofenceCollectionCommand = class _DescribeGeofenceCollectionCommand extends import_smithy_client.Command.classBuilder().ep({
3945
4140
  ...commonParams
3946
4141
  }).m(function(Command, cs, config, o) {
@@ -3957,7 +4152,6 @@ var DescribeGeofenceCollectionCommand = _DescribeGeofenceCollectionCommand;
3957
4152
 
3958
4153
 
3959
4154
 
3960
-
3961
4155
  var _DescribeKeyCommand = class _DescribeKeyCommand extends import_smithy_client.Command.classBuilder().ep({
3962
4156
  ...commonParams
3963
4157
  }).m(function(Command, cs, config, o) {
@@ -3974,7 +4168,6 @@ var DescribeKeyCommand = _DescribeKeyCommand;
3974
4168
 
3975
4169
 
3976
4170
 
3977
-
3978
4171
  var _DescribeMapCommand = class _DescribeMapCommand extends import_smithy_client.Command.classBuilder().ep({
3979
4172
  ...commonParams
3980
4173
  }).m(function(Command, cs, config, o) {
@@ -3991,7 +4184,6 @@ var DescribeMapCommand = _DescribeMapCommand;
3991
4184
 
3992
4185
 
3993
4186
 
3994
-
3995
4187
  var _DescribePlaceIndexCommand = class _DescribePlaceIndexCommand extends import_smithy_client.Command.classBuilder().ep({
3996
4188
  ...commonParams
3997
4189
  }).m(function(Command, cs, config, o) {
@@ -4008,7 +4200,6 @@ var DescribePlaceIndexCommand = _DescribePlaceIndexCommand;
4008
4200
 
4009
4201
 
4010
4202
 
4011
-
4012
4203
  var _DescribeRouteCalculatorCommand = class _DescribeRouteCalculatorCommand extends import_smithy_client.Command.classBuilder().ep({
4013
4204
  ...commonParams
4014
4205
  }).m(function(Command, cs, config, o) {
@@ -4025,7 +4216,6 @@ var DescribeRouteCalculatorCommand = _DescribeRouteCalculatorCommand;
4025
4216
 
4026
4217
 
4027
4218
 
4028
-
4029
4219
  var _DescribeTrackerCommand = class _DescribeTrackerCommand extends import_smithy_client.Command.classBuilder().ep({
4030
4220
  ...commonParams
4031
4221
  }).m(function(Command, cs, config, o) {
@@ -4042,7 +4232,6 @@ var DescribeTrackerCommand = _DescribeTrackerCommand;
4042
4232
 
4043
4233
 
4044
4234
 
4045
-
4046
4235
  var _DisassociateTrackerConsumerCommand = class _DisassociateTrackerConsumerCommand extends import_smithy_client.Command.classBuilder().ep({
4047
4236
  ...commonParams
4048
4237
  }).m(function(Command, cs, config, o) {
@@ -4055,8 +4244,23 @@ var _DisassociateTrackerConsumerCommand = class _DisassociateTrackerConsumerComm
4055
4244
  __name(_DisassociateTrackerConsumerCommand, "DisassociateTrackerConsumerCommand");
4056
4245
  var DisassociateTrackerConsumerCommand = _DisassociateTrackerConsumerCommand;
4057
4246
 
4058
- // src/commands/GetDevicePositionCommand.ts
4247
+ // src/commands/ForecastGeofenceEventsCommand.ts
4248
+
4249
+
4250
+
4251
+ var _ForecastGeofenceEventsCommand = class _ForecastGeofenceEventsCommand extends import_smithy_client.Command.classBuilder().ep({
4252
+ ...commonParams
4253
+ }).m(function(Command, cs, config, o) {
4254
+ return [
4255
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4256
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4257
+ ];
4258
+ }).s("LocationService", "ForecastGeofenceEvents", {}).n("LocationClient", "ForecastGeofenceEventsCommand").f(ForecastGeofenceEventsRequestFilterSensitiveLog, ForecastGeofenceEventsResponseFilterSensitiveLog).ser(se_ForecastGeofenceEventsCommand).de(de_ForecastGeofenceEventsCommand).build() {
4259
+ };
4260
+ __name(_ForecastGeofenceEventsCommand, "ForecastGeofenceEventsCommand");
4261
+ var ForecastGeofenceEventsCommand = _ForecastGeofenceEventsCommand;
4059
4262
 
4263
+ // src/commands/GetDevicePositionCommand.ts
4060
4264
 
4061
4265
 
4062
4266
 
@@ -4076,7 +4280,6 @@ var GetDevicePositionCommand = _GetDevicePositionCommand;
4076
4280
 
4077
4281
 
4078
4282
 
4079
-
4080
4283
  var _GetDevicePositionHistoryCommand = class _GetDevicePositionHistoryCommand extends import_smithy_client.Command.classBuilder().ep({
4081
4284
  ...commonParams
4082
4285
  }).m(function(Command, cs, config, o) {
@@ -4093,7 +4296,6 @@ var GetDevicePositionHistoryCommand = _GetDevicePositionHistoryCommand;
4093
4296
 
4094
4297
 
4095
4298
 
4096
-
4097
4299
  var _GetGeofenceCommand = class _GetGeofenceCommand extends import_smithy_client.Command.classBuilder().ep({
4098
4300
  ...commonParams
4099
4301
  }).m(function(Command, cs, config, o) {
@@ -4110,7 +4312,6 @@ var GetGeofenceCommand = _GetGeofenceCommand;
4110
4312
 
4111
4313
 
4112
4314
 
4113
-
4114
4315
  var _GetMapGlyphsCommand = class _GetMapGlyphsCommand extends import_smithy_client.Command.classBuilder().ep({
4115
4316
  ...commonParams
4116
4317
  }).m(function(Command, cs, config, o) {
@@ -4127,7 +4328,6 @@ var GetMapGlyphsCommand = _GetMapGlyphsCommand;
4127
4328
 
4128
4329
 
4129
4330
 
4130
-
4131
4331
  var _GetMapSpritesCommand = class _GetMapSpritesCommand extends import_smithy_client.Command.classBuilder().ep({
4132
4332
  ...commonParams
4133
4333
  }).m(function(Command, cs, config, o) {
@@ -4144,7 +4344,6 @@ var GetMapSpritesCommand = _GetMapSpritesCommand;
4144
4344
 
4145
4345
 
4146
4346
 
4147
-
4148
4347
  var _GetMapStyleDescriptorCommand = class _GetMapStyleDescriptorCommand extends import_smithy_client.Command.classBuilder().ep({
4149
4348
  ...commonParams
4150
4349
  }).m(function(Command, cs, config, o) {
@@ -4161,7 +4360,6 @@ var GetMapStyleDescriptorCommand = _GetMapStyleDescriptorCommand;
4161
4360
 
4162
4361
 
4163
4362
 
4164
-
4165
4363
  var _GetMapTileCommand = class _GetMapTileCommand extends import_smithy_client.Command.classBuilder().ep({
4166
4364
  ...commonParams
4167
4365
  }).m(function(Command, cs, config, o) {
@@ -4178,7 +4376,6 @@ var GetMapTileCommand = _GetMapTileCommand;
4178
4376
 
4179
4377
 
4180
4378
 
4181
-
4182
4379
  var _GetPlaceCommand = class _GetPlaceCommand extends import_smithy_client.Command.classBuilder().ep({
4183
4380
  ...commonParams
4184
4381
  }).m(function(Command, cs, config, o) {
@@ -4195,7 +4392,6 @@ var GetPlaceCommand = _GetPlaceCommand;
4195
4392
 
4196
4393
 
4197
4394
 
4198
-
4199
4395
  var _ListDevicePositionsCommand = class _ListDevicePositionsCommand extends import_smithy_client.Command.classBuilder().ep({
4200
4396
  ...commonParams
4201
4397
  }).m(function(Command, cs, config, o) {
@@ -4212,7 +4408,6 @@ var ListDevicePositionsCommand = _ListDevicePositionsCommand;
4212
4408
 
4213
4409
 
4214
4410
 
4215
-
4216
4411
  var _ListGeofenceCollectionsCommand = class _ListGeofenceCollectionsCommand extends import_smithy_client.Command.classBuilder().ep({
4217
4412
  ...commonParams
4218
4413
  }).m(function(Command, cs, config, o) {
@@ -4229,7 +4424,6 @@ var ListGeofenceCollectionsCommand = _ListGeofenceCollectionsCommand;
4229
4424
 
4230
4425
 
4231
4426
 
4232
-
4233
4427
  var _ListGeofencesCommand = class _ListGeofencesCommand extends import_smithy_client.Command.classBuilder().ep({
4234
4428
  ...commonParams
4235
4429
  }).m(function(Command, cs, config, o) {
@@ -4246,7 +4440,6 @@ var ListGeofencesCommand = _ListGeofencesCommand;
4246
4440
 
4247
4441
 
4248
4442
 
4249
-
4250
4443
  var _ListKeysCommand = class _ListKeysCommand extends import_smithy_client.Command.classBuilder().ep({
4251
4444
  ...commonParams
4252
4445
  }).m(function(Command, cs, config, o) {
@@ -4263,7 +4456,6 @@ var ListKeysCommand = _ListKeysCommand;
4263
4456
 
4264
4457
 
4265
4458
 
4266
-
4267
4459
  var _ListMapsCommand = class _ListMapsCommand extends import_smithy_client.Command.classBuilder().ep({
4268
4460
  ...commonParams
4269
4461
  }).m(function(Command, cs, config, o) {
@@ -4280,7 +4472,6 @@ var ListMapsCommand = _ListMapsCommand;
4280
4472
 
4281
4473
 
4282
4474
 
4283
-
4284
4475
  var _ListPlaceIndexesCommand = class _ListPlaceIndexesCommand extends import_smithy_client.Command.classBuilder().ep({
4285
4476
  ...commonParams
4286
4477
  }).m(function(Command, cs, config, o) {
@@ -4297,7 +4488,6 @@ var ListPlaceIndexesCommand = _ListPlaceIndexesCommand;
4297
4488
 
4298
4489
 
4299
4490
 
4300
-
4301
4491
  var _ListRouteCalculatorsCommand = class _ListRouteCalculatorsCommand extends import_smithy_client.Command.classBuilder().ep({
4302
4492
  ...commonParams
4303
4493
  }).m(function(Command, cs, config, o) {
@@ -4314,7 +4504,6 @@ var ListRouteCalculatorsCommand = _ListRouteCalculatorsCommand;
4314
4504
 
4315
4505
 
4316
4506
 
4317
-
4318
4507
  var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
4319
4508
  ...commonParams
4320
4509
  }).m(function(Command, cs, config, o) {
@@ -4331,7 +4520,6 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
4331
4520
 
4332
4521
 
4333
4522
 
4334
-
4335
4523
  var _ListTrackerConsumersCommand = class _ListTrackerConsumersCommand extends import_smithy_client.Command.classBuilder().ep({
4336
4524
  ...commonParams
4337
4525
  }).m(function(Command, cs, config, o) {
@@ -4348,7 +4536,6 @@ var ListTrackerConsumersCommand = _ListTrackerConsumersCommand;
4348
4536
 
4349
4537
 
4350
4538
 
4351
-
4352
4539
  var _ListTrackersCommand = class _ListTrackersCommand extends import_smithy_client.Command.classBuilder().ep({
4353
4540
  ...commonParams
4354
4541
  }).m(function(Command, cs, config, o) {
@@ -4365,7 +4552,6 @@ var ListTrackersCommand = _ListTrackersCommand;
4365
4552
 
4366
4553
 
4367
4554
 
4368
-
4369
4555
  var _PutGeofenceCommand = class _PutGeofenceCommand extends import_smithy_client.Command.classBuilder().ep({
4370
4556
  ...commonParams
4371
4557
  }).m(function(Command, cs, config, o) {
@@ -4382,7 +4568,6 @@ var PutGeofenceCommand = _PutGeofenceCommand;
4382
4568
 
4383
4569
 
4384
4570
 
4385
-
4386
4571
  var _SearchPlaceIndexForPositionCommand = class _SearchPlaceIndexForPositionCommand extends import_smithy_client.Command.classBuilder().ep({
4387
4572
  ...commonParams
4388
4573
  }).m(function(Command, cs, config, o) {
@@ -4399,7 +4584,6 @@ var SearchPlaceIndexForPositionCommand = _SearchPlaceIndexForPositionCommand;
4399
4584
 
4400
4585
 
4401
4586
 
4402
-
4403
4587
  var _SearchPlaceIndexForSuggestionsCommand = class _SearchPlaceIndexForSuggestionsCommand extends import_smithy_client.Command.classBuilder().ep({
4404
4588
  ...commonParams
4405
4589
  }).m(function(Command, cs, config, o) {
@@ -4416,7 +4600,6 @@ var SearchPlaceIndexForSuggestionsCommand = _SearchPlaceIndexForSuggestionsComma
4416
4600
 
4417
4601
 
4418
4602
 
4419
-
4420
4603
  var _SearchPlaceIndexForTextCommand = class _SearchPlaceIndexForTextCommand extends import_smithy_client.Command.classBuilder().ep({
4421
4604
  ...commonParams
4422
4605
  }).m(function(Command, cs, config, o) {
@@ -4433,7 +4616,6 @@ var SearchPlaceIndexForTextCommand = _SearchPlaceIndexForTextCommand;
4433
4616
 
4434
4617
 
4435
4618
 
4436
-
4437
4619
  var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
4438
4620
  ...commonParams
4439
4621
  }).m(function(Command, cs, config, o) {
@@ -4450,7 +4632,6 @@ var TagResourceCommand = _TagResourceCommand;
4450
4632
 
4451
4633
 
4452
4634
 
4453
-
4454
4635
  var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
4455
4636
  ...commonParams
4456
4637
  }).m(function(Command, cs, config, o) {
@@ -4467,7 +4648,6 @@ var UntagResourceCommand = _UntagResourceCommand;
4467
4648
 
4468
4649
 
4469
4650
 
4470
-
4471
4651
  var _UpdateGeofenceCollectionCommand = class _UpdateGeofenceCollectionCommand extends import_smithy_client.Command.classBuilder().ep({
4472
4652
  ...commonParams
4473
4653
  }).m(function(Command, cs, config, o) {
@@ -4484,7 +4664,6 @@ var UpdateGeofenceCollectionCommand = _UpdateGeofenceCollectionCommand;
4484
4664
 
4485
4665
 
4486
4666
 
4487
-
4488
4667
  var _UpdateKeyCommand = class _UpdateKeyCommand extends import_smithy_client.Command.classBuilder().ep({
4489
4668
  ...commonParams
4490
4669
  }).m(function(Command, cs, config, o) {
@@ -4501,7 +4680,6 @@ var UpdateKeyCommand = _UpdateKeyCommand;
4501
4680
 
4502
4681
 
4503
4682
 
4504
-
4505
4683
  var _UpdateMapCommand = class _UpdateMapCommand extends import_smithy_client.Command.classBuilder().ep({
4506
4684
  ...commonParams
4507
4685
  }).m(function(Command, cs, config, o) {
@@ -4518,7 +4696,6 @@ var UpdateMapCommand = _UpdateMapCommand;
4518
4696
 
4519
4697
 
4520
4698
 
4521
-
4522
4699
  var _UpdatePlaceIndexCommand = class _UpdatePlaceIndexCommand extends import_smithy_client.Command.classBuilder().ep({
4523
4700
  ...commonParams
4524
4701
  }).m(function(Command, cs, config, o) {
@@ -4535,7 +4712,6 @@ var UpdatePlaceIndexCommand = _UpdatePlaceIndexCommand;
4535
4712
 
4536
4713
 
4537
4714
 
4538
-
4539
4715
  var _UpdateRouteCalculatorCommand = class _UpdateRouteCalculatorCommand extends import_smithy_client.Command.classBuilder().ep({
4540
4716
  ...commonParams
4541
4717
  }).m(function(Command, cs, config, o) {
@@ -4552,7 +4728,6 @@ var UpdateRouteCalculatorCommand = _UpdateRouteCalculatorCommand;
4552
4728
 
4553
4729
 
4554
4730
 
4555
-
4556
4731
  var _UpdateTrackerCommand = class _UpdateTrackerCommand extends import_smithy_client.Command.classBuilder().ep({
4557
4732
  ...commonParams
4558
4733
  }).m(function(Command, cs, config, o) {
@@ -4565,6 +4740,22 @@ var _UpdateTrackerCommand = class _UpdateTrackerCommand extends import_smithy_cl
4565
4740
  __name(_UpdateTrackerCommand, "UpdateTrackerCommand");
4566
4741
  var UpdateTrackerCommand = _UpdateTrackerCommand;
4567
4742
 
4743
+ // src/commands/VerifyDevicePositionCommand.ts
4744
+
4745
+
4746
+
4747
+ var _VerifyDevicePositionCommand = class _VerifyDevicePositionCommand extends import_smithy_client.Command.classBuilder().ep({
4748
+ ...commonParams
4749
+ }).m(function(Command, cs, config, o) {
4750
+ return [
4751
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4752
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4753
+ ];
4754
+ }).s("LocationService", "VerifyDevicePosition", {}).n("LocationClient", "VerifyDevicePositionCommand").f(VerifyDevicePositionRequestFilterSensitiveLog, VerifyDevicePositionResponseFilterSensitiveLog).ser(se_VerifyDevicePositionCommand).de(de_VerifyDevicePositionCommand).build() {
4755
+ };
4756
+ __name(_VerifyDevicePositionCommand, "VerifyDevicePositionCommand");
4757
+ var VerifyDevicePositionCommand = _VerifyDevicePositionCommand;
4758
+
4568
4759
  // src/Location.ts
4569
4760
  var commands = {
4570
4761
  AssociateTrackerConsumerCommand,
@@ -4595,6 +4786,7 @@ var commands = {
4595
4786
  DescribeRouteCalculatorCommand,
4596
4787
  DescribeTrackerCommand,
4597
4788
  DisassociateTrackerConsumerCommand,
4789
+ ForecastGeofenceEventsCommand,
4598
4790
  GetDevicePositionCommand,
4599
4791
  GetDevicePositionHistoryCommand,
4600
4792
  GetGeofenceCommand,
@@ -4624,7 +4816,8 @@ var commands = {
4624
4816
  UpdateMapCommand,
4625
4817
  UpdatePlaceIndexCommand,
4626
4818
  UpdateRouteCalculatorCommand,
4627
- UpdateTrackerCommand
4819
+ UpdateTrackerCommand,
4820
+ VerifyDevicePositionCommand
4628
4821
  };
4629
4822
  var _Location = class _Location extends LocationClient {
4630
4823
  };
@@ -4632,6 +4825,10 @@ __name(_Location, "Location");
4632
4825
  var Location = _Location;
4633
4826
  (0, import_smithy_client.createAggregatedClient)(commands, Location);
4634
4827
 
4828
+ // src/pagination/ForecastGeofenceEventsPaginator.ts
4829
+
4830
+ var paginateForecastGeofenceEvents = (0, import_core.createPaginator)(LocationClient, ForecastGeofenceEventsCommand, "NextToken", "NextToken", "MaxResults");
4831
+
4635
4832
  // src/pagination/GetDevicePositionHistoryPaginator.ts
4636
4833
 
4637
4834
  var paginateGetDevicePositionHistory = (0, import_core.createPaginator)(LocationClient, GetDevicePositionHistoryCommand, "NextToken", "NextToken", "MaxResults");
@@ -4707,6 +4904,7 @@ var paginateListTrackers = (0, import_core.createPaginator)(LocationClient, List
4707
4904
  DescribeRouteCalculatorCommand,
4708
4905
  DescribeTrackerCommand,
4709
4906
  DisassociateTrackerConsumerCommand,
4907
+ ForecastGeofenceEventsCommand,
4710
4908
  GetDevicePositionCommand,
4711
4909
  GetDevicePositionHistoryCommand,
4712
4910
  GetGeofenceCommand,
@@ -4737,6 +4935,8 @@ var paginateListTrackers = (0, import_core.createPaginator)(LocationClient, List
4737
4935
  UpdatePlaceIndexCommand,
4738
4936
  UpdateRouteCalculatorCommand,
4739
4937
  UpdateTrackerCommand,
4938
+ VerifyDevicePositionCommand,
4939
+ paginateForecastGeofenceEvents,
4740
4940
  paginateGetDevicePositionHistory,
4741
4941
  paginateListDevicePositions,
4742
4942
  paginateListGeofenceCollections,
@@ -4773,6 +4973,11 @@ var paginateListTrackers = (0, import_core.createPaginator)(LocationClient, List
4773
4973
  CalculateRouteResponseFilterSensitiveLog,
4774
4974
  CalculateRouteMatrixRequestFilterSensitiveLog,
4775
4975
  CalculateRouteMatrixResponseFilterSensitiveLog,
4976
+ DeviceStateFilterSensitiveLog,
4977
+ ForecastedEventFilterSensitiveLog,
4978
+ ForecastGeofenceEventsDeviceStateFilterSensitiveLog,
4979
+ ForecastGeofenceEventsRequestFilterSensitiveLog,
4980
+ ForecastGeofenceEventsResponseFilterSensitiveLog,
4776
4981
  GetGeofenceResponseFilterSensitiveLog,
4777
4982
  ListGeofenceResponseEntryFilterSensitiveLog,
4778
4983
  ListGeofencesResponseFilterSensitiveLog,
@@ -4787,6 +4992,7 @@ var paginateListTrackers = (0, import_core.createPaginator)(LocationClient, List
4787
4992
  PlaceGeometryFilterSensitiveLog,
4788
4993
  PlaceFilterSensitiveLog,
4789
4994
  GetPlaceResponseFilterSensitiveLog,
4995
+ InferredStateFilterSensitiveLog,
4790
4996
  TrackingFilterGeometryFilterSensitiveLog,
4791
4997
  ListDevicePositionsRequestFilterSensitiveLog,
4792
4998
  ListDevicePositionsResponseEntryFilterSensitiveLog,
@@ -4801,6 +5007,8 @@ var paginateListTrackers = (0, import_core.createPaginator)(LocationClient, List
4801
5007
  SearchPlaceIndexForTextRequestFilterSensitiveLog,
4802
5008
  SearchForTextResultFilterSensitiveLog,
4803
5009
  SearchPlaceIndexForTextSummaryFilterSensitiveLog,
4804
- SearchPlaceIndexForTextResponseFilterSensitiveLog
5010
+ SearchPlaceIndexForTextResponseFilterSensitiveLog,
5011
+ VerifyDevicePositionRequestFilterSensitiveLog,
5012
+ VerifyDevicePositionResponseFilterSensitiveLog
4805
5013
  });
4806
5014