@aws-sdk/client-location 3.855.0 → 3.856.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 (51) hide show
  1. package/dist-cjs/index.js +370 -36
  2. package/dist-es/commands/BatchEvaluateGeofencesCommand.js +2 -2
  3. package/dist-es/commands/BatchPutGeofenceCommand.js +2 -2
  4. package/dist-es/commands/BatchUpdateDevicePositionCommand.js +2 -2
  5. package/dist-es/commands/CreateGeofenceCollectionCommand.js +2 -1
  6. package/dist-es/commands/CreateKeyCommand.js +2 -2
  7. package/dist-es/commands/CreateMapCommand.js +2 -1
  8. package/dist-es/commands/CreatePlaceIndexCommand.js +2 -1
  9. package/dist-es/commands/CreateRouteCalculatorCommand.js +2 -1
  10. package/dist-es/commands/CreateTrackerCommand.js +2 -1
  11. package/dist-es/commands/DescribeGeofenceCollectionCommand.js +2 -1
  12. package/dist-es/commands/DescribeMapCommand.js +2 -1
  13. package/dist-es/commands/DescribePlaceIndexCommand.js +2 -1
  14. package/dist-es/commands/DescribeRouteCalculatorCommand.js +2 -1
  15. package/dist-es/commands/DescribeTrackerCommand.js +2 -1
  16. package/dist-es/commands/GetDevicePositionHistoryCommand.js +2 -2
  17. package/dist-es/commands/ListGeofenceCollectionsCommand.js +2 -1
  18. package/dist-es/commands/ListKeysCommand.js +2 -1
  19. package/dist-es/commands/ListMapsCommand.js +2 -1
  20. package/dist-es/commands/ListPlaceIndexesCommand.js +2 -1
  21. package/dist-es/commands/ListRouteCalculatorsCommand.js +2 -1
  22. package/dist-es/commands/ListTrackersCommand.js +2 -1
  23. package/dist-es/commands/PutGeofenceCommand.js +2 -2
  24. package/dist-es/commands/UpdateGeofenceCollectionCommand.js +2 -1
  25. package/dist-es/commands/UpdateKeyCommand.js +2 -1
  26. package/dist-es/commands/UpdateMapCommand.js +2 -1
  27. package/dist-es/commands/UpdatePlaceIndexCommand.js +2 -1
  28. package/dist-es/commands/UpdateRouteCalculatorCommand.js +2 -1
  29. package/dist-es/commands/UpdateTrackerCommand.js +2 -1
  30. package/dist-es/models/models_0.js +233 -0
  31. package/dist-es/protocols/Aws_restJson1.js +17 -0
  32. package/dist-types/commands/AssociateTrackerConsumerCommand.d.ts +1 -1
  33. package/dist-types/commands/BatchEvaluateGeofencesCommand.d.ts +2 -1
  34. package/dist-types/commands/BatchPutGeofenceCommand.d.ts +9 -1
  35. package/dist-types/commands/CalculateRouteCommand.d.ts +3 -3
  36. package/dist-types/commands/CalculateRouteMatrixCommand.d.ts +3 -3
  37. package/dist-types/commands/CreateGeofenceCollectionCommand.d.ts +1 -1
  38. package/dist-types/commands/CreateKeyCommand.d.ts +2 -2
  39. package/dist-types/commands/CreateMapCommand.d.ts +1 -1
  40. package/dist-types/commands/CreatePlaceIndexCommand.d.ts +1 -1
  41. package/dist-types/commands/CreateRouteCalculatorCommand.d.ts +1 -1
  42. package/dist-types/commands/CreateTrackerCommand.d.ts +1 -1
  43. package/dist-types/commands/ForecastGeofenceEventsCommand.d.ts +17 -6
  44. package/dist-types/commands/GetGeofenceCommand.d.ts +9 -1
  45. package/dist-types/commands/GetPlaceCommand.d.ts +6 -0
  46. package/dist-types/commands/ListGeofencesCommand.d.ts +7 -0
  47. package/dist-types/commands/PutGeofenceCommand.d.ts +7 -0
  48. package/dist-types/commands/VerifyDevicePositionCommand.d.ts +5 -0
  49. package/dist-types/models/models_0.d.ts +481 -136
  50. package/dist-types/ts3.4/models/models_0.d.ts +133 -0
  51. package/package.json +5 -5
@@ -104,17 +104,57 @@ export class ResourceNotFoundException extends __BaseException {
104
104
  this.Message = opts.Message;
105
105
  }
106
106
  }
107
+ export const ApiKeyRestrictionsFilterSensitiveLog = (obj) => ({
108
+ ...obj,
109
+ ...(obj.AllowReferers && { AllowReferers: SENSITIVE_STRING }),
110
+ });
111
+ export const CreateKeyRequestFilterSensitiveLog = (obj) => ({
112
+ ...obj,
113
+ ...(obj.Restrictions && { Restrictions: ApiKeyRestrictionsFilterSensitiveLog(obj.Restrictions) }),
114
+ ...(obj.ExpireTime && { ExpireTime: SENSITIVE_STRING }),
115
+ });
107
116
  export const CreateKeyResponseFilterSensitiveLog = (obj) => ({
108
117
  ...obj,
109
118
  ...(obj.Key && { Key: SENSITIVE_STRING }),
119
+ ...(obj.CreateTime && { CreateTime: SENSITIVE_STRING }),
110
120
  });
111
121
  export const DescribeKeyResponseFilterSensitiveLog = (obj) => ({
112
122
  ...obj,
113
123
  ...(obj.Key && { Key: SENSITIVE_STRING }),
124
+ ...(obj.Restrictions && { Restrictions: ApiKeyRestrictionsFilterSensitiveLog(obj.Restrictions) }),
125
+ ...(obj.CreateTime && { CreateTime: SENSITIVE_STRING }),
126
+ ...(obj.ExpireTime && { ExpireTime: SENSITIVE_STRING }),
127
+ ...(obj.UpdateTime && { UpdateTime: SENSITIVE_STRING }),
128
+ });
129
+ export const ListKeysResponseEntryFilterSensitiveLog = (obj) => ({
130
+ ...obj,
131
+ ...(obj.ExpireTime && { ExpireTime: SENSITIVE_STRING }),
132
+ ...(obj.Restrictions && { Restrictions: ApiKeyRestrictionsFilterSensitiveLog(obj.Restrictions) }),
133
+ ...(obj.CreateTime && { CreateTime: SENSITIVE_STRING }),
134
+ ...(obj.UpdateTime && { UpdateTime: SENSITIVE_STRING }),
135
+ });
136
+ export const ListKeysResponseFilterSensitiveLog = (obj) => ({
137
+ ...obj,
138
+ ...(obj.Entries && { Entries: obj.Entries.map((item) => ListKeysResponseEntryFilterSensitiveLog(item)) }),
139
+ });
140
+ export const UpdateKeyRequestFilterSensitiveLog = (obj) => ({
141
+ ...obj,
142
+ ...(obj.ExpireTime && { ExpireTime: SENSITIVE_STRING }),
143
+ ...(obj.Restrictions && { Restrictions: ApiKeyRestrictionsFilterSensitiveLog(obj.Restrictions) }),
144
+ });
145
+ export const UpdateKeyResponseFilterSensitiveLog = (obj) => ({
146
+ ...obj,
147
+ ...(obj.UpdateTime && { UpdateTime: SENSITIVE_STRING }),
148
+ });
149
+ export const PositionalAccuracyFilterSensitiveLog = (obj) => ({
150
+ ...obj,
151
+ ...(obj.Horizontal && { Horizontal: SENSITIVE_STRING }),
114
152
  });
115
153
  export const DevicePositionUpdateFilterSensitiveLog = (obj) => ({
116
154
  ...obj,
155
+ ...(obj.SampleTime && { SampleTime: SENSITIVE_STRING }),
117
156
  ...(obj.Position && { Position: SENSITIVE_STRING }),
157
+ ...(obj.Accuracy && { Accuracy: PositionalAccuracyFilterSensitiveLog(obj.Accuracy) }),
118
158
  ...(obj.PositionProperties && { PositionProperties: SENSITIVE_STRING }),
119
159
  });
120
160
  export const BatchEvaluateGeofencesRequestFilterSensitiveLog = (obj) => ({
@@ -123,9 +163,20 @@ export const BatchEvaluateGeofencesRequestFilterSensitiveLog = (obj) => ({
123
163
  DevicePositionUpdates: obj.DevicePositionUpdates.map((item) => DevicePositionUpdateFilterSensitiveLog(item)),
124
164
  }),
125
165
  });
166
+ export const BatchEvaluateGeofencesErrorFilterSensitiveLog = (obj) => ({
167
+ ...obj,
168
+ ...(obj.SampleTime && { SampleTime: SENSITIVE_STRING }),
169
+ });
170
+ export const BatchEvaluateGeofencesResponseFilterSensitiveLog = (obj) => ({
171
+ ...obj,
172
+ ...(obj.Errors && { Errors: obj.Errors.map((item) => BatchEvaluateGeofencesErrorFilterSensitiveLog(item)) }),
173
+ });
126
174
  export const DevicePositionFilterSensitiveLog = (obj) => ({
127
175
  ...obj,
176
+ ...(obj.SampleTime && { SampleTime: SENSITIVE_STRING }),
177
+ ...(obj.ReceivedTime && { ReceivedTime: SENSITIVE_STRING }),
128
178
  ...(obj.Position && { Position: SENSITIVE_STRING }),
179
+ ...(obj.Accuracy && { Accuracy: PositionalAccuracyFilterSensitiveLog(obj.Accuracy) }),
129
180
  ...(obj.PositionProperties && { PositionProperties: SENSITIVE_STRING }),
130
181
  });
131
182
  export const BatchGetDevicePositionResponseFilterSensitiveLog = (obj) => ({
@@ -137,12 +188,14 @@ export const BatchGetDevicePositionResponseFilterSensitiveLog = (obj) => ({
137
188
  export const CircleFilterSensitiveLog = (obj) => ({
138
189
  ...obj,
139
190
  ...(obj.Center && { Center: SENSITIVE_STRING }),
191
+ ...(obj.Radius && { Radius: SENSITIVE_STRING }),
140
192
  });
141
193
  export const GeofenceGeometryFilterSensitiveLog = (obj) => ({
142
194
  ...obj,
143
195
  ...(obj.Polygon && { Polygon: obj.Polygon.map((item) => SENSITIVE_STRING) }),
144
196
  ...(obj.Circle && { Circle: SENSITIVE_STRING }),
145
197
  ...(obj.Geobuf && { Geobuf: SENSITIVE_STRING }),
198
+ ...(obj.MultiPolygon && { MultiPolygon: obj.MultiPolygon.map((item) => item.map((item) => SENSITIVE_STRING)) }),
146
199
  });
147
200
  export const BatchPutGeofenceRequestEntryFilterSensitiveLog = (obj) => ({
148
201
  ...obj,
@@ -153,15 +206,34 @@ export const BatchPutGeofenceRequestFilterSensitiveLog = (obj) => ({
153
206
  ...obj,
154
207
  ...(obj.Entries && { Entries: obj.Entries.map((item) => BatchPutGeofenceRequestEntryFilterSensitiveLog(item)) }),
155
208
  });
209
+ export const BatchPutGeofenceSuccessFilterSensitiveLog = (obj) => ({
210
+ ...obj,
211
+ ...(obj.CreateTime && { CreateTime: SENSITIVE_STRING }),
212
+ ...(obj.UpdateTime && { UpdateTime: SENSITIVE_STRING }),
213
+ });
214
+ export const BatchPutGeofenceResponseFilterSensitiveLog = (obj) => ({
215
+ ...obj,
216
+ ...(obj.Successes && { Successes: obj.Successes.map((item) => BatchPutGeofenceSuccessFilterSensitiveLog(item)) }),
217
+ });
156
218
  export const BatchUpdateDevicePositionRequestFilterSensitiveLog = (obj) => ({
157
219
  ...obj,
158
220
  ...(obj.Updates && { Updates: obj.Updates.map((item) => DevicePositionUpdateFilterSensitiveLog(item)) }),
159
221
  });
222
+ export const BatchUpdateDevicePositionErrorFilterSensitiveLog = (obj) => ({
223
+ ...obj,
224
+ ...(obj.SampleTime && { SampleTime: SENSITIVE_STRING }),
225
+ });
226
+ export const BatchUpdateDevicePositionResponseFilterSensitiveLog = (obj) => ({
227
+ ...obj,
228
+ ...(obj.Errors && { Errors: obj.Errors.map((item) => BatchUpdateDevicePositionErrorFilterSensitiveLog(item)) }),
229
+ });
160
230
  export const CalculateRouteRequestFilterSensitiveLog = (obj) => ({
161
231
  ...obj,
162
232
  ...(obj.DeparturePosition && { DeparturePosition: SENSITIVE_STRING }),
163
233
  ...(obj.DestinationPosition && { DestinationPosition: SENSITIVE_STRING }),
164
234
  ...(obj.WaypointPositions && { WaypointPositions: SENSITIVE_STRING }),
235
+ ...(obj.DepartureTime && { DepartureTime: SENSITIVE_STRING }),
236
+ ...(obj.ArrivalTime && { ArrivalTime: SENSITIVE_STRING }),
165
237
  ...(obj.Key && { Key: SENSITIVE_STRING }),
166
238
  });
167
239
  export const LegGeometryFilterSensitiveLog = (obj) => ({
@@ -193,6 +265,7 @@ export const CalculateRouteMatrixRequestFilterSensitiveLog = (obj) => ({
193
265
  ...obj,
194
266
  ...(obj.DeparturePositions && { DeparturePositions: SENSITIVE_STRING }),
195
267
  ...(obj.DestinationPositions && { DestinationPositions: SENSITIVE_STRING }),
268
+ ...(obj.DepartureTime && { DepartureTime: SENSITIVE_STRING }),
196
269
  ...(obj.Key && { Key: SENSITIVE_STRING }),
197
270
  });
198
271
  export const CalculateRouteMatrixResponseFilterSensitiveLog = (obj) => ({
@@ -200,12 +273,69 @@ export const CalculateRouteMatrixResponseFilterSensitiveLog = (obj) => ({
200
273
  ...(obj.SnappedDeparturePositions && { SnappedDeparturePositions: SENSITIVE_STRING }),
201
274
  ...(obj.SnappedDestinationPositions && { SnappedDestinationPositions: SENSITIVE_STRING }),
202
275
  });
276
+ export const CreateGeofenceCollectionResponseFilterSensitiveLog = (obj) => ({
277
+ ...obj,
278
+ ...(obj.CreateTime && { CreateTime: SENSITIVE_STRING }),
279
+ });
280
+ export const MapConfigurationFilterSensitiveLog = (obj) => ({
281
+ ...obj,
282
+ ...(obj.PoliticalView && { PoliticalView: SENSITIVE_STRING }),
283
+ });
284
+ export const CreateMapRequestFilterSensitiveLog = (obj) => ({
285
+ ...obj,
286
+ ...(obj.Configuration && { Configuration: MapConfigurationFilterSensitiveLog(obj.Configuration) }),
287
+ });
288
+ export const CreateMapResponseFilterSensitiveLog = (obj) => ({
289
+ ...obj,
290
+ ...(obj.CreateTime && { CreateTime: SENSITIVE_STRING }),
291
+ });
292
+ export const CreatePlaceIndexResponseFilterSensitiveLog = (obj) => ({
293
+ ...obj,
294
+ ...(obj.CreateTime && { CreateTime: SENSITIVE_STRING }),
295
+ });
296
+ export const CreateRouteCalculatorResponseFilterSensitiveLog = (obj) => ({
297
+ ...obj,
298
+ ...(obj.CreateTime && { CreateTime: SENSITIVE_STRING }),
299
+ });
300
+ export const CreateTrackerResponseFilterSensitiveLog = (obj) => ({
301
+ ...obj,
302
+ ...(obj.CreateTime && { CreateTime: SENSITIVE_STRING }),
303
+ });
304
+ export const DescribeGeofenceCollectionResponseFilterSensitiveLog = (obj) => ({
305
+ ...obj,
306
+ ...(obj.CreateTime && { CreateTime: SENSITIVE_STRING }),
307
+ ...(obj.UpdateTime && { UpdateTime: SENSITIVE_STRING }),
308
+ });
309
+ export const DescribeMapResponseFilterSensitiveLog = (obj) => ({
310
+ ...obj,
311
+ ...(obj.Configuration && { Configuration: MapConfigurationFilterSensitiveLog(obj.Configuration) }),
312
+ ...(obj.CreateTime && { CreateTime: SENSITIVE_STRING }),
313
+ ...(obj.UpdateTime && { UpdateTime: SENSITIVE_STRING }),
314
+ });
315
+ export const DescribePlaceIndexResponseFilterSensitiveLog = (obj) => ({
316
+ ...obj,
317
+ ...(obj.CreateTime && { CreateTime: SENSITIVE_STRING }),
318
+ ...(obj.UpdateTime && { UpdateTime: SENSITIVE_STRING }),
319
+ });
320
+ export const DescribeRouteCalculatorResponseFilterSensitiveLog = (obj) => ({
321
+ ...obj,
322
+ ...(obj.CreateTime && { CreateTime: SENSITIVE_STRING }),
323
+ ...(obj.UpdateTime && { UpdateTime: SENSITIVE_STRING }),
324
+ });
325
+ export const DescribeTrackerResponseFilterSensitiveLog = (obj) => ({
326
+ ...obj,
327
+ ...(obj.CreateTime && { CreateTime: SENSITIVE_STRING }),
328
+ ...(obj.UpdateTime && { UpdateTime: SENSITIVE_STRING }),
329
+ });
203
330
  export const DeviceStateFilterSensitiveLog = (obj) => ({
204
331
  ...obj,
332
+ ...(obj.SampleTime && { SampleTime: SENSITIVE_STRING }),
205
333
  ...(obj.Position && { Position: SENSITIVE_STRING }),
334
+ ...(obj.Accuracy && { Accuracy: PositionalAccuracyFilterSensitiveLog(obj.Accuracy) }),
206
335
  });
207
336
  export const ForecastedEventFilterSensitiveLog = (obj) => ({
208
337
  ...obj,
338
+ ...(obj.ForecastedBreachTime && { ForecastedBreachTime: SENSITIVE_STRING }),
209
339
  ...(obj.GeofenceProperties && { GeofenceProperties: SENSITIVE_STRING }),
210
340
  });
211
341
  export const ForecastGeofenceEventsDeviceStateFilterSensitiveLog = (obj) => ({
@@ -225,11 +355,26 @@ export const ForecastGeofenceEventsResponseFilterSensitiveLog = (obj) => ({
225
355
  export const GetGeofenceResponseFilterSensitiveLog = (obj) => ({
226
356
  ...obj,
227
357
  ...(obj.Geometry && { Geometry: GeofenceGeometryFilterSensitiveLog(obj.Geometry) }),
358
+ ...(obj.CreateTime && { CreateTime: SENSITIVE_STRING }),
359
+ ...(obj.UpdateTime && { UpdateTime: SENSITIVE_STRING }),
228
360
  ...(obj.GeofenceProperties && { GeofenceProperties: SENSITIVE_STRING }),
229
361
  });
362
+ export const ListGeofenceCollectionsResponseEntryFilterSensitiveLog = (obj) => ({
363
+ ...obj,
364
+ ...(obj.CreateTime && { CreateTime: SENSITIVE_STRING }),
365
+ ...(obj.UpdateTime && { UpdateTime: SENSITIVE_STRING }),
366
+ });
367
+ export const ListGeofenceCollectionsResponseFilterSensitiveLog = (obj) => ({
368
+ ...obj,
369
+ ...(obj.Entries && {
370
+ Entries: obj.Entries.map((item) => ListGeofenceCollectionsResponseEntryFilterSensitiveLog(item)),
371
+ }),
372
+ });
230
373
  export const ListGeofenceResponseEntryFilterSensitiveLog = (obj) => ({
231
374
  ...obj,
232
375
  ...(obj.Geometry && { Geometry: GeofenceGeometryFilterSensitiveLog(obj.Geometry) }),
376
+ ...(obj.CreateTime && { CreateTime: SENSITIVE_STRING }),
377
+ ...(obj.UpdateTime && { UpdateTime: SENSITIVE_STRING }),
233
378
  ...(obj.GeofenceProperties && { GeofenceProperties: SENSITIVE_STRING }),
234
379
  });
235
380
  export const ListGeofencesResponseFilterSensitiveLog = (obj) => ({
@@ -241,11 +386,28 @@ export const PutGeofenceRequestFilterSensitiveLog = (obj) => ({
241
386
  ...(obj.Geometry && { Geometry: GeofenceGeometryFilterSensitiveLog(obj.Geometry) }),
242
387
  ...(obj.GeofenceProperties && { GeofenceProperties: SENSITIVE_STRING }),
243
388
  });
389
+ export const PutGeofenceResponseFilterSensitiveLog = (obj) => ({
390
+ ...obj,
391
+ ...(obj.CreateTime && { CreateTime: SENSITIVE_STRING }),
392
+ ...(obj.UpdateTime && { UpdateTime: SENSITIVE_STRING }),
393
+ });
394
+ export const UpdateGeofenceCollectionResponseFilterSensitiveLog = (obj) => ({
395
+ ...obj,
396
+ ...(obj.UpdateTime && { UpdateTime: SENSITIVE_STRING }),
397
+ });
244
398
  export const GetDevicePositionResponseFilterSensitiveLog = (obj) => ({
245
399
  ...obj,
400
+ ...(obj.SampleTime && { SampleTime: SENSITIVE_STRING }),
401
+ ...(obj.ReceivedTime && { ReceivedTime: SENSITIVE_STRING }),
246
402
  ...(obj.Position && { Position: SENSITIVE_STRING }),
403
+ ...(obj.Accuracy && { Accuracy: PositionalAccuracyFilterSensitiveLog(obj.Accuracy) }),
247
404
  ...(obj.PositionProperties && { PositionProperties: SENSITIVE_STRING }),
248
405
  });
406
+ export const GetDevicePositionHistoryRequestFilterSensitiveLog = (obj) => ({
407
+ ...obj,
408
+ ...(obj.StartTimeInclusive && { StartTimeInclusive: SENSITIVE_STRING }),
409
+ ...(obj.EndTimeExclusive && { EndTimeExclusive: SENSITIVE_STRING }),
410
+ });
249
411
  export const GetDevicePositionHistoryResponseFilterSensitiveLog = (obj) => ({
250
412
  ...obj,
251
413
  ...(obj.DevicePositions && {
@@ -287,6 +449,7 @@ export const GetPlaceResponseFilterSensitiveLog = (obj) => ({
287
449
  export const InferredStateFilterSensitiveLog = (obj) => ({
288
450
  ...obj,
289
451
  ...(obj.Position && { Position: SENSITIVE_STRING }),
452
+ ...(obj.Accuracy && { Accuracy: PositionalAccuracyFilterSensitiveLog(obj.Accuracy) }),
290
453
  });
291
454
  export const TrackingFilterGeometryFilterSensitiveLog = (obj) => ({
292
455
  ...obj,
@@ -298,13 +461,65 @@ export const ListDevicePositionsRequestFilterSensitiveLog = (obj) => ({
298
461
  });
299
462
  export const ListDevicePositionsResponseEntryFilterSensitiveLog = (obj) => ({
300
463
  ...obj,
464
+ ...(obj.SampleTime && { SampleTime: SENSITIVE_STRING }),
301
465
  ...(obj.Position && { Position: SENSITIVE_STRING }),
466
+ ...(obj.Accuracy && { Accuracy: PositionalAccuracyFilterSensitiveLog(obj.Accuracy) }),
302
467
  ...(obj.PositionProperties && { PositionProperties: SENSITIVE_STRING }),
303
468
  });
304
469
  export const ListDevicePositionsResponseFilterSensitiveLog = (obj) => ({
305
470
  ...obj,
306
471
  ...(obj.Entries && { Entries: obj.Entries.map((item) => ListDevicePositionsResponseEntryFilterSensitiveLog(item)) }),
307
472
  });
473
+ export const ListMapsResponseEntryFilterSensitiveLog = (obj) => ({
474
+ ...obj,
475
+ ...(obj.CreateTime && { CreateTime: SENSITIVE_STRING }),
476
+ ...(obj.UpdateTime && { UpdateTime: SENSITIVE_STRING }),
477
+ });
478
+ export const ListMapsResponseFilterSensitiveLog = (obj) => ({
479
+ ...obj,
480
+ ...(obj.Entries && { Entries: obj.Entries.map((item) => ListMapsResponseEntryFilterSensitiveLog(item)) }),
481
+ });
482
+ export const ListPlaceIndexesResponseEntryFilterSensitiveLog = (obj) => ({
483
+ ...obj,
484
+ ...(obj.CreateTime && { CreateTime: SENSITIVE_STRING }),
485
+ ...(obj.UpdateTime && { UpdateTime: SENSITIVE_STRING }),
486
+ });
487
+ export const ListPlaceIndexesResponseFilterSensitiveLog = (obj) => ({
488
+ ...obj,
489
+ ...(obj.Entries && { Entries: obj.Entries.map((item) => ListPlaceIndexesResponseEntryFilterSensitiveLog(item)) }),
490
+ });
491
+ export const ListRouteCalculatorsResponseEntryFilterSensitiveLog = (obj) => ({
492
+ ...obj,
493
+ ...(obj.CreateTime && { CreateTime: SENSITIVE_STRING }),
494
+ ...(obj.UpdateTime && { UpdateTime: SENSITIVE_STRING }),
495
+ });
496
+ export const ListRouteCalculatorsResponseFilterSensitiveLog = (obj) => ({
497
+ ...obj,
498
+ ...(obj.Entries && { Entries: obj.Entries.map((item) => ListRouteCalculatorsResponseEntryFilterSensitiveLog(item)) }),
499
+ });
500
+ export const ListTrackersResponseEntryFilterSensitiveLog = (obj) => ({
501
+ ...obj,
502
+ ...(obj.CreateTime && { CreateTime: SENSITIVE_STRING }),
503
+ ...(obj.UpdateTime && { UpdateTime: SENSITIVE_STRING }),
504
+ });
505
+ export const ListTrackersResponseFilterSensitiveLog = (obj) => ({
506
+ ...obj,
507
+ ...(obj.Entries && { Entries: obj.Entries.map((item) => ListTrackersResponseEntryFilterSensitiveLog(item)) }),
508
+ });
509
+ export const MapConfigurationUpdateFilterSensitiveLog = (obj) => ({
510
+ ...obj,
511
+ ...(obj.PoliticalView && { PoliticalView: SENSITIVE_STRING }),
512
+ });
513
+ export const UpdateMapRequestFilterSensitiveLog = (obj) => ({
514
+ ...obj,
515
+ ...(obj.ConfigurationUpdate && {
516
+ ConfigurationUpdate: MapConfigurationUpdateFilterSensitiveLog(obj.ConfigurationUpdate),
517
+ }),
518
+ });
519
+ export const UpdateMapResponseFilterSensitiveLog = (obj) => ({
520
+ ...obj,
521
+ ...(obj.UpdateTime && { UpdateTime: SENSITIVE_STRING }),
522
+ });
308
523
  export const SearchPlaceIndexForPositionRequestFilterSensitiveLog = (obj) => ({
309
524
  ...obj,
310
525
  ...(obj.Position && { Position: SENSITIVE_STRING }),
@@ -328,6 +543,7 @@ export const SearchPlaceIndexForSuggestionsRequestFilterSensitiveLog = (obj) =>
328
543
  ...(obj.Text && { Text: SENSITIVE_STRING }),
329
544
  ...(obj.BiasPosition && { BiasPosition: SENSITIVE_STRING }),
330
545
  ...(obj.FilterBBox && { FilterBBox: SENSITIVE_STRING }),
546
+ ...(obj.FilterCountries && { FilterCountries: SENSITIVE_STRING }),
331
547
  ...(obj.Key && { Key: SENSITIVE_STRING }),
332
548
  });
333
549
  export const SearchPlaceIndexForSuggestionsSummaryFilterSensitiveLog = (obj) => ({
@@ -335,6 +551,7 @@ export const SearchPlaceIndexForSuggestionsSummaryFilterSensitiveLog = (obj) =>
335
551
  ...(obj.Text && { Text: SENSITIVE_STRING }),
336
552
  ...(obj.BiasPosition && { BiasPosition: SENSITIVE_STRING }),
337
553
  ...(obj.FilterBBox && { FilterBBox: SENSITIVE_STRING }),
554
+ ...(obj.FilterCountries && { FilterCountries: SENSITIVE_STRING }),
338
555
  });
339
556
  export const SearchPlaceIndexForSuggestionsResponseFilterSensitiveLog = (obj) => ({
340
557
  ...obj,
@@ -345,6 +562,7 @@ export const SearchPlaceIndexForTextRequestFilterSensitiveLog = (obj) => ({
345
562
  ...(obj.Text && { Text: SENSITIVE_STRING }),
346
563
  ...(obj.BiasPosition && { BiasPosition: SENSITIVE_STRING }),
347
564
  ...(obj.FilterBBox && { FilterBBox: SENSITIVE_STRING }),
565
+ ...(obj.FilterCountries && { FilterCountries: SENSITIVE_STRING }),
348
566
  ...(obj.Key && { Key: SENSITIVE_STRING }),
349
567
  });
350
568
  export const SearchForTextResultFilterSensitiveLog = (obj) => ({
@@ -356,6 +574,7 @@ export const SearchPlaceIndexForTextSummaryFilterSensitiveLog = (obj) => ({
356
574
  ...(obj.Text && { Text: SENSITIVE_STRING }),
357
575
  ...(obj.BiasPosition && { BiasPosition: SENSITIVE_STRING }),
358
576
  ...(obj.FilterBBox && { FilterBBox: SENSITIVE_STRING }),
577
+ ...(obj.FilterCountries && { FilterCountries: SENSITIVE_STRING }),
359
578
  ...(obj.ResultBBox && { ResultBBox: SENSITIVE_STRING }),
360
579
  });
361
580
  export const SearchPlaceIndexForTextResponseFilterSensitiveLog = (obj) => ({
@@ -363,6 +582,18 @@ export const SearchPlaceIndexForTextResponseFilterSensitiveLog = (obj) => ({
363
582
  ...(obj.Summary && { Summary: SearchPlaceIndexForTextSummaryFilterSensitiveLog(obj.Summary) }),
364
583
  ...(obj.Results && { Results: obj.Results.map((item) => SearchForTextResultFilterSensitiveLog(item)) }),
365
584
  });
585
+ export const UpdatePlaceIndexResponseFilterSensitiveLog = (obj) => ({
586
+ ...obj,
587
+ ...(obj.UpdateTime && { UpdateTime: SENSITIVE_STRING }),
588
+ });
589
+ export const UpdateRouteCalculatorResponseFilterSensitiveLog = (obj) => ({
590
+ ...obj,
591
+ ...(obj.UpdateTime && { UpdateTime: SENSITIVE_STRING }),
592
+ });
593
+ export const UpdateTrackerResponseFilterSensitiveLog = (obj) => ({
594
+ ...obj,
595
+ ...(obj.UpdateTime && { UpdateTime: SENSITIVE_STRING }),
596
+ });
366
597
  export const VerifyDevicePositionRequestFilterSensitiveLog = (obj) => ({
367
598
  ...obj,
368
599
  ...(obj.DeviceState && { DeviceState: DeviceStateFilterSensitiveLog(obj.DeviceState) }),
@@ -370,4 +601,6 @@ export const VerifyDevicePositionRequestFilterSensitiveLog = (obj) => ({
370
601
  export const VerifyDevicePositionResponseFilterSensitiveLog = (obj) => ({
371
602
  ...obj,
372
603
  ...(obj.InferredState && { InferredState: InferredStateFilterSensitiveLog(obj.InferredState) }),
604
+ ...(obj.SampleTime && { SampleTime: SENSITIVE_STRING }),
605
+ ...(obj.ReceivedTime && { ReceivedTime: SENSITIVE_STRING }),
373
606
  });
@@ -2469,6 +2469,7 @@ const se_GeofenceGeometry = (input, context) => {
2469
2469
  return take(input, {
2470
2470
  Circle: (_) => se_Circle(_, context),
2471
2471
  Geobuf: context.base64Encoder,
2472
+ MultiPolygon: (_) => se_MultiLinearRings(_, context),
2472
2473
  Polygon: (_) => se_LinearRings(_, context),
2473
2474
  });
2474
2475
  };
@@ -2523,6 +2524,13 @@ const se_LteNetworkMeasurementsList = (input, context) => {
2523
2524
  return se_LteNetworkMeasurements(entry, context);
2524
2525
  });
2525
2526
  };
2527
+ const se_MultiLinearRings = (input, context) => {
2528
+ return input
2529
+ .filter((e) => e != null)
2530
+ .map((entry) => {
2531
+ return se_LinearRings(entry, context);
2532
+ });
2533
+ };
2526
2534
  const se_Position = (input, context) => {
2527
2535
  return input
2528
2536
  .filter((e) => e != null)
@@ -2677,6 +2685,7 @@ const de_GeofenceGeometry = (output, context) => {
2677
2685
  return take(output, {
2678
2686
  Circle: (_) => de_Circle(_, context),
2679
2687
  Geobuf: context.base64Decoder,
2688
+ MultiPolygon: (_) => de_MultiLinearRings(_, context),
2680
2689
  Polygon: (_) => de_LinearRings(_, context),
2681
2690
  });
2682
2691
  };
@@ -2878,6 +2887,14 @@ const de_ListTrackersResponseEntryList = (output, context) => {
2878
2887
  });
2879
2888
  return retVal;
2880
2889
  };
2890
+ const de_MultiLinearRings = (output, context) => {
2891
+ const retVal = (output || [])
2892
+ .filter((e) => e != null)
2893
+ .map((entry) => {
2894
+ return de_LinearRings(entry, context);
2895
+ });
2896
+ return retVal;
2897
+ };
2881
2898
  const de_Place = (output, context) => {
2882
2899
  return take(output, {
2883
2900
  AddressNumber: __expectString,
@@ -70,7 +70,7 @@ declare const AssociateTrackerConsumerCommand_base: {
70
70
  * <p>The resource that you've entered was not found in your AWS account.</p>
71
71
  *
72
72
  * @throws {@link ServiceQuotaExceededException} (client fault)
73
- * <p>The operation was denied because the request would exceed the maximum <a href="https://docs.aws.amazon.com/location/latest/developerguide/location-quotas.html">quota</a>
73
+ * <p>The operation was denied because the request would exceed the maximum <a href="https://docs.aws.amazon.com/location/previous/developerguide/location-quotas.html">quota</a>
74
74
  * set for Amazon Location Service.</p>
75
75
  *
76
76
  * @throws {@link ThrottlingException} (client fault)
@@ -54,7 +54,8 @@ declare const BatchEvaluateGeofencesCommand_base: {
54
54
  * </note>
55
55
  * <note>
56
56
  * <p>The <code>DeviceID</code> is used as a string to represent the device. You do not
57
- * need to have a <code>Tracker</code> associated with the <code>DeviceID</code>.</p>
57
+ * need to have a <code>Tracker</code> associated with the
58
+ * <code>DeviceID</code>.</p>
58
59
  * </note>
59
60
  * @example
60
61
  * Use a bare-bones client and the command you need to make an API call.
@@ -28,7 +28,8 @@ declare const BatchPutGeofenceCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>A batch request for storing geofence geometries into a given geofence collection, or
31
- * updates the geometry of an existing geofence if a geofence ID is included in the request.</p>
31
+ * updates the geometry of an existing geofence if a geofence ID is included in the
32
+ * request.</p>
32
33
  * @example
33
34
  * Use a bare-bones client and the command you need to make an API call.
34
35
  * ```javascript
@@ -55,6 +56,13 @@ declare const BatchPutGeofenceCommand_base: {
55
56
  * Radius: Number("double"), // required
56
57
  * },
57
58
  * Geobuf: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
59
+ * MultiPolygon: [ // MultiLinearRings
60
+ * [
61
+ * [
62
+ * "<Position>",
63
+ * ],
64
+ * ],
65
+ * ],
58
66
  * },
59
67
  * GeofenceProperties: { // PropertyMap
60
68
  * "<keys>": "STRING_VALUE",
@@ -28,7 +28,7 @@ declare const CalculateRouteCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>
31
- * <a href="https://docs.aws.amazon.com/location/latest/developerguide/calculate-route.html">Calculates a route</a> given the following required parameters:
31
+ * <a href="https://docs.aws.amazon.com/location/previous/developerguide/calculate-route.html">Calculates a route</a> given the following required parameters:
32
32
  * <code>DeparturePosition</code> and <code>DestinationPosition</code>. Requires that
33
33
  * you first <a href="https://docs.aws.amazon.com/location-routes/latest/APIReference/API_CreateRouteCalculator.html">create a
34
34
  * route calculator resource</a>.</p>
@@ -38,7 +38,7 @@ declare const CalculateRouteCommand_base: {
38
38
  * <ul>
39
39
  * <li>
40
40
  * <p>
41
- * <a href="https://docs.aws.amazon.com/location/latest/developerguide/departure-time.html">Specifying a
41
+ * <a href="https://docs.aws.amazon.com/location/previous/developerguide/departure-time.html">Specifying a
42
42
  * departure time</a> using either <code>DepartureTime</code> or
43
43
  * <code>DepartNow</code>. This calculates a route based on predictive traffic
44
44
  * data at the given time. </p>
@@ -50,7 +50,7 @@ declare const CalculateRouteCommand_base: {
50
50
  * </li>
51
51
  * <li>
52
52
  * <p>
53
- * <a href="https://docs.aws.amazon.com/location/latest/developerguide/travel-mode.html">Specifying a travel
53
+ * <a href="https://docs.aws.amazon.com/location/previous/developerguide/travel-mode.html">Specifying a travel
54
54
  * mode</a> using TravelMode sets the transportation mode used to calculate
55
55
  * the routes. This also lets you specify additional route preferences in
56
56
  * <code>CarModeOptions</code> if traveling by <code>Car</code>, or
@@ -28,7 +28,7 @@ declare const CalculateRouteMatrixCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>
31
- * <a href="https://docs.aws.amazon.com/location/latest/developerguide/calculate-route-matrix.html"> Calculates a route
31
+ * <a href="https://docs.aws.amazon.com/location/previous/developerguide/calculate-route-matrix.html"> Calculates a route
32
32
  * matrix</a> given the following required parameters:
33
33
  * <code>DeparturePositions</code> and <code>DestinationPositions</code>.
34
34
  * <code>CalculateRouteMatrix</code> calculates routes and returns the travel time and
@@ -50,7 +50,7 @@ declare const CalculateRouteMatrixCommand_base: {
50
50
  * <ul>
51
51
  * <li>
52
52
  * <p>
53
- * <a href="https://docs.aws.amazon.com/location/latest/developerguide/departure-time.html"> Specifying a
53
+ * <a href="https://docs.aws.amazon.com/location/previous/developerguide/departure-time.html"> Specifying a
54
54
  * departure time</a> using either <code>DepartureTime</code> or
55
55
  * <code>DepartNow</code>. This calculates routes based on predictive traffic
56
56
  * data at the given time. </p>
@@ -62,7 +62,7 @@ declare const CalculateRouteMatrixCommand_base: {
62
62
  * </li>
63
63
  * <li>
64
64
  * <p>
65
- * <a href="https://docs.aws.amazon.com/location/latest/developerguide/travel-mode.html">Specifying a travel
65
+ * <a href="https://docs.aws.amazon.com/location/previous/developerguide/travel-mode.html">Specifying a travel
66
66
  * mode</a> using TravelMode sets the transportation mode used to calculate
67
67
  * the routes. This also lets you specify additional route preferences in
68
68
  * <code>CarModeOptions</code> if traveling by <code>Car</code>, or
@@ -71,7 +71,7 @@ declare const CreateGeofenceCollectionCommand_base: {
71
71
  * <p>The request has failed to process because of an unknown server error, exception, or failure.</p>
72
72
  *
73
73
  * @throws {@link ServiceQuotaExceededException} (client fault)
74
- * <p>The operation was denied because the request would exceed the maximum <a href="https://docs.aws.amazon.com/location/latest/developerguide/location-quotas.html">quota</a>
74
+ * <p>The operation was denied because the request would exceed the maximum <a href="https://docs.aws.amazon.com/location/previous/developerguide/location-quotas.html">quota</a>
75
75
  * set for Amazon Location Service.</p>
76
76
  *
77
77
  * @throws {@link ThrottlingException} (client fault)
@@ -30,7 +30,7 @@ declare const CreateKeyCommand_base: {
30
30
  * <p>Creates an API key resource in your Amazon Web Services account, which lets you grant
31
31
  * actions for Amazon Location resources to the API key bearer.</p>
32
32
  * <note>
33
- * <p>For more information, see <a href="https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html">Using API keys</a>.</p>
33
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/location/previous/developerguide/using-apikeys.html">Using API keys</a>.</p>
34
34
  * </note>
35
35
  * @example
36
36
  * Use a bare-bones client and the command you need to make an API call.
@@ -86,7 +86,7 @@ declare const CreateKeyCommand_base: {
86
86
  * <p>The request has failed to process because of an unknown server error, exception, or failure.</p>
87
87
  *
88
88
  * @throws {@link ServiceQuotaExceededException} (client fault)
89
- * <p>The operation was denied because the request would exceed the maximum <a href="https://docs.aws.amazon.com/location/latest/developerguide/location-quotas.html">quota</a>
89
+ * <p>The operation was denied because the request would exceed the maximum <a href="https://docs.aws.amazon.com/location/previous/developerguide/location-quotas.html">quota</a>
90
90
  * set for Amazon Location Service.</p>
91
91
  *
92
92
  * @throws {@link ThrottlingException} (client fault)
@@ -83,7 +83,7 @@ declare const CreateMapCommand_base: {
83
83
  * <p>The request has failed to process because of an unknown server error, exception, or failure.</p>
84
84
  *
85
85
  * @throws {@link ServiceQuotaExceededException} (client fault)
86
- * <p>The operation was denied because the request would exceed the maximum <a href="https://docs.aws.amazon.com/location/latest/developerguide/location-quotas.html">quota</a>
86
+ * <p>The operation was denied because the request would exceed the maximum <a href="https://docs.aws.amazon.com/location/previous/developerguide/location-quotas.html">quota</a>
87
87
  * set for Amazon Location Service.</p>
88
88
  *
89
89
  * @throws {@link ThrottlingException} (client fault)
@@ -83,7 +83,7 @@ declare const CreatePlaceIndexCommand_base: {
83
83
  * <p>The request has failed to process because of an unknown server error, exception, or failure.</p>
84
84
  *
85
85
  * @throws {@link ServiceQuotaExceededException} (client fault)
86
- * <p>The operation was denied because the request would exceed the maximum <a href="https://docs.aws.amazon.com/location/latest/developerguide/location-quotas.html">quota</a>
86
+ * <p>The operation was denied because the request would exceed the maximum <a href="https://docs.aws.amazon.com/location/previous/developerguide/location-quotas.html">quota</a>
87
87
  * set for Amazon Location Service.</p>
88
88
  *
89
89
  * @throws {@link ThrottlingException} (client fault)
@@ -79,7 +79,7 @@ declare const CreateRouteCalculatorCommand_base: {
79
79
  * <p>The request has failed to process because of an unknown server error, exception, or failure.</p>
80
80
  *
81
81
  * @throws {@link ServiceQuotaExceededException} (client fault)
82
- * <p>The operation was denied because the request would exceed the maximum <a href="https://docs.aws.amazon.com/location/latest/developerguide/location-quotas.html">quota</a>
82
+ * <p>The operation was denied because the request would exceed the maximum <a href="https://docs.aws.amazon.com/location/previous/developerguide/location-quotas.html">quota</a>
83
83
  * set for Amazon Location Service.</p>
84
84
  *
85
85
  * @throws {@link ThrottlingException} (client fault)
@@ -75,7 +75,7 @@ declare const CreateTrackerCommand_base: {
75
75
  * <p>The request has failed to process because of an unknown server error, exception, or failure.</p>
76
76
  *
77
77
  * @throws {@link ServiceQuotaExceededException} (client fault)
78
- * <p>The operation was denied because the request would exceed the maximum <a href="https://docs.aws.amazon.com/location/latest/developerguide/location-quotas.html">quota</a>
78
+ * <p>The operation was denied because the request would exceed the maximum <a href="https://docs.aws.amazon.com/location/previous/developerguide/location-quotas.html">quota</a>
79
79
  * set for Amazon Location Service.</p>
80
80
  *
81
81
  * @throws {@link ThrottlingException} (client fault)
@@ -27,15 +27,26 @@ declare const ForecastGeofenceEventsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Evaluates device positions against
31
- * geofence geometries from a given geofence collection. The event forecasts three states for which
32
- * a device can be in relative to a geofence:</p>
30
+ * <p>This action forecasts future geofence events that are likely to occur within a
31
+ * specified time horizon if a device continues moving at its current speed. Each
32
+ * forecasted event is associated with a geofence from a provided geofence collection. A
33
+ * forecast event can have one of the following states:</p>
33
34
  * <p>
34
- * <code>ENTER</code>: If a device is outside of a geofence, but would breach the fence if the device is moving at its current speed within time horizon window.</p>
35
+ * <code>ENTER</code>: The device position is outside the referenced geofence, but the
36
+ * device may cross into the geofence during the forecasting time horizon if it maintains
37
+ * its current speed.</p>
35
38
  * <p>
36
- * <code>EXIT</code>: If a device is inside of a geofence, but would breach the fence if the device is moving at its current speed within time horizon window.</p>
39
+ * <code>EXIT</code>: The device position is inside the referenced geofence, but the
40
+ * device may leave the geofence during the forecasted time horizon if the device maintains
41
+ * it's current speed.</p>
37
42
  * <p>
38
- * <code>IDLE</code>: If a device is inside of a geofence, and the device is not moving.</p>
43
+ * <code>IDLE</code>:The device is inside the geofence, and it will remain inside the
44
+ * geofence through the end of the time horizon if the device maintains it's current
45
+ * speed.</p>
46
+ * <note>
47
+ * <p>Heading direction is not considered in the current version. The API takes a
48
+ * conservative approach and includes events that can occur for any heading.</p>
49
+ * </note>
39
50
  * @example
40
51
  * Use a bare-bones client and the command you need to make an API call.
41
52
  * ```javascript