aws-sdk-georoutes 1.2.0 → 1.3.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-georoutes/client.rb +64 -23
- data/lib/aws-sdk-georoutes/client_api.rb +13 -0
- data/lib/aws-sdk-georoutes/types.rb +177 -45
- data/lib/aws-sdk-georoutes.rb +1 -1
- data/sig/client.rbs +6 -0
- data/sig/types.rbs +15 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd68388c160e1e3b10e816aa4aefef4b56bd7dc818646056497fca4767f09e61
|
4
|
+
data.tar.gz: 1d848a33ac7f4a392321bcdaea32107c5111af2f68d438b7777fedaecf3225ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a605aa509d071c03b7c9e06ad8a2186a9987b1d31de6b006dc83ad395a0a0c69a3a4d5c21473dc5946b82880c7fb9cacedc40ecd3234637cc3a8887e74292dd1
|
7
|
+
data.tar.gz: cd1d6c1ed7633c15764ff90c40a4bd67695e6a204a12122e6f54bdb458ed0ba4323671b63ede1662f580cd17f055192f6148361e379399430c43af090c42a96f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.3.0 (2025-01-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - The OptimizeWaypoints API now supports 50 waypoints per request (20 with constraints like AccessHours or AppointmentTime). It adds waypoint clustering via Clustering and ClusteringIndex for better optimization. Also, total distance validation is removed for greater flexibility.
|
8
|
+
|
4
9
|
1.2.0 (2025-01-15)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.3.0
|
@@ -474,7 +474,7 @@ module Aws::GeoRoutes
|
|
474
474
|
# reached in a given threshold of time, distance.
|
475
475
|
#
|
476
476
|
# @option params [Types::IsolineAllowOptions] :allow
|
477
|
-
# Features that are allowed while calculating
|
477
|
+
# Features that are allowed while calculating an isoline.
|
478
478
|
#
|
479
479
|
# @option params [String] :arrival_time
|
480
480
|
# Time of arrival at the destination.
|
@@ -521,7 +521,7 @@ module Aws::GeoRoutes
|
|
521
521
|
# Default Value:`FlexiblePolyline`
|
522
522
|
#
|
523
523
|
# @option params [Types::IsolineGranularityOptions] :isoline_granularity
|
524
|
-
# Defines the granularity of the returned Isoline
|
524
|
+
# Defines the granularity of the returned Isoline.
|
525
525
|
#
|
526
526
|
# @option params [String] :key
|
527
527
|
# Optional: The API key to be used for authorization. Either an API key
|
@@ -552,6 +552,15 @@ module Aws::GeoRoutes
|
|
552
552
|
# Threshold to be used for the isoline calculation. Up to 3 thresholds
|
553
553
|
# per provided type can be requested.
|
554
554
|
#
|
555
|
+
# You incur a calculation charge for each threshold. Using a large
|
556
|
+
# amount of thresholds in a request can lead you to incur unexpected
|
557
|
+
# charges. See [ Amazon Location's pricing page][1] for more
|
558
|
+
# information.
|
559
|
+
#
|
560
|
+
#
|
561
|
+
#
|
562
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/routes-pricing.html`
|
563
|
+
#
|
555
564
|
# @option params [Types::IsolineTrafficOptions] :traffic
|
556
565
|
# Traffic related options.
|
557
566
|
#
|
@@ -786,13 +795,13 @@ module Aws::GeoRoutes
|
|
786
795
|
req.send_request(options)
|
787
796
|
end
|
788
797
|
|
789
|
-
#
|
790
|
-
#
|
791
|
-
#
|
792
|
-
#
|
798
|
+
# Use `CalculateRouteMatrix` to compute results for all pairs of Origins
|
799
|
+
# to Destinations. Each row corresponds to one entry in Origins. Each
|
800
|
+
# entry in the row corresponds to the route from that entry in Origins
|
801
|
+
# to an entry in Destinations positions.
|
793
802
|
#
|
794
803
|
# @option params [Types::RouteMatrixAllowOptions] :allow
|
795
|
-
# Features that are allowed while calculating
|
804
|
+
# Features that are allowed while calculating a route.
|
796
805
|
#
|
797
806
|
# @option params [Types::RouteMatrixAvoidanceOptions] :avoid
|
798
807
|
# Features that are avoided while calculating a route. Avoidance is on a
|
@@ -817,6 +826,17 @@ module Aws::GeoRoutes
|
|
817
826
|
# @option params [required, Array<Types::RouteMatrixDestination>] :destinations
|
818
827
|
# List of destinations for the route.
|
819
828
|
#
|
829
|
+
# <note markdown="1"> Route calculations are billed for each origin and destination pair. If
|
830
|
+
# you use a large matrix of origins and destinations, your costs will
|
831
|
+
# increase accordingly. See [ Amazon Location's pricing page][1] for
|
832
|
+
# more information.
|
833
|
+
#
|
834
|
+
# </note>
|
835
|
+
#
|
836
|
+
#
|
837
|
+
#
|
838
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/routes-pricing.html`
|
839
|
+
#
|
820
840
|
# @option params [Types::RouteMatrixExclusionOptions] :exclude
|
821
841
|
# Features to be strictly excluded while calculating the route.
|
822
842
|
#
|
@@ -832,6 +852,17 @@ module Aws::GeoRoutes
|
|
832
852
|
# @option params [required, Array<Types::RouteMatrixOrigin>] :origins
|
833
853
|
# The position in longitude and latitude for the origin.
|
834
854
|
#
|
855
|
+
# <note markdown="1"> Route calculations are billed for each origin and destination pair.
|
856
|
+
# Using a large amount of Origins in a request can lead you to incur
|
857
|
+
# unexpected charges. See [ Amazon Location's pricing page][1] for more
|
858
|
+
# information.
|
859
|
+
#
|
860
|
+
# </note>
|
861
|
+
#
|
862
|
+
#
|
863
|
+
#
|
864
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/routes-pricing.html`
|
865
|
+
#
|
835
866
|
# @option params [required, Types::RouteMatrixBoundary] :routing_boundary
|
836
867
|
# Boundary within which the matrix is to be calculated. All data,
|
837
868
|
# origins and destinations outside the boundary are considered invalid.
|
@@ -1043,11 +1074,11 @@ module Aws::GeoRoutes
|
|
1043
1074
|
req.send_request(options)
|
1044
1075
|
end
|
1045
1076
|
|
1046
|
-
#
|
1047
|
-
# and `Destination`.
|
1077
|
+
# `CalculateRoutes` computes routes given the following required
|
1078
|
+
# parameters: `Origin` and `Destination`.
|
1048
1079
|
#
|
1049
1080
|
# @option params [Types::RouteAllowOptions] :allow
|
1050
|
-
# Features that are allowed while calculating
|
1081
|
+
# Features that are allowed while calculating a route.
|
1051
1082
|
#
|
1052
1083
|
# @option params [String] :arrival_time
|
1053
1084
|
# Time of arrival at the destination.
|
@@ -1191,7 +1222,7 @@ module Aws::GeoRoutes
|
|
1191
1222
|
# Type of step returned by the response. Default provides basic steps
|
1192
1223
|
# intended for web based applications. TurnByTurn provides detailed
|
1193
1224
|
# instructions with more granularity intended for a turn based
|
1194
|
-
#
|
1225
|
+
# navigation system.
|
1195
1226
|
#
|
1196
1227
|
# @option params [Array<Types::RouteWaypoint>] :waypoints
|
1197
1228
|
# List of waypoints between the Origin and Destination.
|
@@ -1449,7 +1480,7 @@ module Aws::GeoRoutes
|
|
1449
1480
|
# resp.routes[0].legs[0].ferry_leg_details.departure.place.waypoint_index #=> Integer
|
1450
1481
|
# resp.routes[0].legs[0].ferry_leg_details.departure.time #=> String
|
1451
1482
|
# resp.routes[0].legs[0].ferry_leg_details.notices #=> Array
|
1452
|
-
# resp.routes[0].legs[0].ferry_leg_details.notices[0].code #=> String, one of "AccuratePolylineUnavailable", "NoSchedule", "Other", "ViolatedAvoidFerry", "ViolatedAvoidRailFerry"
|
1483
|
+
# resp.routes[0].legs[0].ferry_leg_details.notices[0].code #=> String, one of "AccuratePolylineUnavailable", "NoSchedule", "Other", "ViolatedAvoidFerry", "ViolatedAvoidRailFerry", "SeasonalClosure"
|
1453
1484
|
# resp.routes[0].legs[0].ferry_leg_details.notices[0].impact #=> String, one of "High", "Low"
|
1454
1485
|
# resp.routes[0].legs[0].ferry_leg_details.pass_through_waypoints #=> Array
|
1455
1486
|
# resp.routes[0].legs[0].ferry_leg_details.pass_through_waypoints[0].geometry_offset #=> Integer
|
@@ -1608,7 +1639,7 @@ module Aws::GeoRoutes
|
|
1608
1639
|
# resp.routes[0].legs[0].pedestrian_leg_details.travel_steps[0].turn_step_details.turn_angle #=> Float
|
1609
1640
|
# resp.routes[0].legs[0].pedestrian_leg_details.travel_steps[0].turn_step_details.turn_intensity #=> String, one of "Sharp", "Slight", "Typical"
|
1610
1641
|
# resp.routes[0].legs[0].pedestrian_leg_details.travel_steps[0].type #=> String, one of "Arrive", "Continue", "Depart", "Keep", "RoundaboutEnter", "RoundaboutExit", "RoundaboutPass", "Turn", "Exit", "Ramp", "UTurn"
|
1611
|
-
# resp.routes[0].legs[0].travel_mode #=> String, one of "Car", "Ferry", "Pedestrian", "Scooter", "Truck"
|
1642
|
+
# resp.routes[0].legs[0].travel_mode #=> String, one of "Car", "Ferry", "Pedestrian", "Scooter", "Truck", "CarShuttleTrain"
|
1612
1643
|
# resp.routes[0].legs[0].type #=> String, one of "Ferry", "Pedestrian", "Vehicle"
|
1613
1644
|
# resp.routes[0].legs[0].vehicle_leg_details.arrival.place.name #=> String
|
1614
1645
|
# resp.routes[0].legs[0].vehicle_leg_details.arrival.place.original_position #=> Array
|
@@ -1888,15 +1919,19 @@ module Aws::GeoRoutes
|
|
1888
1919
|
req.send_request(options)
|
1889
1920
|
end
|
1890
1921
|
|
1891
|
-
#
|
1892
|
-
# minimize either the travel time or the distance
|
1893
|
-
# journey, based on road network restrictions and
|
1894
|
-
# data.
|
1922
|
+
# `OptimizeWaypoints` calculates the optimal order to travel between a
|
1923
|
+
# set of waypoints to minimize either the travel time or the distance
|
1924
|
+
# travelled during the journey, based on road network restrictions and
|
1925
|
+
# the traffic pattern data.
|
1895
1926
|
#
|
1896
1927
|
# @option params [Types::WaypointOptimizationAvoidanceOptions] :avoid
|
1897
|
-
# Features that are avoided
|
1898
|
-
#
|
1899
|
-
#
|
1928
|
+
# Features that are avoided. Avoidance is on a best-case basis. If an
|
1929
|
+
# avoidance can't be satisfied for a particular case, this setting is
|
1930
|
+
# ignored.
|
1931
|
+
#
|
1932
|
+
# @option params [Types::WaypointOptimizationClusteringOptions] :clustering
|
1933
|
+
# Clustering allows you to specify how nearby waypoints can be clustered
|
1934
|
+
# to improve the optimized sequence.
|
1900
1935
|
#
|
1901
1936
|
# @option params [String] :departure_time
|
1902
1937
|
# Departure time from the waypoint.
|
@@ -1981,6 +2016,12 @@ module Aws::GeoRoutes
|
|
1981
2016
|
# tunnels: false,
|
1982
2017
|
# u_turns: false,
|
1983
2018
|
# },
|
2019
|
+
# clustering: {
|
2020
|
+
# algorithm: "DrivingDistance", # required, accepts DrivingDistance, TopologySegment
|
2021
|
+
# driving_distance_options: {
|
2022
|
+
# driving_distance: 1, # required
|
2023
|
+
# },
|
2024
|
+
# },
|
1984
2025
|
# departure_time: "TimestampWithTimezoneOffset",
|
1985
2026
|
# destination: [1.0],
|
1986
2027
|
# destination_options: {
|
@@ -2096,6 +2137,7 @@ module Aws::GeoRoutes
|
|
2096
2137
|
# resp.impeding_waypoints[0].position[0] #=> Float
|
2097
2138
|
# resp.optimized_waypoints #=> Array
|
2098
2139
|
# resp.optimized_waypoints[0].arrival_time #=> String
|
2140
|
+
# resp.optimized_waypoints[0].cluster_index #=> Integer
|
2099
2141
|
# resp.optimized_waypoints[0].departure_time #=> String
|
2100
2142
|
# resp.optimized_waypoints[0].id #=> String
|
2101
2143
|
# resp.optimized_waypoints[0].position #=> Array
|
@@ -2115,8 +2157,7 @@ module Aws::GeoRoutes
|
|
2115
2157
|
req.send_request(options)
|
2116
2158
|
end
|
2117
2159
|
|
2118
|
-
#
|
2119
|
-
# on.
|
2160
|
+
# `SnapToRoads` matches GPS trace to roads most likely traveled on.
|
2120
2161
|
#
|
2121
2162
|
# @option params [String] :key
|
2122
2163
|
# Optional: The API key to be used for authorization. Either an API key
|
@@ -2232,7 +2273,7 @@ module Aws::GeoRoutes
|
|
2232
2273
|
tracer: tracer
|
2233
2274
|
)
|
2234
2275
|
context[:gem_name] = 'aws-sdk-georoutes'
|
2235
|
-
context[:gem_version] = '1.
|
2276
|
+
context[:gem_version] = '1.3.0'
|
2236
2277
|
Seahorse::Client::Request.new(handlers, context)
|
2237
2278
|
end
|
2238
2279
|
|
@@ -31,6 +31,7 @@ module Aws::GeoRoutes
|
|
31
31
|
CalculateRoutesRequestMaxAlternativesInteger = Shapes::IntegerShape.new(name: 'CalculateRoutesRequestMaxAlternativesInteger')
|
32
32
|
CalculateRoutesResponse = Shapes::StructureShape.new(name: 'CalculateRoutesResponse')
|
33
33
|
Circle = Shapes::StructureShape.new(name: 'Circle')
|
34
|
+
ClusterIndex = Shapes::IntegerShape.new(name: 'ClusterIndex')
|
34
35
|
Corridor = Shapes::StructureShape.new(name: 'Corridor')
|
35
36
|
CountryCode = Shapes::StringShape.new(name: 'CountryCode')
|
36
37
|
CountryCode3 = Shapes::StringShape.new(name: 'CountryCode3')
|
@@ -448,11 +449,14 @@ module Aws::GeoRoutes
|
|
448
449
|
WaypointOptimizationAvoidanceAreaGeometry = Shapes::StructureShape.new(name: 'WaypointOptimizationAvoidanceAreaGeometry')
|
449
450
|
WaypointOptimizationAvoidanceOptions = Shapes::StructureShape.new(name: 'WaypointOptimizationAvoidanceOptions')
|
450
451
|
WaypointOptimizationAvoidanceOptionsAreasList = Shapes::ListShape.new(name: 'WaypointOptimizationAvoidanceOptionsAreasList')
|
452
|
+
WaypointOptimizationClusteringAlgorithm = Shapes::StringShape.new(name: 'WaypointOptimizationClusteringAlgorithm')
|
453
|
+
WaypointOptimizationClusteringOptions = Shapes::StructureShape.new(name: 'WaypointOptimizationClusteringOptions')
|
451
454
|
WaypointOptimizationConnection = Shapes::StructureShape.new(name: 'WaypointOptimizationConnection')
|
452
455
|
WaypointOptimizationConnectionList = Shapes::ListShape.new(name: 'WaypointOptimizationConnectionList')
|
453
456
|
WaypointOptimizationConstraint = Shapes::StringShape.new(name: 'WaypointOptimizationConstraint')
|
454
457
|
WaypointOptimizationDestinationOptions = Shapes::StructureShape.new(name: 'WaypointOptimizationDestinationOptions')
|
455
458
|
WaypointOptimizationDriverOptions = Shapes::StructureShape.new(name: 'WaypointOptimizationDriverOptions')
|
459
|
+
WaypointOptimizationDrivingDistanceOptions = Shapes::StructureShape.new(name: 'WaypointOptimizationDrivingDistanceOptions')
|
456
460
|
WaypointOptimizationExclusionOptions = Shapes::StructureShape.new(name: 'WaypointOptimizationExclusionOptions')
|
457
461
|
WaypointOptimizationFailedConstraint = Shapes::StructureShape.new(name: 'WaypointOptimizationFailedConstraint')
|
458
462
|
WaypointOptimizationFailedConstraintList = Shapes::ListShape.new(name: 'WaypointOptimizationFailedConstraintList')
|
@@ -762,6 +766,7 @@ module Aws::GeoRoutes
|
|
762
766
|
LocalizedStringList.member = Shapes::ShapeRef.new(shape: LocalizedString)
|
763
767
|
|
764
768
|
OptimizeWaypointsRequest.add_member(:avoid, Shapes::ShapeRef.new(shape: WaypointOptimizationAvoidanceOptions, location_name: "Avoid"))
|
769
|
+
OptimizeWaypointsRequest.add_member(:clustering, Shapes::ShapeRef.new(shape: WaypointOptimizationClusteringOptions, location_name: "Clustering"))
|
765
770
|
OptimizeWaypointsRequest.add_member(:departure_time, Shapes::ShapeRef.new(shape: TimestampWithTimezoneOffset, location_name: "DepartureTime"))
|
766
771
|
OptimizeWaypointsRequest.add_member(:destination, Shapes::ShapeRef.new(shape: Position, location_name: "Destination"))
|
767
772
|
OptimizeWaypointsRequest.add_member(:destination_options, Shapes::ShapeRef.new(shape: WaypointOptimizationDestinationOptions, location_name: "DestinationOptions"))
|
@@ -1733,6 +1738,10 @@ module Aws::GeoRoutes
|
|
1733
1738
|
|
1734
1739
|
WaypointOptimizationAvoidanceOptionsAreasList.member = Shapes::ShapeRef.new(shape: WaypointOptimizationAvoidanceArea)
|
1735
1740
|
|
1741
|
+
WaypointOptimizationClusteringOptions.add_member(:algorithm, Shapes::ShapeRef.new(shape: WaypointOptimizationClusteringAlgorithm, required: true, location_name: "Algorithm"))
|
1742
|
+
WaypointOptimizationClusteringOptions.add_member(:driving_distance_options, Shapes::ShapeRef.new(shape: WaypointOptimizationDrivingDistanceOptions, location_name: "DrivingDistanceOptions"))
|
1743
|
+
WaypointOptimizationClusteringOptions.struct_class = Types::WaypointOptimizationClusteringOptions
|
1744
|
+
|
1736
1745
|
WaypointOptimizationConnection.add_member(:distance, Shapes::ShapeRef.new(shape: DistanceMeters, required: true, location_name: "Distance"))
|
1737
1746
|
WaypointOptimizationConnection.add_member(:from, Shapes::ShapeRef.new(shape: WaypointId, required: true, location_name: "From"))
|
1738
1747
|
WaypointOptimizationConnection.add_member(:rest_duration, Shapes::ShapeRef.new(shape: DurationSeconds, required: true, location_name: "RestDuration"))
|
@@ -1756,6 +1765,9 @@ module Aws::GeoRoutes
|
|
1756
1765
|
WaypointOptimizationDriverOptions.add_member(:treat_service_time_as, Shapes::ShapeRef.new(shape: WaypointOptimizationServiceTimeTreatment, location_name: "TreatServiceTimeAs"))
|
1757
1766
|
WaypointOptimizationDriverOptions.struct_class = Types::WaypointOptimizationDriverOptions
|
1758
1767
|
|
1768
|
+
WaypointOptimizationDrivingDistanceOptions.add_member(:driving_distance, Shapes::ShapeRef.new(shape: DistanceMeters, required: true, location_name: "DrivingDistance"))
|
1769
|
+
WaypointOptimizationDrivingDistanceOptions.struct_class = Types::WaypointOptimizationDrivingDistanceOptions
|
1770
|
+
|
1759
1771
|
WaypointOptimizationExclusionOptions.add_member(:countries, Shapes::ShapeRef.new(shape: CountryCodeList, required: true, location_name: "Countries"))
|
1760
1772
|
WaypointOptimizationExclusionOptions.struct_class = Types::WaypointOptimizationExclusionOptions
|
1761
1773
|
|
@@ -1775,6 +1787,7 @@ module Aws::GeoRoutes
|
|
1775
1787
|
WaypointOptimizationImpedingWaypointList.member = Shapes::ShapeRef.new(shape: WaypointOptimizationImpedingWaypoint)
|
1776
1788
|
|
1777
1789
|
WaypointOptimizationOptimizedWaypoint.add_member(:arrival_time, Shapes::ShapeRef.new(shape: TimestampWithTimezoneOffset, location_name: "ArrivalTime"))
|
1790
|
+
WaypointOptimizationOptimizedWaypoint.add_member(:cluster_index, Shapes::ShapeRef.new(shape: ClusterIndex, location_name: "ClusterIndex"))
|
1778
1791
|
WaypointOptimizationOptimizedWaypoint.add_member(:departure_time, Shapes::ShapeRef.new(shape: TimestampWithTimezoneOffset, required: true, location_name: "DepartureTime"))
|
1779
1792
|
WaypointOptimizationOptimizedWaypoint.add_member(:id, Shapes::ShapeRef.new(shape: WaypointId, required: true, location_name: "Id"))
|
1780
1793
|
WaypointOptimizationOptimizedWaypoint.add_member(:position, Shapes::ShapeRef.new(shape: Position, required: true, location_name: "Position"))
|
@@ -24,7 +24,7 @@ module Aws::GeoRoutes
|
|
24
24
|
end
|
25
25
|
|
26
26
|
# @!attribute [rw] allow
|
27
|
-
# Features that are allowed while calculating
|
27
|
+
# Features that are allowed while calculating an isoline.
|
28
28
|
# @return [Types::IsolineAllowOptions]
|
29
29
|
#
|
30
30
|
# @!attribute [rw] arrival_time
|
@@ -80,7 +80,7 @@ module Aws::GeoRoutes
|
|
80
80
|
# @return [String]
|
81
81
|
#
|
82
82
|
# @!attribute [rw] isoline_granularity
|
83
|
-
# Defines the granularity of the returned Isoline
|
83
|
+
# Defines the granularity of the returned Isoline.
|
84
84
|
# @return [Types::IsolineGranularityOptions]
|
85
85
|
#
|
86
86
|
# @!attribute [rw] key
|
@@ -116,6 +116,15 @@ module Aws::GeoRoutes
|
|
116
116
|
# @!attribute [rw] thresholds
|
117
117
|
# Threshold to be used for the isoline calculation. Up to 3 thresholds
|
118
118
|
# per provided type can be requested.
|
119
|
+
#
|
120
|
+
# You incur a calculation charge for each threshold. Using a large
|
121
|
+
# amount of thresholds in a request can lead you to incur unexpected
|
122
|
+
# charges. See [ Amazon Location's pricing page][1] for more
|
123
|
+
# information.
|
124
|
+
#
|
125
|
+
#
|
126
|
+
#
|
127
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/routes-pricing.html`
|
119
128
|
# @return [Types::IsolineThresholds]
|
120
129
|
#
|
121
130
|
# @!attribute [rw] traffic
|
@@ -227,7 +236,7 @@ module Aws::GeoRoutes
|
|
227
236
|
end
|
228
237
|
|
229
238
|
# @!attribute [rw] allow
|
230
|
-
# Features that are allowed while calculating
|
239
|
+
# Features that are allowed while calculating a route.
|
231
240
|
# @return [Types::RouteMatrixAllowOptions]
|
232
241
|
#
|
233
242
|
# @!attribute [rw] avoid
|
@@ -256,6 +265,17 @@ module Aws::GeoRoutes
|
|
256
265
|
#
|
257
266
|
# @!attribute [rw] destinations
|
258
267
|
# List of destinations for the route.
|
268
|
+
#
|
269
|
+
# <note markdown="1"> Route calculations are billed for each origin and destination pair.
|
270
|
+
# If you use a large matrix of origins and destinations, your costs
|
271
|
+
# will increase accordingly. See [ Amazon Location's pricing page][1]
|
272
|
+
# for more information.
|
273
|
+
#
|
274
|
+
# </note>
|
275
|
+
#
|
276
|
+
#
|
277
|
+
#
|
278
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/routes-pricing.html`
|
259
279
|
# @return [Array<Types::RouteMatrixDestination>]
|
260
280
|
#
|
261
281
|
# @!attribute [rw] exclude
|
@@ -275,6 +295,17 @@ module Aws::GeoRoutes
|
|
275
295
|
#
|
276
296
|
# @!attribute [rw] origins
|
277
297
|
# The position in longitude and latitude for the origin.
|
298
|
+
#
|
299
|
+
# <note markdown="1"> Route calculations are billed for each origin and destination pair.
|
300
|
+
# Using a large amount of Origins in a request can lead you to incur
|
301
|
+
# unexpected charges. See [ Amazon Location's pricing page][1] for
|
302
|
+
# more information.
|
303
|
+
#
|
304
|
+
# </note>
|
305
|
+
#
|
306
|
+
#
|
307
|
+
#
|
308
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/routes-pricing.html`
|
278
309
|
# @return [Array<Types::RouteMatrixOrigin>]
|
279
310
|
#
|
280
311
|
# @!attribute [rw] routing_boundary
|
@@ -364,7 +395,7 @@ module Aws::GeoRoutes
|
|
364
395
|
end
|
365
396
|
|
366
397
|
# @!attribute [rw] allow
|
367
|
-
# Features that are allowed while calculating
|
398
|
+
# Features that are allowed while calculating a route.
|
368
399
|
# @return [Types::RouteAllowOptions]
|
369
400
|
#
|
370
401
|
# @!attribute [rw] arrival_time
|
@@ -535,7 +566,7 @@ module Aws::GeoRoutes
|
|
535
566
|
# Type of step returned by the response. Default provides basic steps
|
536
567
|
# intended for web based applications. TurnByTurn provides detailed
|
537
568
|
# instructions with more granularity intended for a turn based
|
538
|
-
#
|
569
|
+
# navigation system.
|
539
570
|
# @return [String]
|
540
571
|
#
|
541
572
|
# @!attribute [rw] waypoints
|
@@ -698,15 +729,19 @@ module Aws::GeoRoutes
|
|
698
729
|
include Aws::Structure
|
699
730
|
end
|
700
731
|
|
701
|
-
# Features that are allowed while calculating
|
732
|
+
# Features that are allowed while calculating an isoline.
|
702
733
|
#
|
703
734
|
# @!attribute [rw] hot
|
704
|
-
# Allow Hot (High Occupancy Toll) lanes while calculating
|
735
|
+
# Allow Hot (High Occupancy Toll) lanes while calculating an isoline.
|
736
|
+
#
|
737
|
+
# Default value: `false`
|
705
738
|
# @return [Boolean]
|
706
739
|
#
|
707
740
|
# @!attribute [rw] hov
|
708
|
-
# Allow Hov (High Occupancy vehicle) lanes while calculating
|
709
|
-
#
|
741
|
+
# Allow Hov (High Occupancy vehicle) lanes while calculating an
|
742
|
+
# isoline.
|
743
|
+
#
|
744
|
+
# Default value: `false`
|
710
745
|
# @return [Boolean]
|
711
746
|
#
|
712
747
|
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-routes-2020-11-19/IsolineAllowOptions AWS API Documentation
|
@@ -722,7 +757,7 @@ module Aws::GeoRoutes
|
|
722
757
|
#
|
723
758
|
# @!attribute [rw] except
|
724
759
|
# Exceptions to the provided avoidance geometry, to be included while
|
725
|
-
# calculating
|
760
|
+
# calculating an isoline.
|
726
761
|
# @return [Array<Types::IsolineAvoidanceAreaGeometry>]
|
727
762
|
#
|
728
763
|
# @!attribute [rw] geometry
|
@@ -738,7 +773,7 @@ module Aws::GeoRoutes
|
|
738
773
|
include Aws::Structure
|
739
774
|
end
|
740
775
|
|
741
|
-
# The avoidance geometry, to be included while calculating
|
776
|
+
# The avoidance geometry, to be included while calculating an isoline.
|
742
777
|
#
|
743
778
|
# @!attribute [rw] bounding_box
|
744
779
|
# Geometry defined as a bounding box. The first pair represents the X
|
@@ -791,33 +826,33 @@ module Aws::GeoRoutes
|
|
791
826
|
include Aws::Structure
|
792
827
|
end
|
793
828
|
|
794
|
-
# Features that are avoided while calculating
|
795
|
-
# best-case basis. If an avoidance can't be satisfied for a
|
796
|
-
# case, it violates the avoidance and the returned response
|
797
|
-
# notice for the violation.
|
829
|
+
# Features that are avoided while calculating isolines. Avoidance is on
|
830
|
+
# a best-case basis. If an avoidance can't be satisfied for a
|
831
|
+
# particular case, it violates the avoidance and the returned response
|
832
|
+
# produces a notice for the violation.
|
798
833
|
#
|
799
834
|
# @!attribute [rw] areas
|
800
835
|
# Areas to be avoided.
|
801
836
|
# @return [Array<Types::IsolineAvoidanceArea>]
|
802
837
|
#
|
803
838
|
# @!attribute [rw] car_shuttle_trains
|
804
|
-
# Avoid car-shuttle-trains while calculating
|
839
|
+
# Avoid car-shuttle-trains while calculating an isoline.
|
805
840
|
# @return [Boolean]
|
806
841
|
#
|
807
842
|
# @!attribute [rw] controlled_access_highways
|
808
|
-
# Avoid controlled access highways while calculating
|
843
|
+
# Avoid controlled access highways while calculating an isoline.
|
809
844
|
# @return [Boolean]
|
810
845
|
#
|
811
846
|
# @!attribute [rw] dirt_roads
|
812
|
-
# Avoid dirt roads while calculating
|
847
|
+
# Avoid dirt roads while calculating an isoline.
|
813
848
|
# @return [Boolean]
|
814
849
|
#
|
815
850
|
# @!attribute [rw] ferries
|
816
|
-
# Avoid ferries while calculating
|
851
|
+
# Avoid ferries while calculating an isoline.
|
817
852
|
# @return [Boolean]
|
818
853
|
#
|
819
854
|
# @!attribute [rw] seasonal_closure
|
820
|
-
# Avoid roads that have seasonal closure while calculating
|
855
|
+
# Avoid roads that have seasonal closure while calculating an isoline.
|
821
856
|
# @return [Boolean]
|
822
857
|
#
|
823
858
|
# @!attribute [rw] toll_roads
|
@@ -840,7 +875,7 @@ module Aws::GeoRoutes
|
|
840
875
|
# @return [Array<String>]
|
841
876
|
#
|
842
877
|
# @!attribute [rw] tunnels
|
843
|
-
# Avoid tunnels while calculating
|
878
|
+
# Avoid tunnels while calculating an isoline.
|
844
879
|
# @return [Boolean]
|
845
880
|
#
|
846
881
|
# @!attribute [rw] u_turns
|
@@ -884,7 +919,7 @@ module Aws::GeoRoutes
|
|
884
919
|
include Aws::Structure
|
885
920
|
end
|
886
921
|
|
887
|
-
#
|
922
|
+
# Travel mode options when the provided travel mode is `Car`.
|
888
923
|
#
|
889
924
|
# @!attribute [rw] engine_type
|
890
925
|
# Engine type of the vehicle.
|
@@ -945,7 +980,7 @@ module Aws::GeoRoutes
|
|
945
980
|
include Aws::Structure
|
946
981
|
end
|
947
982
|
|
948
|
-
# Geometry of the connection between different
|
983
|
+
# Geometry of the connection between different isoline components.
|
949
984
|
#
|
950
985
|
# @!attribute [rw] line_string
|
951
986
|
# An ordered list of positions used to plot a route on a map.
|
@@ -1015,7 +1050,7 @@ module Aws::GeoRoutes
|
|
1015
1050
|
# @!attribute [rw] max_resolution
|
1016
1051
|
# Maximum resolution of the returned isoline.
|
1017
1052
|
#
|
1018
|
-
# **Unit**: `
|
1053
|
+
# **Unit**: `meters`
|
1019
1054
|
# @return [Integer]
|
1020
1055
|
#
|
1021
1056
|
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-routes-2020-11-19/IsolineGranularityOptions AWS API Documentation
|
@@ -1067,7 +1102,7 @@ module Aws::GeoRoutes
|
|
1067
1102
|
include Aws::Structure
|
1068
1103
|
end
|
1069
1104
|
|
1070
|
-
#
|
1105
|
+
# Origin related options.
|
1071
1106
|
#
|
1072
1107
|
# @!attribute [rw] avoid_actions_for_distance
|
1073
1108
|
# Avoids actions for the provided distance. This is typically to
|
@@ -1100,7 +1135,7 @@ module Aws::GeoRoutes
|
|
1100
1135
|
include Aws::Structure
|
1101
1136
|
end
|
1102
1137
|
|
1103
|
-
#
|
1138
|
+
# Travel mode options when the provided travel mode is `Scooter`
|
1104
1139
|
#
|
1105
1140
|
# @!attribute [rw] engine_type
|
1106
1141
|
# Engine type of the vehicle.
|
@@ -1185,7 +1220,7 @@ module Aws::GeoRoutes
|
|
1185
1220
|
include Aws::Structure
|
1186
1221
|
end
|
1187
1222
|
|
1188
|
-
# Threshold to be used for the isoline calculation. Up to
|
1223
|
+
# Threshold to be used for the isoline calculation. Up to 5 thresholds
|
1189
1224
|
# per provided type can be requested.
|
1190
1225
|
#
|
1191
1226
|
# @!attribute [rw] distance
|
@@ -1262,7 +1297,12 @@ module Aws::GeoRoutes
|
|
1262
1297
|
# @return [Types::IsolineCarOptions]
|
1263
1298
|
#
|
1264
1299
|
# @!attribute [rw] scooter
|
1265
|
-
# Travel mode options when the provided travel mode is
|
1300
|
+
# Travel mode options when the provided travel mode is `Scooter`
|
1301
|
+
#
|
1302
|
+
# <note markdown="1"> When travel mode is set to `Scooter`, then the avoidance option
|
1303
|
+
# `ControlledAccessHighways` defaults to `true`.
|
1304
|
+
#
|
1305
|
+
# </note>
|
1266
1306
|
# @return [Types::IsolineScooterOptions]
|
1267
1307
|
#
|
1268
1308
|
# @!attribute [rw] truck
|
@@ -1471,11 +1511,16 @@ module Aws::GeoRoutes
|
|
1471
1511
|
end
|
1472
1512
|
|
1473
1513
|
# @!attribute [rw] avoid
|
1474
|
-
# Features that are avoided
|
1475
|
-
#
|
1476
|
-
#
|
1514
|
+
# Features that are avoided. Avoidance is on a best-case basis. If an
|
1515
|
+
# avoidance can't be satisfied for a particular case, this setting is
|
1516
|
+
# ignored.
|
1477
1517
|
# @return [Types::WaypointOptimizationAvoidanceOptions]
|
1478
1518
|
#
|
1519
|
+
# @!attribute [rw] clustering
|
1520
|
+
# Clustering allows you to specify how nearby waypoints can be
|
1521
|
+
# clustered to improve the optimized sequence.
|
1522
|
+
# @return [Types::WaypointOptimizationClusteringOptions]
|
1523
|
+
#
|
1479
1524
|
# @!attribute [rw] departure_time
|
1480
1525
|
# Departure time from the waypoint.
|
1481
1526
|
#
|
@@ -1548,6 +1593,7 @@ module Aws::GeoRoutes
|
|
1548
1593
|
#
|
1549
1594
|
class OptimizeWaypointsRequest < Struct.new(
|
1550
1595
|
:avoid,
|
1596
|
+
:clustering,
|
1551
1597
|
:departure_time,
|
1552
1598
|
:destination,
|
1553
1599
|
:destination_options,
|
@@ -1888,15 +1934,19 @@ module Aws::GeoRoutes
|
|
1888
1934
|
include Aws::Structure
|
1889
1935
|
end
|
1890
1936
|
|
1891
|
-
# Features that are allowed while calculating
|
1937
|
+
# Features that are allowed while calculating a route.
|
1892
1938
|
#
|
1893
1939
|
# @!attribute [rw] hot
|
1894
1940
|
# Allow Hot (High Occupancy Toll) lanes while calculating the route.
|
1941
|
+
#
|
1942
|
+
# Default value: `false`
|
1895
1943
|
# @return [Boolean]
|
1896
1944
|
#
|
1897
1945
|
# @!attribute [rw] hov
|
1898
1946
|
# Allow Hov (High Occupancy vehicle) lanes while calculating the
|
1899
1947
|
# route.
|
1948
|
+
#
|
1949
|
+
# Default value: `false`
|
1900
1950
|
# @return [Boolean]
|
1901
1951
|
#
|
1902
1952
|
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-routes-2020-11-19/RouteAllowOptions AWS API Documentation
|
@@ -1975,7 +2025,12 @@ module Aws::GeoRoutes
|
|
1975
2025
|
include Aws::Structure
|
1976
2026
|
end
|
1977
2027
|
|
1978
|
-
#
|
2028
|
+
# Specifies options for areas to avoid when calculating the route. This
|
2029
|
+
# is a best-effort avoidance setting, meaning the router will try to
|
2030
|
+
# honor the avoidance preferences but may still include restricted areas
|
2031
|
+
# if no feasible alternative route exists. If avoidance options are not
|
2032
|
+
# followed, the response will indicate that the avoidance criteria were
|
2033
|
+
# violated.
|
1979
2034
|
#
|
1980
2035
|
# @!attribute [rw] areas
|
1981
2036
|
# Areas to be avoided.
|
@@ -2065,7 +2120,7 @@ module Aws::GeoRoutes
|
|
2065
2120
|
include Aws::Structure
|
2066
2121
|
end
|
2067
2122
|
|
2068
|
-
# Travel mode options when the provided travel mode is
|
2123
|
+
# Travel mode options when the provided travel mode is `Car`.
|
2069
2124
|
#
|
2070
2125
|
# @!attribute [rw] engine_type
|
2071
2126
|
# Engine type of the vehicle.
|
@@ -2278,7 +2333,9 @@ module Aws::GeoRoutes
|
|
2278
2333
|
include Aws::Structure
|
2279
2334
|
end
|
2280
2335
|
|
2281
|
-
#
|
2336
|
+
# Specifies strict exclusion options for the route calculation. This
|
2337
|
+
# setting mandates that the router will avoid any routes that include
|
2338
|
+
# the specified options, rather than merely attempting to minimize them.
|
2282
2339
|
#
|
2283
2340
|
# @!attribute [rw] countries
|
2284
2341
|
# List of countries to be avoided defined by two-letter or
|
@@ -2573,6 +2630,8 @@ module Aws::GeoRoutes
|
|
2573
2630
|
# @!attribute [rw] distance
|
2574
2631
|
# Distance of the computed span. This feature doesn't split a span,
|
2575
2632
|
# but is always computed on a span split by other properties.
|
2633
|
+
#
|
2634
|
+
# **Unit**: `meters`
|
2576
2635
|
# @return [Integer]
|
2577
2636
|
#
|
2578
2637
|
# @!attribute [rw] duration
|
@@ -2865,11 +2924,15 @@ module Aws::GeoRoutes
|
|
2865
2924
|
#
|
2866
2925
|
# @!attribute [rw] hot
|
2867
2926
|
# Allow Hot (High Occupancy Toll) lanes while calculating the route.
|
2927
|
+
#
|
2928
|
+
# Default value: `false`
|
2868
2929
|
# @return [Boolean]
|
2869
2930
|
#
|
2870
2931
|
# @!attribute [rw] hov
|
2871
2932
|
# Allow Hov (High Occupancy vehicle) lanes while calculating the
|
2872
2933
|
# route.
|
2934
|
+
#
|
2935
|
+
# Default value: `false`
|
2873
2936
|
# @return [Boolean]
|
2874
2937
|
#
|
2875
2938
|
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-routes-2020-11-19/RouteMatrixAllowOptions AWS API Documentation
|
@@ -2949,7 +3012,12 @@ module Aws::GeoRoutes
|
|
2949
3012
|
include Aws::Structure
|
2950
3013
|
end
|
2951
3014
|
|
2952
|
-
#
|
3015
|
+
# Specifies options for areas to avoid when calculating the route. This
|
3016
|
+
# is a best-effort avoidance setting, meaning the router will try to
|
3017
|
+
# honor the avoidance preferences but may still include restricted areas
|
3018
|
+
# if no feasible alternative route exists. If avoidance options are not
|
3019
|
+
# followed, the response will indicate that the avoidance criteria were
|
3020
|
+
# violated.
|
2953
3021
|
#
|
2954
3022
|
# @!attribute [rw] areas
|
2955
3023
|
# Areas to be avoided.
|
@@ -3089,7 +3157,7 @@ module Aws::GeoRoutes
|
|
3089
3157
|
include Aws::Structure
|
3090
3158
|
end
|
3091
3159
|
|
3092
|
-
#
|
3160
|
+
# Travel mode options when the provided travel mode is `Car`.
|
3093
3161
|
#
|
3094
3162
|
# @!attribute [rw] license_plate
|
3095
3163
|
# The vehicle License Plate.
|
@@ -3198,7 +3266,9 @@ module Aws::GeoRoutes
|
|
3198
3266
|
include Aws::Structure
|
3199
3267
|
end
|
3200
3268
|
|
3201
|
-
#
|
3269
|
+
# Specifies strict exclusion options for the route calculation. This
|
3270
|
+
# setting mandates that the router will avoid any routes that include
|
3271
|
+
# the specified options, rather than merely attempting to minimize them.
|
3202
3272
|
#
|
3203
3273
|
# @!attribute [rw] countries
|
3204
3274
|
# List of countries to be avoided defined by two-letter or
|
@@ -3305,7 +3375,7 @@ module Aws::GeoRoutes
|
|
3305
3375
|
include Aws::Structure
|
3306
3376
|
end
|
3307
3377
|
|
3308
|
-
# Travel mode options when the provided travel mode is
|
3378
|
+
# Travel mode options when the provided travel mode is `Scooter`
|
3309
3379
|
#
|
3310
3380
|
# @!attribute [rw] license_plate
|
3311
3381
|
# The vehicle License Plate.
|
@@ -3406,7 +3476,12 @@ module Aws::GeoRoutes
|
|
3406
3476
|
# @return [Types::RouteMatrixCarOptions]
|
3407
3477
|
#
|
3408
3478
|
# @!attribute [rw] scooter
|
3409
|
-
# Travel mode options when the provided travel mode is
|
3479
|
+
# Travel mode options when the provided travel mode is `Scooter`
|
3480
|
+
#
|
3481
|
+
# <note markdown="1"> When travel mode is set to `Scooter`, then the avoidance option
|
3482
|
+
# `ControlledAccessHighways` defaults to `true`.
|
3483
|
+
#
|
3484
|
+
# </note>
|
3410
3485
|
# @return [Types::RouteMatrixScooterOptions]
|
3411
3486
|
#
|
3412
3487
|
# @!attribute [rw] truck
|
@@ -4292,7 +4367,7 @@ module Aws::GeoRoutes
|
|
4292
4367
|
include Aws::Structure
|
4293
4368
|
end
|
4294
4369
|
|
4295
|
-
# Travel mode options when the provided travel mode is
|
4370
|
+
# Travel mode options when the provided travel mode is `Scooter`
|
4296
4371
|
#
|
4297
4372
|
# @!attribute [rw] engine_type
|
4298
4373
|
# Engine type of the vehicle.
|
@@ -4861,7 +4936,12 @@ module Aws::GeoRoutes
|
|
4861
4936
|
# @return [Types::RoutePedestrianOptions]
|
4862
4937
|
#
|
4863
4938
|
# @!attribute [rw] scooter
|
4864
|
-
# Travel mode options when the provided travel mode is
|
4939
|
+
# Travel mode options when the provided travel mode is `Scooter`
|
4940
|
+
#
|
4941
|
+
# <note markdown="1"> When travel mode is set to `Scooter`, then the avoidance option
|
4942
|
+
# `ControlledAccessHighways` defaults to `true`.
|
4943
|
+
#
|
4944
|
+
# </note>
|
4865
4945
|
# @return [Types::RouteScooterOptions]
|
4866
4946
|
#
|
4867
4947
|
# @!attribute [rw] truck
|
@@ -6154,7 +6234,11 @@ module Aws::GeoRoutes
|
|
6154
6234
|
include Aws::Structure
|
6155
6235
|
end
|
6156
6236
|
|
6157
|
-
#
|
6237
|
+
# Specifies options for areas to avoid. This is a best-effort avoidance
|
6238
|
+
# setting, meaning the router will try to honor the avoidance
|
6239
|
+
# preferences but may still include restricted areas if no feasible
|
6240
|
+
# alternative route exists. If avoidance options are not followed, the
|
6241
|
+
# response will indicate that the avoidance criteria were violated.
|
6158
6242
|
#
|
6159
6243
|
# @!attribute [rw] areas
|
6160
6244
|
# Areas to be avoided.
|
@@ -6204,6 +6288,30 @@ module Aws::GeoRoutes
|
|
6204
6288
|
include Aws::Structure
|
6205
6289
|
end
|
6206
6290
|
|
6291
|
+
# Options for WaypointOptimizationClustering.
|
6292
|
+
#
|
6293
|
+
# @!attribute [rw] algorithm
|
6294
|
+
# The algorithm to be used. `DrivingDistance` assigns all the
|
6295
|
+
# waypoints that are within driving distance of each other into a
|
6296
|
+
# single cluster. `TopologySegment` assigns all the waypoints that are
|
6297
|
+
# within the same topology segment into a single cluster. A Topology
|
6298
|
+
# segment is a linear stretch of road between two junctions.
|
6299
|
+
# @return [String]
|
6300
|
+
#
|
6301
|
+
# @!attribute [rw] driving_distance_options
|
6302
|
+
# Driving distance options to be used when the clustering algorithm is
|
6303
|
+
# DrivingDistance.
|
6304
|
+
# @return [Types::WaypointOptimizationDrivingDistanceOptions]
|
6305
|
+
#
|
6306
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-routes-2020-11-19/WaypointOptimizationClusteringOptions AWS API Documentation
|
6307
|
+
#
|
6308
|
+
class WaypointOptimizationClusteringOptions < Struct.new(
|
6309
|
+
:algorithm,
|
6310
|
+
:driving_distance_options)
|
6311
|
+
SENSITIVE = []
|
6312
|
+
include Aws::Structure
|
6313
|
+
end
|
6314
|
+
|
6207
6315
|
# This contains information such as distance and duration from one
|
6208
6316
|
# waypoint to the next waypoint in the sequence.
|
6209
6317
|
#
|
@@ -6321,7 +6429,24 @@ module Aws::GeoRoutes
|
|
6321
6429
|
include Aws::Structure
|
6322
6430
|
end
|
6323
6431
|
|
6324
|
-
#
|
6432
|
+
# Driving distance related options.
|
6433
|
+
#
|
6434
|
+
# @!attribute [rw] driving_distance
|
6435
|
+
# DrivingDistance assigns all the waypoints that are within driving
|
6436
|
+
# distance of each other into a single cluster.
|
6437
|
+
# @return [Integer]
|
6438
|
+
#
|
6439
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-routes-2020-11-19/WaypointOptimizationDrivingDistanceOptions AWS API Documentation
|
6440
|
+
#
|
6441
|
+
class WaypointOptimizationDrivingDistanceOptions < Struct.new(
|
6442
|
+
:driving_distance)
|
6443
|
+
SENSITIVE = []
|
6444
|
+
include Aws::Structure
|
6445
|
+
end
|
6446
|
+
|
6447
|
+
# Specifies strict exclusion options for the route calculation. This
|
6448
|
+
# setting mandates that the router will avoid any routes that include
|
6449
|
+
# the specified options, rather than merely attempting to minimize them.
|
6325
6450
|
#
|
6326
6451
|
# @!attribute [rw] countries
|
6327
6452
|
# List of countries to be avoided defined by two-letter or
|
@@ -6394,6 +6519,12 @@ module Aws::GeoRoutes
|
|
6394
6519
|
# `2020-04-22T17:57:24+02:00`
|
6395
6520
|
# @return [String]
|
6396
6521
|
#
|
6522
|
+
# @!attribute [rw] cluster_index
|
6523
|
+
# Index of the cluster the waypoint is associated with. The index is
|
6524
|
+
# included in the response only if clustering was performed while
|
6525
|
+
# processing the request.
|
6526
|
+
# @return [Integer]
|
6527
|
+
#
|
6397
6528
|
# @!attribute [rw] departure_time
|
6398
6529
|
# Estimated time of departure from thr origin.
|
6399
6530
|
#
|
@@ -6419,6 +6550,7 @@ module Aws::GeoRoutes
|
|
6419
6550
|
#
|
6420
6551
|
class WaypointOptimizationOptimizedWaypoint < Struct.new(
|
6421
6552
|
:arrival_time,
|
6553
|
+
:cluster_index,
|
6422
6554
|
:departure_time,
|
6423
6555
|
:id,
|
6424
6556
|
:position)
|
@@ -6426,7 +6558,7 @@ module Aws::GeoRoutes
|
|
6426
6558
|
include Aws::Structure
|
6427
6559
|
end
|
6428
6560
|
|
6429
|
-
#
|
6561
|
+
# Origin related options.
|
6430
6562
|
#
|
6431
6563
|
# @!attribute [rw] id
|
6432
6564
|
# The Origin Id.
|
data/lib/aws-sdk-georoutes.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -664,6 +664,12 @@ module Aws
|
|
664
664
|
tunnels: bool?,
|
665
665
|
u_turns: bool?
|
666
666
|
},
|
667
|
+
?clustering: {
|
668
|
+
algorithm: ("DrivingDistance" | "TopologySegment"),
|
669
|
+
driving_distance_options: {
|
670
|
+
driving_distance: ::Integer
|
671
|
+
}?
|
672
|
+
},
|
667
673
|
?departure_time: ::String,
|
668
674
|
?destination: Array[::Float],
|
669
675
|
?destination_options: {
|
data/sig/types.rbs
CHANGED
@@ -307,6 +307,7 @@ module Aws::GeoRoutes
|
|
307
307
|
|
308
308
|
class OptimizeWaypointsRequest
|
309
309
|
attr_accessor avoid: Types::WaypointOptimizationAvoidanceOptions
|
310
|
+
attr_accessor clustering: Types::WaypointOptimizationClusteringOptions
|
310
311
|
attr_accessor departure_time: ::String
|
311
312
|
attr_accessor destination: ::Array[::Float]
|
312
313
|
attr_accessor destination_options: Types::WaypointOptimizationDestinationOptions
|
@@ -549,7 +550,7 @@ module Aws::GeoRoutes
|
|
549
550
|
end
|
550
551
|
|
551
552
|
class RouteFerryNotice
|
552
|
-
attr_accessor code: ("AccuratePolylineUnavailable" | "NoSchedule" | "Other" | "ViolatedAvoidFerry" | "ViolatedAvoidRailFerry")
|
553
|
+
attr_accessor code: ("AccuratePolylineUnavailable" | "NoSchedule" | "Other" | "ViolatedAvoidFerry" | "ViolatedAvoidRailFerry" | "SeasonalClosure")
|
553
554
|
attr_accessor impact: ("High" | "Low")
|
554
555
|
SENSITIVE: []
|
555
556
|
end
|
@@ -611,7 +612,7 @@ module Aws::GeoRoutes
|
|
611
612
|
attr_accessor geometry: Types::RouteLegGeometry
|
612
613
|
attr_accessor language: ::String
|
613
614
|
attr_accessor pedestrian_leg_details: Types::RoutePedestrianLegDetails
|
614
|
-
attr_accessor travel_mode: ("Car" | "Ferry" | "Pedestrian" | "Scooter" | "Truck")
|
615
|
+
attr_accessor travel_mode: ("Car" | "Ferry" | "Pedestrian" | "Scooter" | "Truck" | "CarShuttleTrain")
|
615
616
|
attr_accessor type: ("Ferry" | "Pedestrian" | "Vehicle")
|
616
617
|
attr_accessor vehicle_leg_details: Types::RouteVehicleLegDetails
|
617
618
|
SENSITIVE: []
|
@@ -1433,6 +1434,12 @@ module Aws::GeoRoutes
|
|
1433
1434
|
SENSITIVE: []
|
1434
1435
|
end
|
1435
1436
|
|
1437
|
+
class WaypointOptimizationClusteringOptions
|
1438
|
+
attr_accessor algorithm: ("DrivingDistance" | "TopologySegment")
|
1439
|
+
attr_accessor driving_distance_options: Types::WaypointOptimizationDrivingDistanceOptions
|
1440
|
+
SENSITIVE: []
|
1441
|
+
end
|
1442
|
+
|
1436
1443
|
class WaypointOptimizationConnection
|
1437
1444
|
attr_accessor distance: ::Integer
|
1438
1445
|
attr_accessor from: ::String
|
@@ -1460,6 +1467,11 @@ module Aws::GeoRoutes
|
|
1460
1467
|
SENSITIVE: []
|
1461
1468
|
end
|
1462
1469
|
|
1470
|
+
class WaypointOptimizationDrivingDistanceOptions
|
1471
|
+
attr_accessor driving_distance: ::Integer
|
1472
|
+
SENSITIVE: []
|
1473
|
+
end
|
1474
|
+
|
1463
1475
|
class WaypointOptimizationExclusionOptions
|
1464
1476
|
attr_accessor countries: ::Array[::String]
|
1465
1477
|
SENSITIVE: []
|
@@ -1480,6 +1492,7 @@ module Aws::GeoRoutes
|
|
1480
1492
|
|
1481
1493
|
class WaypointOptimizationOptimizedWaypoint
|
1482
1494
|
attr_accessor arrival_time: ::String
|
1495
|
+
attr_accessor cluster_index: ::Integer
|
1483
1496
|
attr_accessor departure_time: ::String
|
1484
1497
|
attr_accessor id: ::String
|
1485
1498
|
attr_accessor position: ::Array[::Float]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-georoutes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|