aws-sdk-locationservice 1.14.0 → 1.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-locationservice/client.rb +323 -197
- data/lib/aws-sdk-locationservice/client_api.rb +104 -28
- data/lib/aws-sdk-locationservice/types.rb +394 -263
- data/lib/aws-sdk-locationservice.rb +1 -1
- metadata +4 -4
@@ -58,6 +58,15 @@ module Aws::LocationService
|
|
58
58
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
59
59
|
BoundingBox = Shapes::ListShape.new(name: 'BoundingBox')
|
60
60
|
CalculateRouteCarModeOptions = Shapes::StructureShape.new(name: 'CalculateRouteCarModeOptions')
|
61
|
+
CalculateRouteMatrixRequest = Shapes::StructureShape.new(name: 'CalculateRouteMatrixRequest')
|
62
|
+
CalculateRouteMatrixRequestDeparturePositionsList = Shapes::ListShape.new(name: 'CalculateRouteMatrixRequestDeparturePositionsList')
|
63
|
+
CalculateRouteMatrixRequestDestinationPositionsList = Shapes::ListShape.new(name: 'CalculateRouteMatrixRequestDestinationPositionsList')
|
64
|
+
CalculateRouteMatrixResponse = Shapes::StructureShape.new(name: 'CalculateRouteMatrixResponse')
|
65
|
+
CalculateRouteMatrixResponseSnappedDeparturePositionsList = Shapes::ListShape.new(name: 'CalculateRouteMatrixResponseSnappedDeparturePositionsList')
|
66
|
+
CalculateRouteMatrixResponseSnappedDestinationPositionsList = Shapes::ListShape.new(name: 'CalculateRouteMatrixResponseSnappedDestinationPositionsList')
|
67
|
+
CalculateRouteMatrixSummary = Shapes::StructureShape.new(name: 'CalculateRouteMatrixSummary')
|
68
|
+
CalculateRouteMatrixSummaryErrorCountInteger = Shapes::IntegerShape.new(name: 'CalculateRouteMatrixSummaryErrorCountInteger')
|
69
|
+
CalculateRouteMatrixSummaryRouteCountInteger = Shapes::IntegerShape.new(name: 'CalculateRouteMatrixSummaryRouteCountInteger')
|
61
70
|
CalculateRouteRequest = Shapes::StructureShape.new(name: 'CalculateRouteRequest')
|
62
71
|
CalculateRouteRequestWaypointPositionsList = Shapes::ListShape.new(name: 'CalculateRouteRequestWaypointPositionsList')
|
63
72
|
CalculateRouteResponse = Shapes::StructureShape.new(name: 'CalculateRouteResponse')
|
@@ -198,6 +207,13 @@ module Aws::LocationService
|
|
198
207
|
ResourceDescription = Shapes::StringShape.new(name: 'ResourceDescription')
|
199
208
|
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
200
209
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
210
|
+
RouteMatrix = Shapes::ListShape.new(name: 'RouteMatrix')
|
211
|
+
RouteMatrixEntry = Shapes::StructureShape.new(name: 'RouteMatrixEntry')
|
212
|
+
RouteMatrixEntryDistanceDouble = Shapes::FloatShape.new(name: 'RouteMatrixEntryDistanceDouble')
|
213
|
+
RouteMatrixEntryDurationSecondsDouble = Shapes::FloatShape.new(name: 'RouteMatrixEntryDurationSecondsDouble')
|
214
|
+
RouteMatrixEntryError = Shapes::StructureShape.new(name: 'RouteMatrixEntryError')
|
215
|
+
RouteMatrixErrorCode = Shapes::StringShape.new(name: 'RouteMatrixErrorCode')
|
216
|
+
RouteMatrixRow = Shapes::ListShape.new(name: 'RouteMatrixRow')
|
201
217
|
SearchForPositionResult = Shapes::StructureShape.new(name: 'SearchForPositionResult')
|
202
218
|
SearchForPositionResultDistanceDouble = Shapes::FloatShape.new(name: 'SearchForPositionResultDistanceDouble')
|
203
219
|
SearchForPositionResultList = Shapes::ListShape.new(name: 'SearchForPositionResultList')
|
@@ -389,6 +405,37 @@ module Aws::LocationService
|
|
389
405
|
CalculateRouteCarModeOptions.add_member(:avoid_tolls, Shapes::ShapeRef.new(shape: Boolean, location_name: "AvoidTolls"))
|
390
406
|
CalculateRouteCarModeOptions.struct_class = Types::CalculateRouteCarModeOptions
|
391
407
|
|
408
|
+
CalculateRouteMatrixRequest.add_member(:calculator_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "CalculatorName"))
|
409
|
+
CalculateRouteMatrixRequest.add_member(:car_mode_options, Shapes::ShapeRef.new(shape: CalculateRouteCarModeOptions, location_name: "CarModeOptions"))
|
410
|
+
CalculateRouteMatrixRequest.add_member(:depart_now, Shapes::ShapeRef.new(shape: Boolean, location_name: "DepartNow"))
|
411
|
+
CalculateRouteMatrixRequest.add_member(:departure_positions, Shapes::ShapeRef.new(shape: CalculateRouteMatrixRequestDeparturePositionsList, required: true, location_name: "DeparturePositions"))
|
412
|
+
CalculateRouteMatrixRequest.add_member(:departure_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DepartureTime"))
|
413
|
+
CalculateRouteMatrixRequest.add_member(:destination_positions, Shapes::ShapeRef.new(shape: CalculateRouteMatrixRequestDestinationPositionsList, required: true, location_name: "DestinationPositions"))
|
414
|
+
CalculateRouteMatrixRequest.add_member(:distance_unit, Shapes::ShapeRef.new(shape: DistanceUnit, location_name: "DistanceUnit"))
|
415
|
+
CalculateRouteMatrixRequest.add_member(:travel_mode, Shapes::ShapeRef.new(shape: TravelMode, location_name: "TravelMode"))
|
416
|
+
CalculateRouteMatrixRequest.add_member(:truck_mode_options, Shapes::ShapeRef.new(shape: CalculateRouteTruckModeOptions, location_name: "TruckModeOptions"))
|
417
|
+
CalculateRouteMatrixRequest.struct_class = Types::CalculateRouteMatrixRequest
|
418
|
+
|
419
|
+
CalculateRouteMatrixRequestDeparturePositionsList.member = Shapes::ShapeRef.new(shape: Position)
|
420
|
+
|
421
|
+
CalculateRouteMatrixRequestDestinationPositionsList.member = Shapes::ShapeRef.new(shape: Position)
|
422
|
+
|
423
|
+
CalculateRouteMatrixResponse.add_member(:route_matrix, Shapes::ShapeRef.new(shape: RouteMatrix, required: true, location_name: "RouteMatrix"))
|
424
|
+
CalculateRouteMatrixResponse.add_member(:snapped_departure_positions, Shapes::ShapeRef.new(shape: CalculateRouteMatrixResponseSnappedDeparturePositionsList, location_name: "SnappedDeparturePositions"))
|
425
|
+
CalculateRouteMatrixResponse.add_member(:snapped_destination_positions, Shapes::ShapeRef.new(shape: CalculateRouteMatrixResponseSnappedDestinationPositionsList, location_name: "SnappedDestinationPositions"))
|
426
|
+
CalculateRouteMatrixResponse.add_member(:summary, Shapes::ShapeRef.new(shape: CalculateRouteMatrixSummary, required: true, location_name: "Summary"))
|
427
|
+
CalculateRouteMatrixResponse.struct_class = Types::CalculateRouteMatrixResponse
|
428
|
+
|
429
|
+
CalculateRouteMatrixResponseSnappedDeparturePositionsList.member = Shapes::ShapeRef.new(shape: Position)
|
430
|
+
|
431
|
+
CalculateRouteMatrixResponseSnappedDestinationPositionsList.member = Shapes::ShapeRef.new(shape: Position)
|
432
|
+
|
433
|
+
CalculateRouteMatrixSummary.add_member(:data_source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataSource"))
|
434
|
+
CalculateRouteMatrixSummary.add_member(:distance_unit, Shapes::ShapeRef.new(shape: DistanceUnit, required: true, location_name: "DistanceUnit"))
|
435
|
+
CalculateRouteMatrixSummary.add_member(:error_count, Shapes::ShapeRef.new(shape: CalculateRouteMatrixSummaryErrorCountInteger, required: true, location_name: "ErrorCount"))
|
436
|
+
CalculateRouteMatrixSummary.add_member(:route_count, Shapes::ShapeRef.new(shape: CalculateRouteMatrixSummaryRouteCountInteger, required: true, location_name: "RouteCount"))
|
437
|
+
CalculateRouteMatrixSummary.struct_class = Types::CalculateRouteMatrixSummary
|
438
|
+
|
392
439
|
CalculateRouteRequest.add_member(:calculator_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "CalculatorName"))
|
393
440
|
CalculateRouteRequest.add_member(:car_mode_options, Shapes::ShapeRef.new(shape: CalculateRouteCarModeOptions, location_name: "CarModeOptions"))
|
394
441
|
CalculateRouteRequest.add_member(:depart_now, Shapes::ShapeRef.new(shape: Boolean, location_name: "DepartNow"))
|
@@ -429,8 +476,8 @@ module Aws::LocationService
|
|
429
476
|
CreateGeofenceCollectionRequest.add_member(:collection_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "CollectionName"))
|
430
477
|
CreateGeofenceCollectionRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
431
478
|
CreateGeofenceCollectionRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
|
432
|
-
CreateGeofenceCollectionRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan,
|
433
|
-
CreateGeofenceCollectionRequest.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, location_name: "PricingPlanDataSource"))
|
479
|
+
CreateGeofenceCollectionRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. If included, the only allowed value is RequestBasedUsage."}))
|
480
|
+
CreateGeofenceCollectionRequest.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, deprecated: true, location_name: "PricingPlanDataSource", metadata: {"deprecatedMessage"=>"Deprecated. No longer allowed."}))
|
434
481
|
CreateGeofenceCollectionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
435
482
|
CreateGeofenceCollectionRequest.struct_class = Types::CreateGeofenceCollectionRequest
|
436
483
|
|
@@ -442,7 +489,7 @@ module Aws::LocationService
|
|
442
489
|
CreateMapRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: MapConfiguration, required: true, location_name: "Configuration"))
|
443
490
|
CreateMapRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
444
491
|
CreateMapRequest.add_member(:map_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "MapName"))
|
445
|
-
CreateMapRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan,
|
492
|
+
CreateMapRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. If included, the only allowed value is RequestBasedUsage."}))
|
446
493
|
CreateMapRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
447
494
|
CreateMapRequest.struct_class = Types::CreateMapRequest
|
448
495
|
|
@@ -455,7 +502,7 @@ module Aws::LocationService
|
|
455
502
|
CreatePlaceIndexRequest.add_member(:data_source_configuration, Shapes::ShapeRef.new(shape: DataSourceConfiguration, location_name: "DataSourceConfiguration"))
|
456
503
|
CreatePlaceIndexRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
457
504
|
CreatePlaceIndexRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "IndexName"))
|
458
|
-
CreatePlaceIndexRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan,
|
505
|
+
CreatePlaceIndexRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. If included, the only allowed value is RequestBasedUsage."}))
|
459
506
|
CreatePlaceIndexRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
460
507
|
CreatePlaceIndexRequest.struct_class = Types::CreatePlaceIndexRequest
|
461
508
|
|
@@ -467,7 +514,7 @@ module Aws::LocationService
|
|
467
514
|
CreateRouteCalculatorRequest.add_member(:calculator_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "CalculatorName"))
|
468
515
|
CreateRouteCalculatorRequest.add_member(:data_source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataSource"))
|
469
516
|
CreateRouteCalculatorRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
470
|
-
CreateRouteCalculatorRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan,
|
517
|
+
CreateRouteCalculatorRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. If included, the only allowed value is RequestBasedUsage."}))
|
471
518
|
CreateRouteCalculatorRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
472
519
|
CreateRouteCalculatorRequest.struct_class = Types::CreateRouteCalculatorRequest
|
473
520
|
|
@@ -479,8 +526,8 @@ module Aws::LocationService
|
|
479
526
|
CreateTrackerRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
480
527
|
CreateTrackerRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
|
481
528
|
CreateTrackerRequest.add_member(:position_filtering, Shapes::ShapeRef.new(shape: PositionFiltering, location_name: "PositionFiltering"))
|
482
|
-
CreateTrackerRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan,
|
483
|
-
CreateTrackerRequest.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, location_name: "PricingPlanDataSource"))
|
529
|
+
CreateTrackerRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. If included, the only allowed value is RequestBasedUsage."}))
|
530
|
+
CreateTrackerRequest.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, deprecated: true, location_name: "PricingPlanDataSource", metadata: {"deprecatedMessage"=>"Deprecated. No longer allowed."}))
|
484
531
|
CreateTrackerRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
485
532
|
CreateTrackerRequest.add_member(:tracker_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "TrackerName"))
|
486
533
|
CreateTrackerRequest.struct_class = Types::CreateTrackerRequest
|
@@ -526,8 +573,8 @@ module Aws::LocationService
|
|
526
573
|
DescribeGeofenceCollectionResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
|
527
574
|
DescribeGeofenceCollectionResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
|
528
575
|
DescribeGeofenceCollectionResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
|
529
|
-
DescribeGeofenceCollectionResponse.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan,
|
530
|
-
DescribeGeofenceCollectionResponse.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, location_name: "PricingPlanDataSource"))
|
576
|
+
DescribeGeofenceCollectionResponse.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. Always returns RequestBasedUsage."}))
|
577
|
+
DescribeGeofenceCollectionResponse.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, deprecated: true, location_name: "PricingPlanDataSource", metadata: {"deprecatedMessage"=>"Deprecated. Unused."}))
|
531
578
|
DescribeGeofenceCollectionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
532
579
|
DescribeGeofenceCollectionResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
|
533
580
|
DescribeGeofenceCollectionResponse.struct_class = Types::DescribeGeofenceCollectionResponse
|
@@ -541,7 +588,7 @@ module Aws::LocationService
|
|
541
588
|
DescribeMapResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
|
542
589
|
DescribeMapResponse.add_member(:map_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "MapArn"))
|
543
590
|
DescribeMapResponse.add_member(:map_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "MapName"))
|
544
|
-
DescribeMapResponse.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan,
|
591
|
+
DescribeMapResponse.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. Always returns RequestBasedUsage."}))
|
545
592
|
DescribeMapResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
546
593
|
DescribeMapResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
|
547
594
|
DescribeMapResponse.struct_class = Types::DescribeMapResponse
|
@@ -555,7 +602,7 @@ module Aws::LocationService
|
|
555
602
|
DescribePlaceIndexResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
|
556
603
|
DescribePlaceIndexResponse.add_member(:index_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "IndexArn"))
|
557
604
|
DescribePlaceIndexResponse.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "IndexName"))
|
558
|
-
DescribePlaceIndexResponse.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan,
|
605
|
+
DescribePlaceIndexResponse.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. Always returns RequestBasedUsage."}))
|
559
606
|
DescribePlaceIndexResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
560
607
|
DescribePlaceIndexResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
|
561
608
|
DescribePlaceIndexResponse.struct_class = Types::DescribePlaceIndexResponse
|
@@ -568,7 +615,7 @@ module Aws::LocationService
|
|
568
615
|
DescribeRouteCalculatorResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
|
569
616
|
DescribeRouteCalculatorResponse.add_member(:data_source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataSource"))
|
570
617
|
DescribeRouteCalculatorResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
|
571
|
-
DescribeRouteCalculatorResponse.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan,
|
618
|
+
DescribeRouteCalculatorResponse.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. Always returns RequestBasedUsage."}))
|
572
619
|
DescribeRouteCalculatorResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
573
620
|
DescribeRouteCalculatorResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
|
574
621
|
DescribeRouteCalculatorResponse.struct_class = Types::DescribeRouteCalculatorResponse
|
@@ -580,8 +627,8 @@ module Aws::LocationService
|
|
580
627
|
DescribeTrackerResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
|
581
628
|
DescribeTrackerResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
|
582
629
|
DescribeTrackerResponse.add_member(:position_filtering, Shapes::ShapeRef.new(shape: PositionFiltering, location_name: "PositionFiltering"))
|
583
|
-
DescribeTrackerResponse.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan,
|
584
|
-
DescribeTrackerResponse.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, location_name: "PricingPlanDataSource"))
|
630
|
+
DescribeTrackerResponse.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. Always returns RequestBasedUsage."}))
|
631
|
+
DescribeTrackerResponse.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, deprecated: true, location_name: "PricingPlanDataSource", metadata: {"deprecatedMessage"=>"Deprecated. Unused."}))
|
585
632
|
DescribeTrackerResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
586
633
|
DescribeTrackerResponse.add_member(:tracker_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "TrackerArn"))
|
587
634
|
DescribeTrackerResponse.add_member(:tracker_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "TrackerName"))
|
@@ -741,8 +788,8 @@ module Aws::LocationService
|
|
741
788
|
ListGeofenceCollectionsResponseEntry.add_member(:collection_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "CollectionName"))
|
742
789
|
ListGeofenceCollectionsResponseEntry.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
|
743
790
|
ListGeofenceCollectionsResponseEntry.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
|
744
|
-
ListGeofenceCollectionsResponseEntry.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan,
|
745
|
-
ListGeofenceCollectionsResponseEntry.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, location_name: "PricingPlanDataSource"))
|
791
|
+
ListGeofenceCollectionsResponseEntry.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. Always returns RequestBasedUsage."}))
|
792
|
+
ListGeofenceCollectionsResponseEntry.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, deprecated: true, location_name: "PricingPlanDataSource", metadata: {"deprecatedMessage"=>"Deprecated. Unused."}))
|
746
793
|
ListGeofenceCollectionsResponseEntry.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
|
747
794
|
ListGeofenceCollectionsResponseEntry.struct_class = Types::ListGeofenceCollectionsResponseEntry
|
748
795
|
|
@@ -777,7 +824,7 @@ module Aws::LocationService
|
|
777
824
|
ListMapsResponseEntry.add_member(:data_source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataSource"))
|
778
825
|
ListMapsResponseEntry.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
|
779
826
|
ListMapsResponseEntry.add_member(:map_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "MapName"))
|
780
|
-
ListMapsResponseEntry.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan,
|
827
|
+
ListMapsResponseEntry.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. Always returns RequestBasedUsage."}))
|
781
828
|
ListMapsResponseEntry.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
|
782
829
|
ListMapsResponseEntry.struct_class = Types::ListMapsResponseEntry
|
783
830
|
|
@@ -795,7 +842,7 @@ module Aws::LocationService
|
|
795
842
|
ListPlaceIndexesResponseEntry.add_member(:data_source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataSource"))
|
796
843
|
ListPlaceIndexesResponseEntry.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
|
797
844
|
ListPlaceIndexesResponseEntry.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "IndexName"))
|
798
|
-
ListPlaceIndexesResponseEntry.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan,
|
845
|
+
ListPlaceIndexesResponseEntry.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. Always returns RequestBasedUsage."}))
|
799
846
|
ListPlaceIndexesResponseEntry.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
|
800
847
|
ListPlaceIndexesResponseEntry.struct_class = Types::ListPlaceIndexesResponseEntry
|
801
848
|
|
@@ -813,7 +860,7 @@ module Aws::LocationService
|
|
813
860
|
ListRouteCalculatorsResponseEntry.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
|
814
861
|
ListRouteCalculatorsResponseEntry.add_member(:data_source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataSource"))
|
815
862
|
ListRouteCalculatorsResponseEntry.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
|
816
|
-
ListRouteCalculatorsResponseEntry.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan,
|
863
|
+
ListRouteCalculatorsResponseEntry.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. Always returns RequestBasedUsage."}))
|
817
864
|
ListRouteCalculatorsResponseEntry.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
|
818
865
|
ListRouteCalculatorsResponseEntry.struct_class = Types::ListRouteCalculatorsResponseEntry
|
819
866
|
|
@@ -844,8 +891,8 @@ module Aws::LocationService
|
|
844
891
|
|
845
892
|
ListTrackersResponseEntry.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
|
846
893
|
ListTrackersResponseEntry.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
|
847
|
-
ListTrackersResponseEntry.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan,
|
848
|
-
ListTrackersResponseEntry.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, location_name: "PricingPlanDataSource"))
|
894
|
+
ListTrackersResponseEntry.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. Always returns RequestBasedUsage."}))
|
895
|
+
ListTrackersResponseEntry.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, deprecated: true, location_name: "PricingPlanDataSource", metadata: {"deprecatedMessage"=>"Deprecated. Unused."}))
|
849
896
|
ListTrackersResponseEntry.add_member(:tracker_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "TrackerName"))
|
850
897
|
ListTrackersResponseEntry.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
|
851
898
|
ListTrackersResponseEntry.struct_class = Types::ListTrackersResponseEntry
|
@@ -893,6 +940,19 @@ module Aws::LocationService
|
|
893
940
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
894
941
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
895
942
|
|
943
|
+
RouteMatrix.member = Shapes::ShapeRef.new(shape: RouteMatrixRow)
|
944
|
+
|
945
|
+
RouteMatrixEntry.add_member(:distance, Shapes::ShapeRef.new(shape: RouteMatrixEntryDistanceDouble, location_name: "Distance"))
|
946
|
+
RouteMatrixEntry.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: RouteMatrixEntryDurationSecondsDouble, location_name: "DurationSeconds"))
|
947
|
+
RouteMatrixEntry.add_member(:error, Shapes::ShapeRef.new(shape: RouteMatrixEntryError, location_name: "Error"))
|
948
|
+
RouteMatrixEntry.struct_class = Types::RouteMatrixEntry
|
949
|
+
|
950
|
+
RouteMatrixEntryError.add_member(:code, Shapes::ShapeRef.new(shape: RouteMatrixErrorCode, required: true, location_name: "Code"))
|
951
|
+
RouteMatrixEntryError.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
952
|
+
RouteMatrixEntryError.struct_class = Types::RouteMatrixEntryError
|
953
|
+
|
954
|
+
RouteMatrixRow.member = Shapes::ShapeRef.new(shape: RouteMatrixEntry)
|
955
|
+
|
896
956
|
SearchForPositionResult.add_member(:distance, Shapes::ShapeRef.new(shape: SearchForPositionResultDistanceDouble, required: true, location_name: "Distance"))
|
897
957
|
SearchForPositionResult.add_member(:place, Shapes::ShapeRef.new(shape: Place, required: true, location_name: "Place"))
|
898
958
|
SearchForPositionResult.struct_class = Types::SearchForPositionResult
|
@@ -1020,8 +1080,8 @@ module Aws::LocationService
|
|
1020
1080
|
|
1021
1081
|
UpdateGeofenceCollectionRequest.add_member(:collection_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "CollectionName"))
|
1022
1082
|
UpdateGeofenceCollectionRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
1023
|
-
UpdateGeofenceCollectionRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, location_name: "PricingPlan"))
|
1024
|
-
UpdateGeofenceCollectionRequest.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, location_name: "PricingPlanDataSource"))
|
1083
|
+
UpdateGeofenceCollectionRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. If included, the only allowed value is RequestBasedUsage."}))
|
1084
|
+
UpdateGeofenceCollectionRequest.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, deprecated: true, location_name: "PricingPlanDataSource", metadata: {"deprecatedMessage"=>"Deprecated. No longer allowed."}))
|
1025
1085
|
UpdateGeofenceCollectionRequest.struct_class = Types::UpdateGeofenceCollectionRequest
|
1026
1086
|
|
1027
1087
|
UpdateGeofenceCollectionResponse.add_member(:collection_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CollectionArn"))
|
@@ -1031,7 +1091,7 @@ module Aws::LocationService
|
|
1031
1091
|
|
1032
1092
|
UpdateMapRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
1033
1093
|
UpdateMapRequest.add_member(:map_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "MapName"))
|
1034
|
-
UpdateMapRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, location_name: "PricingPlan"))
|
1094
|
+
UpdateMapRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. If included, the only allowed value is RequestBasedUsage."}))
|
1035
1095
|
UpdateMapRequest.struct_class = Types::UpdateMapRequest
|
1036
1096
|
|
1037
1097
|
UpdateMapResponse.add_member(:map_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "MapArn"))
|
@@ -1042,7 +1102,7 @@ module Aws::LocationService
|
|
1042
1102
|
UpdatePlaceIndexRequest.add_member(:data_source_configuration, Shapes::ShapeRef.new(shape: DataSourceConfiguration, location_name: "DataSourceConfiguration"))
|
1043
1103
|
UpdatePlaceIndexRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
1044
1104
|
UpdatePlaceIndexRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "IndexName"))
|
1045
|
-
UpdatePlaceIndexRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, location_name: "PricingPlan"))
|
1105
|
+
UpdatePlaceIndexRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. If included, the only allowed value is RequestBasedUsage."}))
|
1046
1106
|
UpdatePlaceIndexRequest.struct_class = Types::UpdatePlaceIndexRequest
|
1047
1107
|
|
1048
1108
|
UpdatePlaceIndexResponse.add_member(:index_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "IndexArn"))
|
@@ -1052,7 +1112,7 @@ module Aws::LocationService
|
|
1052
1112
|
|
1053
1113
|
UpdateRouteCalculatorRequest.add_member(:calculator_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "CalculatorName"))
|
1054
1114
|
UpdateRouteCalculatorRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
1055
|
-
UpdateRouteCalculatorRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, location_name: "PricingPlan"))
|
1115
|
+
UpdateRouteCalculatorRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. If included, the only allowed value is RequestBasedUsage."}))
|
1056
1116
|
UpdateRouteCalculatorRequest.struct_class = Types::UpdateRouteCalculatorRequest
|
1057
1117
|
|
1058
1118
|
UpdateRouteCalculatorResponse.add_member(:calculator_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CalculatorArn"))
|
@@ -1062,8 +1122,8 @@ module Aws::LocationService
|
|
1062
1122
|
|
1063
1123
|
UpdateTrackerRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
1064
1124
|
UpdateTrackerRequest.add_member(:position_filtering, Shapes::ShapeRef.new(shape: PositionFiltering, location_name: "PositionFiltering"))
|
1065
|
-
UpdateTrackerRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, location_name: "PricingPlan"))
|
1066
|
-
UpdateTrackerRequest.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, location_name: "PricingPlanDataSource"))
|
1125
|
+
UpdateTrackerRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. If included, the only allowed value is RequestBasedUsage."}))
|
1126
|
+
UpdateTrackerRequest.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, deprecated: true, location_name: "PricingPlanDataSource", metadata: {"deprecatedMessage"=>"Deprecated. No longer allowed."}))
|
1067
1127
|
UpdateTrackerRequest.add_member(:tracker_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "TrackerName"))
|
1068
1128
|
UpdateTrackerRequest.struct_class = Types::UpdateTrackerRequest
|
1069
1129
|
|
@@ -1231,6 +1291,22 @@ module Aws::LocationService
|
|
1231
1291
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1232
1292
|
end)
|
1233
1293
|
|
1294
|
+
api.add_operation(:calculate_route_matrix, Seahorse::Model::Operation.new.tap do |o|
|
1295
|
+
o.name = "CalculateRouteMatrix"
|
1296
|
+
o.http_method = "POST"
|
1297
|
+
o.http_request_uri = "/routes/v0/calculators/{CalculatorName}/calculate/route-matrix"
|
1298
|
+
o.endpoint_pattern = {
|
1299
|
+
"hostPrefix" => "routes.",
|
1300
|
+
}
|
1301
|
+
o.input = Shapes::ShapeRef.new(shape: CalculateRouteMatrixRequest)
|
1302
|
+
o.output = Shapes::ShapeRef.new(shape: CalculateRouteMatrixResponse)
|
1303
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1304
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1305
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1306
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1307
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1308
|
+
end)
|
1309
|
+
|
1234
1310
|
api.add_operation(:create_geofence_collection, Seahorse::Model::Operation.new.tap do |o|
|
1235
1311
|
o.name = "CreateGeofenceCollection"
|
1236
1312
|
o.http_method = "POST"
|