aws-sdk-locationservice 1.3.0 → 1.4.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.
@@ -18,6 +18,11 @@ module Aws::LocationService
18
18
  ArnList = Shapes::ListShape.new(name: 'ArnList')
19
19
  AssociateTrackerConsumerRequest = Shapes::StructureShape.new(name: 'AssociateTrackerConsumerRequest')
20
20
  AssociateTrackerConsumerResponse = Shapes::StructureShape.new(name: 'AssociateTrackerConsumerResponse')
21
+ BatchDeleteDevicePositionHistoryError = Shapes::StructureShape.new(name: 'BatchDeleteDevicePositionHistoryError')
22
+ BatchDeleteDevicePositionHistoryErrorList = Shapes::ListShape.new(name: 'BatchDeleteDevicePositionHistoryErrorList')
23
+ BatchDeleteDevicePositionHistoryRequest = Shapes::StructureShape.new(name: 'BatchDeleteDevicePositionHistoryRequest')
24
+ BatchDeleteDevicePositionHistoryRequestDeviceIdsList = Shapes::ListShape.new(name: 'BatchDeleteDevicePositionHistoryRequestDeviceIdsList')
25
+ BatchDeleteDevicePositionHistoryResponse = Shapes::StructureShape.new(name: 'BatchDeleteDevicePositionHistoryResponse')
21
26
  BatchDeleteGeofenceError = Shapes::StructureShape.new(name: 'BatchDeleteGeofenceError')
22
27
  BatchDeleteGeofenceErrorList = Shapes::ListShape.new(name: 'BatchDeleteGeofenceErrorList')
23
28
  BatchDeleteGeofenceRequest = Shapes::StructureShape.new(name: 'BatchDeleteGeofenceRequest')
@@ -50,7 +55,16 @@ module Aws::LocationService
50
55
  BatchUpdateDevicePositionRequestUpdatesList = Shapes::ListShape.new(name: 'BatchUpdateDevicePositionRequestUpdatesList')
51
56
  BatchUpdateDevicePositionResponse = Shapes::StructureShape.new(name: 'BatchUpdateDevicePositionResponse')
52
57
  Blob = Shapes::BlobShape.new(name: 'Blob')
58
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
53
59
  BoundingBox = Shapes::ListShape.new(name: 'BoundingBox')
60
+ CalculateRouteCarModeOptions = Shapes::StructureShape.new(name: 'CalculateRouteCarModeOptions')
61
+ CalculateRouteRequest = Shapes::StructureShape.new(name: 'CalculateRouteRequest')
62
+ CalculateRouteRequestWaypointPositionsList = Shapes::ListShape.new(name: 'CalculateRouteRequestWaypointPositionsList')
63
+ CalculateRouteResponse = Shapes::StructureShape.new(name: 'CalculateRouteResponse')
64
+ CalculateRouteSummary = Shapes::StructureShape.new(name: 'CalculateRouteSummary')
65
+ CalculateRouteSummaryDistanceDouble = Shapes::FloatShape.new(name: 'CalculateRouteSummaryDistanceDouble')
66
+ CalculateRouteSummaryDurationSecondsDouble = Shapes::FloatShape.new(name: 'CalculateRouteSummaryDurationSecondsDouble')
67
+ CalculateRouteTruckModeOptions = Shapes::StructureShape.new(name: 'CalculateRouteTruckModeOptions')
54
68
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
55
69
  CountryCode = Shapes::StringShape.new(name: 'CountryCode')
56
70
  CountryCodeList = Shapes::ListShape.new(name: 'CountryCodeList')
@@ -60,6 +74,8 @@ module Aws::LocationService
60
74
  CreateMapResponse = Shapes::StructureShape.new(name: 'CreateMapResponse')
61
75
  CreatePlaceIndexRequest = Shapes::StructureShape.new(name: 'CreatePlaceIndexRequest')
62
76
  CreatePlaceIndexResponse = Shapes::StructureShape.new(name: 'CreatePlaceIndexResponse')
77
+ CreateRouteCalculatorRequest = Shapes::StructureShape.new(name: 'CreateRouteCalculatorRequest')
78
+ CreateRouteCalculatorResponse = Shapes::StructureShape.new(name: 'CreateRouteCalculatorResponse')
63
79
  CreateTrackerRequest = Shapes::StructureShape.new(name: 'CreateTrackerRequest')
64
80
  CreateTrackerResponse = Shapes::StructureShape.new(name: 'CreateTrackerResponse')
65
81
  DataSourceConfiguration = Shapes::StructureShape.new(name: 'DataSourceConfiguration')
@@ -69,6 +85,8 @@ module Aws::LocationService
69
85
  DeleteMapResponse = Shapes::StructureShape.new(name: 'DeleteMapResponse')
70
86
  DeletePlaceIndexRequest = Shapes::StructureShape.new(name: 'DeletePlaceIndexRequest')
71
87
  DeletePlaceIndexResponse = Shapes::StructureShape.new(name: 'DeletePlaceIndexResponse')
88
+ DeleteRouteCalculatorRequest = Shapes::StructureShape.new(name: 'DeleteRouteCalculatorRequest')
89
+ DeleteRouteCalculatorResponse = Shapes::StructureShape.new(name: 'DeleteRouteCalculatorResponse')
72
90
  DeleteTrackerRequest = Shapes::StructureShape.new(name: 'DeleteTrackerRequest')
73
91
  DeleteTrackerResponse = Shapes::StructureShape.new(name: 'DeleteTrackerResponse')
74
92
  DescribeGeofenceCollectionRequest = Shapes::StructureShape.new(name: 'DescribeGeofenceCollectionRequest')
@@ -77,13 +95,17 @@ module Aws::LocationService
77
95
  DescribeMapResponse = Shapes::StructureShape.new(name: 'DescribeMapResponse')
78
96
  DescribePlaceIndexRequest = Shapes::StructureShape.new(name: 'DescribePlaceIndexRequest')
79
97
  DescribePlaceIndexResponse = Shapes::StructureShape.new(name: 'DescribePlaceIndexResponse')
98
+ DescribeRouteCalculatorRequest = Shapes::StructureShape.new(name: 'DescribeRouteCalculatorRequest')
99
+ DescribeRouteCalculatorResponse = Shapes::StructureShape.new(name: 'DescribeRouteCalculatorResponse')
80
100
  DescribeTrackerRequest = Shapes::StructureShape.new(name: 'DescribeTrackerRequest')
81
101
  DescribeTrackerResponse = Shapes::StructureShape.new(name: 'DescribeTrackerResponse')
82
102
  DevicePosition = Shapes::StructureShape.new(name: 'DevicePosition')
83
103
  DevicePositionList = Shapes::ListShape.new(name: 'DevicePositionList')
84
104
  DevicePositionUpdate = Shapes::StructureShape.new(name: 'DevicePositionUpdate')
105
+ DimensionUnit = Shapes::StringShape.new(name: 'DimensionUnit')
85
106
  DisassociateTrackerConsumerRequest = Shapes::StructureShape.new(name: 'DisassociateTrackerConsumerRequest')
86
107
  DisassociateTrackerConsumerResponse = Shapes::StructureShape.new(name: 'DisassociateTrackerConsumerResponse')
108
+ DistanceUnit = Shapes::StringShape.new(name: 'DistanceUnit')
87
109
  Double = Shapes::FloatShape.new(name: 'Double')
88
110
  GeofenceGeometry = Shapes::StructureShape.new(name: 'GeofenceGeometry')
89
111
  GetDevicePositionHistoryRequest = Shapes::StructureShape.new(name: 'GetDevicePositionHistoryRequest')
@@ -108,8 +130,20 @@ module Aws::LocationService
108
130
  Id = Shapes::StringShape.new(name: 'Id')
109
131
  IntendedUse = Shapes::StringShape.new(name: 'IntendedUse')
110
132
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
133
+ KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
134
+ Leg = Shapes::StructureShape.new(name: 'Leg')
135
+ LegDistanceDouble = Shapes::FloatShape.new(name: 'LegDistanceDouble')
136
+ LegDurationSecondsDouble = Shapes::FloatShape.new(name: 'LegDurationSecondsDouble')
137
+ LegGeometry = Shapes::StructureShape.new(name: 'LegGeometry')
138
+ LegList = Shapes::ListShape.new(name: 'LegList')
139
+ LineString = Shapes::ListShape.new(name: 'LineString')
111
140
  LinearRing = Shapes::ListShape.new(name: 'LinearRing')
112
141
  LinearRings = Shapes::ListShape.new(name: 'LinearRings')
142
+ ListDevicePositionsRequest = Shapes::StructureShape.new(name: 'ListDevicePositionsRequest')
143
+ ListDevicePositionsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListDevicePositionsRequestMaxResultsInteger')
144
+ ListDevicePositionsResponse = Shapes::StructureShape.new(name: 'ListDevicePositionsResponse')
145
+ ListDevicePositionsResponseEntry = Shapes::StructureShape.new(name: 'ListDevicePositionsResponseEntry')
146
+ ListDevicePositionsResponseEntryList = Shapes::ListShape.new(name: 'ListDevicePositionsResponseEntryList')
113
147
  ListGeofenceCollectionsRequest = Shapes::StructureShape.new(name: 'ListGeofenceCollectionsRequest')
114
148
  ListGeofenceCollectionsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListGeofenceCollectionsRequestMaxResultsInteger')
115
149
  ListGeofenceCollectionsResponse = Shapes::StructureShape.new(name: 'ListGeofenceCollectionsResponse')
@@ -129,6 +163,13 @@ module Aws::LocationService
129
163
  ListPlaceIndexesResponse = Shapes::StructureShape.new(name: 'ListPlaceIndexesResponse')
130
164
  ListPlaceIndexesResponseEntry = Shapes::StructureShape.new(name: 'ListPlaceIndexesResponseEntry')
131
165
  ListPlaceIndexesResponseEntryList = Shapes::ListShape.new(name: 'ListPlaceIndexesResponseEntryList')
166
+ ListRouteCalculatorsRequest = Shapes::StructureShape.new(name: 'ListRouteCalculatorsRequest')
167
+ ListRouteCalculatorsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListRouteCalculatorsRequestMaxResultsInteger')
168
+ ListRouteCalculatorsResponse = Shapes::StructureShape.new(name: 'ListRouteCalculatorsResponse')
169
+ ListRouteCalculatorsResponseEntry = Shapes::StructureShape.new(name: 'ListRouteCalculatorsResponseEntry')
170
+ ListRouteCalculatorsResponseEntryList = Shapes::ListShape.new(name: 'ListRouteCalculatorsResponseEntryList')
171
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
172
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
132
173
  ListTrackerConsumersRequest = Shapes::StructureShape.new(name: 'ListTrackerConsumersRequest')
133
174
  ListTrackerConsumersRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListTrackerConsumersRequestMaxResultsInteger')
134
175
  ListTrackerConsumersResponse = Shapes::StructureShape.new(name: 'ListTrackerConsumersResponse')
@@ -159,16 +200,37 @@ module Aws::LocationService
159
200
  SearchPlaceIndexForTextRequest = Shapes::StructureShape.new(name: 'SearchPlaceIndexForTextRequest')
160
201
  SearchPlaceIndexForTextResponse = Shapes::StructureShape.new(name: 'SearchPlaceIndexForTextResponse')
161
202
  SearchPlaceIndexForTextSummary = Shapes::StructureShape.new(name: 'SearchPlaceIndexForTextSummary')
203
+ Step = Shapes::StructureShape.new(name: 'Step')
204
+ StepDistanceDouble = Shapes::FloatShape.new(name: 'StepDistanceDouble')
205
+ StepDurationSecondsDouble = Shapes::FloatShape.new(name: 'StepDurationSecondsDouble')
206
+ StepGeometryOffsetInteger = Shapes::IntegerShape.new(name: 'StepGeometryOffsetInteger')
207
+ StepList = Shapes::ListShape.new(name: 'StepList')
162
208
  String = Shapes::StringShape.new(name: 'String')
163
209
  SyntheticSearchPlaceIndexForTextRequestString = Shapes::StringShape.new(name: 'SyntheticSearchPlaceIndexForTextRequestString')
164
210
  SyntheticSearchPlaceIndexForTextSummaryString = Shapes::StringShape.new(name: 'SyntheticSearchPlaceIndexForTextSummaryString')
211
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
212
+ TagKeys = Shapes::ListShape.new(name: 'TagKeys')
213
+ TagMap = Shapes::MapShape.new(name: 'TagMap')
214
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
215
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
216
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
165
217
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
166
218
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
167
219
  Token = Shapes::StringShape.new(name: 'Token')
220
+ TravelMode = Shapes::StringShape.new(name: 'TravelMode')
221
+ TruckDimensions = Shapes::StructureShape.new(name: 'TruckDimensions')
222
+ TruckDimensionsHeightDouble = Shapes::FloatShape.new(name: 'TruckDimensionsHeightDouble')
223
+ TruckDimensionsLengthDouble = Shapes::FloatShape.new(name: 'TruckDimensionsLengthDouble')
224
+ TruckDimensionsWidthDouble = Shapes::FloatShape.new(name: 'TruckDimensionsWidthDouble')
225
+ TruckWeight = Shapes::StructureShape.new(name: 'TruckWeight')
226
+ TruckWeightTotalDouble = Shapes::FloatShape.new(name: 'TruckWeightTotalDouble')
227
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
228
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
168
229
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
169
230
  ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
170
231
  ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
171
232
  ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
233
+ VehicleWeightUnit = Shapes::StringShape.new(name: 'VehicleWeightUnit')
172
234
 
173
235
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
174
236
  AccessDeniedException.struct_class = Types::AccessDeniedException
@@ -181,6 +243,21 @@ module Aws::LocationService
181
243
 
182
244
  AssociateTrackerConsumerResponse.struct_class = Types::AssociateTrackerConsumerResponse
183
245
 
246
+ BatchDeleteDevicePositionHistoryError.add_member(:device_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DeviceId"))
247
+ BatchDeleteDevicePositionHistoryError.add_member(:error, Shapes::ShapeRef.new(shape: BatchItemError, required: true, location_name: "Error"))
248
+ BatchDeleteDevicePositionHistoryError.struct_class = Types::BatchDeleteDevicePositionHistoryError
249
+
250
+ BatchDeleteDevicePositionHistoryErrorList.member = Shapes::ShapeRef.new(shape: BatchDeleteDevicePositionHistoryError)
251
+
252
+ BatchDeleteDevicePositionHistoryRequest.add_member(:device_ids, Shapes::ShapeRef.new(shape: BatchDeleteDevicePositionHistoryRequestDeviceIdsList, required: true, location_name: "DeviceIds"))
253
+ BatchDeleteDevicePositionHistoryRequest.add_member(:tracker_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "TrackerName"))
254
+ BatchDeleteDevicePositionHistoryRequest.struct_class = Types::BatchDeleteDevicePositionHistoryRequest
255
+
256
+ BatchDeleteDevicePositionHistoryRequestDeviceIdsList.member = Shapes::ShapeRef.new(shape: Id)
257
+
258
+ BatchDeleteDevicePositionHistoryResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchDeleteDevicePositionHistoryErrorList, required: true, location_name: "Errors"))
259
+ BatchDeleteDevicePositionHistoryResponse.struct_class = Types::BatchDeleteDevicePositionHistoryResponse
260
+
184
261
  BatchDeleteGeofenceError.add_member(:error, Shapes::ShapeRef.new(shape: BatchItemError, required: true, location_name: "Error"))
185
262
  BatchDeleteGeofenceError.add_member(:geofence_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "GeofenceId"))
186
263
  BatchDeleteGeofenceError.struct_class = Types::BatchDeleteGeofenceError
@@ -277,6 +354,42 @@ module Aws::LocationService
277
354
 
278
355
  BoundingBox.member = Shapes::ShapeRef.new(shape: Double)
279
356
 
357
+ CalculateRouteCarModeOptions.add_member(:avoid_ferries, Shapes::ShapeRef.new(shape: Boolean, location_name: "AvoidFerries"))
358
+ CalculateRouteCarModeOptions.add_member(:avoid_tolls, Shapes::ShapeRef.new(shape: Boolean, location_name: "AvoidTolls"))
359
+ CalculateRouteCarModeOptions.struct_class = Types::CalculateRouteCarModeOptions
360
+
361
+ CalculateRouteRequest.add_member(:calculator_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "CalculatorName"))
362
+ CalculateRouteRequest.add_member(:car_mode_options, Shapes::ShapeRef.new(shape: CalculateRouteCarModeOptions, location_name: "CarModeOptions"))
363
+ CalculateRouteRequest.add_member(:depart_now, Shapes::ShapeRef.new(shape: Boolean, location_name: "DepartNow"))
364
+ CalculateRouteRequest.add_member(:departure_position, Shapes::ShapeRef.new(shape: Position, required: true, location_name: "DeparturePosition"))
365
+ CalculateRouteRequest.add_member(:departure_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DepartureTime"))
366
+ CalculateRouteRequest.add_member(:destination_position, Shapes::ShapeRef.new(shape: Position, required: true, location_name: "DestinationPosition"))
367
+ CalculateRouteRequest.add_member(:distance_unit, Shapes::ShapeRef.new(shape: DistanceUnit, location_name: "DistanceUnit"))
368
+ CalculateRouteRequest.add_member(:include_leg_geometry, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludeLegGeometry"))
369
+ CalculateRouteRequest.add_member(:travel_mode, Shapes::ShapeRef.new(shape: TravelMode, location_name: "TravelMode"))
370
+ CalculateRouteRequest.add_member(:truck_mode_options, Shapes::ShapeRef.new(shape: CalculateRouteTruckModeOptions, location_name: "TruckModeOptions"))
371
+ CalculateRouteRequest.add_member(:waypoint_positions, Shapes::ShapeRef.new(shape: CalculateRouteRequestWaypointPositionsList, location_name: "WaypointPositions"))
372
+ CalculateRouteRequest.struct_class = Types::CalculateRouteRequest
373
+
374
+ CalculateRouteRequestWaypointPositionsList.member = Shapes::ShapeRef.new(shape: Position)
375
+
376
+ CalculateRouteResponse.add_member(:legs, Shapes::ShapeRef.new(shape: LegList, required: true, location_name: "Legs"))
377
+ CalculateRouteResponse.add_member(:summary, Shapes::ShapeRef.new(shape: CalculateRouteSummary, required: true, location_name: "Summary"))
378
+ CalculateRouteResponse.struct_class = Types::CalculateRouteResponse
379
+
380
+ CalculateRouteSummary.add_member(:data_source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataSource"))
381
+ CalculateRouteSummary.add_member(:distance, Shapes::ShapeRef.new(shape: CalculateRouteSummaryDistanceDouble, required: true, location_name: "Distance"))
382
+ CalculateRouteSummary.add_member(:distance_unit, Shapes::ShapeRef.new(shape: DistanceUnit, required: true, location_name: "DistanceUnit"))
383
+ CalculateRouteSummary.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: CalculateRouteSummaryDurationSecondsDouble, required: true, location_name: "DurationSeconds"))
384
+ CalculateRouteSummary.add_member(:route_b_box, Shapes::ShapeRef.new(shape: BoundingBox, required: true, location_name: "RouteBBox"))
385
+ CalculateRouteSummary.struct_class = Types::CalculateRouteSummary
386
+
387
+ CalculateRouteTruckModeOptions.add_member(:avoid_ferries, Shapes::ShapeRef.new(shape: Boolean, location_name: "AvoidFerries"))
388
+ CalculateRouteTruckModeOptions.add_member(:avoid_tolls, Shapes::ShapeRef.new(shape: Boolean, location_name: "AvoidTolls"))
389
+ CalculateRouteTruckModeOptions.add_member(:dimensions, Shapes::ShapeRef.new(shape: TruckDimensions, location_name: "Dimensions"))
390
+ CalculateRouteTruckModeOptions.add_member(:weight, Shapes::ShapeRef.new(shape: TruckWeight, location_name: "Weight"))
391
+ CalculateRouteTruckModeOptions.struct_class = Types::CalculateRouteTruckModeOptions
392
+
280
393
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
281
394
  ConflictException.struct_class = Types::ConflictException
282
395
 
@@ -284,8 +397,10 @@ module Aws::LocationService
284
397
 
285
398
  CreateGeofenceCollectionRequest.add_member(:collection_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "CollectionName"))
286
399
  CreateGeofenceCollectionRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
400
+ CreateGeofenceCollectionRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
287
401
  CreateGeofenceCollectionRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, required: true, location_name: "PricingPlan"))
288
402
  CreateGeofenceCollectionRequest.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, location_name: "PricingPlanDataSource"))
403
+ CreateGeofenceCollectionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
289
404
  CreateGeofenceCollectionRequest.struct_class = Types::CreateGeofenceCollectionRequest
290
405
 
291
406
  CreateGeofenceCollectionResponse.add_member(:collection_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CollectionArn"))
@@ -297,6 +412,7 @@ module Aws::LocationService
297
412
  CreateMapRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
298
413
  CreateMapRequest.add_member(:map_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "MapName"))
299
414
  CreateMapRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, required: true, location_name: "PricingPlan"))
415
+ CreateMapRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
300
416
  CreateMapRequest.struct_class = Types::CreateMapRequest
301
417
 
302
418
  CreateMapResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
@@ -309,6 +425,7 @@ module Aws::LocationService
309
425
  CreatePlaceIndexRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
310
426
  CreatePlaceIndexRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "IndexName"))
311
427
  CreatePlaceIndexRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, required: true, location_name: "PricingPlan"))
428
+ CreatePlaceIndexRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
312
429
  CreatePlaceIndexRequest.struct_class = Types::CreatePlaceIndexRequest
313
430
 
314
431
  CreatePlaceIndexResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
@@ -316,9 +433,23 @@ module Aws::LocationService
316
433
  CreatePlaceIndexResponse.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "IndexName"))
317
434
  CreatePlaceIndexResponse.struct_class = Types::CreatePlaceIndexResponse
318
435
 
436
+ CreateRouteCalculatorRequest.add_member(:calculator_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "CalculatorName"))
437
+ CreateRouteCalculatorRequest.add_member(:data_source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataSource"))
438
+ CreateRouteCalculatorRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
439
+ CreateRouteCalculatorRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, required: true, location_name: "PricingPlan"))
440
+ CreateRouteCalculatorRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
441
+ CreateRouteCalculatorRequest.struct_class = Types::CreateRouteCalculatorRequest
442
+
443
+ CreateRouteCalculatorResponse.add_member(:calculator_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CalculatorArn"))
444
+ CreateRouteCalculatorResponse.add_member(:calculator_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "CalculatorName"))
445
+ CreateRouteCalculatorResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
446
+ CreateRouteCalculatorResponse.struct_class = Types::CreateRouteCalculatorResponse
447
+
319
448
  CreateTrackerRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
449
+ CreateTrackerRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
320
450
  CreateTrackerRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, required: true, location_name: "PricingPlan"))
321
451
  CreateTrackerRequest.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, location_name: "PricingPlanDataSource"))
452
+ CreateTrackerRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
322
453
  CreateTrackerRequest.add_member(:tracker_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "TrackerName"))
323
454
  CreateTrackerRequest.struct_class = Types::CreateTrackerRequest
324
455
 
@@ -345,6 +476,11 @@ module Aws::LocationService
345
476
 
346
477
  DeletePlaceIndexResponse.struct_class = Types::DeletePlaceIndexResponse
347
478
 
479
+ DeleteRouteCalculatorRequest.add_member(:calculator_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "CalculatorName"))
480
+ DeleteRouteCalculatorRequest.struct_class = Types::DeleteRouteCalculatorRequest
481
+
482
+ DeleteRouteCalculatorResponse.struct_class = Types::DeleteRouteCalculatorResponse
483
+
348
484
  DeleteTrackerRequest.add_member(:tracker_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "TrackerName"))
349
485
  DeleteTrackerRequest.struct_class = Types::DeleteTrackerRequest
350
486
 
@@ -357,8 +493,10 @@ module Aws::LocationService
357
493
  DescribeGeofenceCollectionResponse.add_member(:collection_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "CollectionName"))
358
494
  DescribeGeofenceCollectionResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
359
495
  DescribeGeofenceCollectionResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
496
+ DescribeGeofenceCollectionResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
360
497
  DescribeGeofenceCollectionResponse.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, required: true, location_name: "PricingPlan"))
361
498
  DescribeGeofenceCollectionResponse.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, location_name: "PricingPlanDataSource"))
499
+ DescribeGeofenceCollectionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
362
500
  DescribeGeofenceCollectionResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
363
501
  DescribeGeofenceCollectionResponse.struct_class = Types::DescribeGeofenceCollectionResponse
364
502
 
@@ -372,6 +510,7 @@ module Aws::LocationService
372
510
  DescribeMapResponse.add_member(:map_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "MapArn"))
373
511
  DescribeMapResponse.add_member(:map_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "MapName"))
374
512
  DescribeMapResponse.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, required: true, location_name: "PricingPlan"))
513
+ DescribeMapResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
375
514
  DescribeMapResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
376
515
  DescribeMapResponse.struct_class = Types::DescribeMapResponse
377
516
 
@@ -385,16 +524,32 @@ module Aws::LocationService
385
524
  DescribePlaceIndexResponse.add_member(:index_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "IndexArn"))
386
525
  DescribePlaceIndexResponse.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "IndexName"))
387
526
  DescribePlaceIndexResponse.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, required: true, location_name: "PricingPlan"))
527
+ DescribePlaceIndexResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
388
528
  DescribePlaceIndexResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
389
529
  DescribePlaceIndexResponse.struct_class = Types::DescribePlaceIndexResponse
390
530
 
531
+ DescribeRouteCalculatorRequest.add_member(:calculator_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "CalculatorName"))
532
+ DescribeRouteCalculatorRequest.struct_class = Types::DescribeRouteCalculatorRequest
533
+
534
+ DescribeRouteCalculatorResponse.add_member(:calculator_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CalculatorArn"))
535
+ DescribeRouteCalculatorResponse.add_member(:calculator_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "CalculatorName"))
536
+ DescribeRouteCalculatorResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
537
+ DescribeRouteCalculatorResponse.add_member(:data_source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataSource"))
538
+ DescribeRouteCalculatorResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
539
+ DescribeRouteCalculatorResponse.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, required: true, location_name: "PricingPlan"))
540
+ DescribeRouteCalculatorResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
541
+ DescribeRouteCalculatorResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
542
+ DescribeRouteCalculatorResponse.struct_class = Types::DescribeRouteCalculatorResponse
543
+
391
544
  DescribeTrackerRequest.add_member(:tracker_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "TrackerName"))
392
545
  DescribeTrackerRequest.struct_class = Types::DescribeTrackerRequest
393
546
 
394
547
  DescribeTrackerResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
395
548
  DescribeTrackerResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
549
+ DescribeTrackerResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
396
550
  DescribeTrackerResponse.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, required: true, location_name: "PricingPlan"))
397
551
  DescribeTrackerResponse.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, location_name: "PricingPlanDataSource"))
552
+ DescribeTrackerResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
398
553
  DescribeTrackerResponse.add_member(:tracker_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "TrackerArn"))
399
554
  DescribeTrackerResponse.add_member(:tracker_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "TrackerName"))
400
555
  DescribeTrackerResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
@@ -499,10 +654,41 @@ module Aws::LocationService
499
654
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
500
655
  InternalServerException.struct_class = Types::InternalServerException
501
656
 
657
+ Leg.add_member(:distance, Shapes::ShapeRef.new(shape: LegDistanceDouble, required: true, location_name: "Distance"))
658
+ Leg.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: LegDurationSecondsDouble, required: true, location_name: "DurationSeconds"))
659
+ Leg.add_member(:end_position, Shapes::ShapeRef.new(shape: Position, required: true, location_name: "EndPosition"))
660
+ Leg.add_member(:geometry, Shapes::ShapeRef.new(shape: LegGeometry, location_name: "Geometry"))
661
+ Leg.add_member(:start_position, Shapes::ShapeRef.new(shape: Position, required: true, location_name: "StartPosition"))
662
+ Leg.add_member(:steps, Shapes::ShapeRef.new(shape: StepList, required: true, location_name: "Steps"))
663
+ Leg.struct_class = Types::Leg
664
+
665
+ LegGeometry.add_member(:line_string, Shapes::ShapeRef.new(shape: LineString, location_name: "LineString"))
666
+ LegGeometry.struct_class = Types::LegGeometry
667
+
668
+ LegList.member = Shapes::ShapeRef.new(shape: Leg)
669
+
670
+ LineString.member = Shapes::ShapeRef.new(shape: Position)
671
+
502
672
  LinearRing.member = Shapes::ShapeRef.new(shape: Position)
503
673
 
504
674
  LinearRings.member = Shapes::ShapeRef.new(shape: LinearRing)
505
675
 
676
+ ListDevicePositionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListDevicePositionsRequestMaxResultsInteger, location_name: "MaxResults"))
677
+ ListDevicePositionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
678
+ ListDevicePositionsRequest.add_member(:tracker_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "TrackerName"))
679
+ ListDevicePositionsRequest.struct_class = Types::ListDevicePositionsRequest
680
+
681
+ ListDevicePositionsResponse.add_member(:entries, Shapes::ShapeRef.new(shape: ListDevicePositionsResponseEntryList, required: true, location_name: "Entries"))
682
+ ListDevicePositionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
683
+ ListDevicePositionsResponse.struct_class = Types::ListDevicePositionsResponse
684
+
685
+ ListDevicePositionsResponseEntry.add_member(:device_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DeviceId"))
686
+ ListDevicePositionsResponseEntry.add_member(:position, Shapes::ShapeRef.new(shape: Position, required: true, location_name: "Position"))
687
+ ListDevicePositionsResponseEntry.add_member(:sample_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "SampleTime"))
688
+ ListDevicePositionsResponseEntry.struct_class = Types::ListDevicePositionsResponseEntry
689
+
690
+ ListDevicePositionsResponseEntryList.member = Shapes::ShapeRef.new(shape: ListDevicePositionsResponseEntry)
691
+
506
692
  ListGeofenceCollectionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListGeofenceCollectionsRequestMaxResultsInteger, location_name: "MaxResults"))
507
693
  ListGeofenceCollectionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
508
694
  ListGeofenceCollectionsRequest.struct_class = Types::ListGeofenceCollectionsRequest
@@ -574,6 +760,30 @@ module Aws::LocationService
574
760
 
575
761
  ListPlaceIndexesResponseEntryList.member = Shapes::ShapeRef.new(shape: ListPlaceIndexesResponseEntry)
576
762
 
763
+ ListRouteCalculatorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListRouteCalculatorsRequestMaxResultsInteger, location_name: "MaxResults"))
764
+ ListRouteCalculatorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
765
+ ListRouteCalculatorsRequest.struct_class = Types::ListRouteCalculatorsRequest
766
+
767
+ ListRouteCalculatorsResponse.add_member(:entries, Shapes::ShapeRef.new(shape: ListRouteCalculatorsResponseEntryList, required: true, location_name: "Entries"))
768
+ ListRouteCalculatorsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
769
+ ListRouteCalculatorsResponse.struct_class = Types::ListRouteCalculatorsResponse
770
+
771
+ ListRouteCalculatorsResponseEntry.add_member(:calculator_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "CalculatorName"))
772
+ ListRouteCalculatorsResponseEntry.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
773
+ ListRouteCalculatorsResponseEntry.add_member(:data_source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataSource"))
774
+ ListRouteCalculatorsResponseEntry.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
775
+ ListRouteCalculatorsResponseEntry.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, required: true, location_name: "PricingPlan"))
776
+ ListRouteCalculatorsResponseEntry.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
777
+ ListRouteCalculatorsResponseEntry.struct_class = Types::ListRouteCalculatorsResponseEntry
778
+
779
+ ListRouteCalculatorsResponseEntryList.member = Shapes::ShapeRef.new(shape: ListRouteCalculatorsResponseEntry)
780
+
781
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
782
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
783
+
784
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
785
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
786
+
577
787
  ListTrackerConsumersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListTrackerConsumersRequestMaxResultsInteger, location_name: "MaxResults"))
578
788
  ListTrackerConsumersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
579
789
  ListTrackerConsumersRequest.add_member(:tracker_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "TrackerName"))
@@ -679,9 +889,45 @@ module Aws::LocationService
679
889
  SearchPlaceIndexForTextSummary.add_member(:text, Shapes::ShapeRef.new(shape: SyntheticSearchPlaceIndexForTextSummaryString, required: true, location_name: "Text"))
680
890
  SearchPlaceIndexForTextSummary.struct_class = Types::SearchPlaceIndexForTextSummary
681
891
 
892
+ Step.add_member(:distance, Shapes::ShapeRef.new(shape: StepDistanceDouble, required: true, location_name: "Distance"))
893
+ Step.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: StepDurationSecondsDouble, required: true, location_name: "DurationSeconds"))
894
+ Step.add_member(:end_position, Shapes::ShapeRef.new(shape: Position, required: true, location_name: "EndPosition"))
895
+ Step.add_member(:geometry_offset, Shapes::ShapeRef.new(shape: StepGeometryOffsetInteger, location_name: "GeometryOffset"))
896
+ Step.add_member(:start_position, Shapes::ShapeRef.new(shape: Position, required: true, location_name: "StartPosition"))
897
+ Step.struct_class = Types::Step
898
+
899
+ StepList.member = Shapes::ShapeRef.new(shape: Step)
900
+
901
+ TagKeys.member = Shapes::ShapeRef.new(shape: String)
902
+
903
+ TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
904
+ TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
905
+
906
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
907
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
908
+ TagResourceRequest.struct_class = Types::TagResourceRequest
909
+
910
+ TagResourceResponse.struct_class = Types::TagResourceResponse
911
+
682
912
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
683
913
  ThrottlingException.struct_class = Types::ThrottlingException
684
914
 
915
+ TruckDimensions.add_member(:height, Shapes::ShapeRef.new(shape: TruckDimensionsHeightDouble, location_name: "Height"))
916
+ TruckDimensions.add_member(:length, Shapes::ShapeRef.new(shape: TruckDimensionsLengthDouble, location_name: "Length"))
917
+ TruckDimensions.add_member(:unit, Shapes::ShapeRef.new(shape: DimensionUnit, location_name: "Unit"))
918
+ TruckDimensions.add_member(:width, Shapes::ShapeRef.new(shape: TruckDimensionsWidthDouble, location_name: "Width"))
919
+ TruckDimensions.struct_class = Types::TruckDimensions
920
+
921
+ TruckWeight.add_member(:total, Shapes::ShapeRef.new(shape: TruckWeightTotalDouble, location_name: "Total"))
922
+ TruckWeight.add_member(:unit, Shapes::ShapeRef.new(shape: VehicleWeightUnit, location_name: "Unit"))
923
+ TruckWeight.struct_class = Types::TruckWeight
924
+
925
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
926
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location: "querystring", location_name: "tagKeys"))
927
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
928
+
929
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
930
+
685
931
  ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, required: true, location_name: "fieldList"))
686
932
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
687
933
  ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, required: true, location_name: "reason"))
@@ -728,6 +974,22 @@ module Aws::LocationService
728
974
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
729
975
  end)
730
976
 
977
+ api.add_operation(:batch_delete_device_position_history, Seahorse::Model::Operation.new.tap do |o|
978
+ o.name = "BatchDeleteDevicePositionHistory"
979
+ o.http_method = "POST"
980
+ o.http_request_uri = "/tracking/v0/trackers/{TrackerName}/delete-positions"
981
+ o.endpoint_pattern = {
982
+ "hostPrefix" => "tracking.",
983
+ }
984
+ o.input = Shapes::ShapeRef.new(shape: BatchDeleteDevicePositionHistoryRequest)
985
+ o.output = Shapes::ShapeRef.new(shape: BatchDeleteDevicePositionHistoryResponse)
986
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
987
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
988
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
989
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
990
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
991
+ end)
992
+
731
993
  api.add_operation(:batch_delete_geofence, Seahorse::Model::Operation.new.tap do |o|
732
994
  o.name = "BatchDeleteGeofence"
733
995
  o.http_method = "POST"
@@ -808,6 +1070,22 @@ module Aws::LocationService
808
1070
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
809
1071
  end)
810
1072
 
1073
+ api.add_operation(:calculate_route, Seahorse::Model::Operation.new.tap do |o|
1074
+ o.name = "CalculateRoute"
1075
+ o.http_method = "POST"
1076
+ o.http_request_uri = "/routes/v0/calculators/{CalculatorName}/calculate/route"
1077
+ o.endpoint_pattern = {
1078
+ "hostPrefix" => "routes.",
1079
+ }
1080
+ o.input = Shapes::ShapeRef.new(shape: CalculateRouteRequest)
1081
+ o.output = Shapes::ShapeRef.new(shape: CalculateRouteResponse)
1082
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1083
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1084
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1085
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1086
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1087
+ end)
1088
+
811
1089
  api.add_operation(:create_geofence_collection, Seahorse::Model::Operation.new.tap do |o|
812
1090
  o.name = "CreateGeofenceCollection"
813
1091
  o.http_method = "POST"
@@ -856,6 +1134,22 @@ module Aws::LocationService
856
1134
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
857
1135
  end)
858
1136
 
1137
+ api.add_operation(:create_route_calculator, Seahorse::Model::Operation.new.tap do |o|
1138
+ o.name = "CreateRouteCalculator"
1139
+ o.http_method = "POST"
1140
+ o.http_request_uri = "/routes/v0/calculators"
1141
+ o.endpoint_pattern = {
1142
+ "hostPrefix" => "routes.",
1143
+ }
1144
+ o.input = Shapes::ShapeRef.new(shape: CreateRouteCalculatorRequest)
1145
+ o.output = Shapes::ShapeRef.new(shape: CreateRouteCalculatorResponse)
1146
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1147
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1148
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1149
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1150
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1151
+ end)
1152
+
859
1153
  api.add_operation(:create_tracker, Seahorse::Model::Operation.new.tap do |o|
860
1154
  o.name = "CreateTracker"
861
1155
  o.http_method = "POST"
@@ -920,6 +1214,22 @@ module Aws::LocationService
920
1214
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
921
1215
  end)
922
1216
 
1217
+ api.add_operation(:delete_route_calculator, Seahorse::Model::Operation.new.tap do |o|
1218
+ o.name = "DeleteRouteCalculator"
1219
+ o.http_method = "DELETE"
1220
+ o.http_request_uri = "/routes/v0/calculators/{CalculatorName}"
1221
+ o.endpoint_pattern = {
1222
+ "hostPrefix" => "routes.",
1223
+ }
1224
+ o.input = Shapes::ShapeRef.new(shape: DeleteRouteCalculatorRequest)
1225
+ o.output = Shapes::ShapeRef.new(shape: DeleteRouteCalculatorResponse)
1226
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1227
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1228
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1229
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1230
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1231
+ end)
1232
+
923
1233
  api.add_operation(:delete_tracker, Seahorse::Model::Operation.new.tap do |o|
924
1234
  o.name = "DeleteTracker"
925
1235
  o.http_method = "DELETE"
@@ -984,6 +1294,22 @@ module Aws::LocationService
984
1294
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
985
1295
  end)
986
1296
 
1297
+ api.add_operation(:describe_route_calculator, Seahorse::Model::Operation.new.tap do |o|
1298
+ o.name = "DescribeRouteCalculator"
1299
+ o.http_method = "GET"
1300
+ o.http_request_uri = "/routes/v0/calculators/{CalculatorName}"
1301
+ o.endpoint_pattern = {
1302
+ "hostPrefix" => "routes.",
1303
+ }
1304
+ o.input = Shapes::ShapeRef.new(shape: DescribeRouteCalculatorRequest)
1305
+ o.output = Shapes::ShapeRef.new(shape: DescribeRouteCalculatorResponse)
1306
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1307
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1308
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1309
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1310
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1311
+ end)
1312
+
987
1313
  api.add_operation(:describe_tracker, Seahorse::Model::Operation.new.tap do |o|
988
1314
  o.name = "DescribeTracker"
989
1315
  o.http_method = "GET"
@@ -1133,6 +1459,27 @@ module Aws::LocationService
1133
1459
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1134
1460
  end)
1135
1461
 
1462
+ api.add_operation(:list_device_positions, Seahorse::Model::Operation.new.tap do |o|
1463
+ o.name = "ListDevicePositions"
1464
+ o.http_method = "POST"
1465
+ o.http_request_uri = "/tracking/v0/trackers/{TrackerName}/list-positions"
1466
+ o.endpoint_pattern = {
1467
+ "hostPrefix" => "tracking.",
1468
+ }
1469
+ o.input = Shapes::ShapeRef.new(shape: ListDevicePositionsRequest)
1470
+ o.output = Shapes::ShapeRef.new(shape: ListDevicePositionsResponse)
1471
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1472
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1473
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1474
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1475
+ o[:pager] = Aws::Pager.new(
1476
+ limit_key: "max_results",
1477
+ tokens: {
1478
+ "next_token" => "next_token"
1479
+ }
1480
+ )
1481
+ end)
1482
+
1136
1483
  api.add_operation(:list_geofence_collections, Seahorse::Model::Operation.new.tap do |o|
1137
1484
  o.name = "ListGeofenceCollections"
1138
1485
  o.http_method = "POST"
@@ -1217,6 +1564,43 @@ module Aws::LocationService
1217
1564
  )
1218
1565
  end)
1219
1566
 
1567
+ api.add_operation(:list_route_calculators, Seahorse::Model::Operation.new.tap do |o|
1568
+ o.name = "ListRouteCalculators"
1569
+ o.http_method = "POST"
1570
+ o.http_request_uri = "/routes/v0/list-calculators"
1571
+ o.endpoint_pattern = {
1572
+ "hostPrefix" => "routes.",
1573
+ }
1574
+ o.input = Shapes::ShapeRef.new(shape: ListRouteCalculatorsRequest)
1575
+ o.output = Shapes::ShapeRef.new(shape: ListRouteCalculatorsResponse)
1576
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1577
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1578
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1579
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1580
+ o[:pager] = Aws::Pager.new(
1581
+ limit_key: "max_results",
1582
+ tokens: {
1583
+ "next_token" => "next_token"
1584
+ }
1585
+ )
1586
+ end)
1587
+
1588
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1589
+ o.name = "ListTagsForResource"
1590
+ o.http_method = "GET"
1591
+ o.http_request_uri = "/tags/{ResourceArn}"
1592
+ o.endpoint_pattern = {
1593
+ "hostPrefix" => "metadata.",
1594
+ }
1595
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
1596
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
1597
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1598
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1599
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1600
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1601
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1602
+ end)
1603
+
1220
1604
  api.add_operation(:list_tracker_consumers, Seahorse::Model::Operation.new.tap do |o|
1221
1605
  o.name = "ListTrackerConsumers"
1222
1606
  o.http_method = "POST"
@@ -1308,6 +1692,38 @@ module Aws::LocationService
1308
1692
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1309
1693
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1310
1694
  end)
1695
+
1696
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1697
+ o.name = "TagResource"
1698
+ o.http_method = "POST"
1699
+ o.http_request_uri = "/tags/{ResourceArn}"
1700
+ o.endpoint_pattern = {
1701
+ "hostPrefix" => "metadata.",
1702
+ }
1703
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1704
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
1705
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1706
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1707
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1708
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1709
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1710
+ end)
1711
+
1712
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1713
+ o.name = "UntagResource"
1714
+ o.http_method = "DELETE"
1715
+ o.http_request_uri = "/tags/{ResourceArn}"
1716
+ o.endpoint_pattern = {
1717
+ "hostPrefix" => "metadata.",
1718
+ }
1719
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1720
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
1721
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1722
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1723
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1724
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1725
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1726
+ end)
1311
1727
  end
1312
1728
 
1313
1729
  end