Class: Aws::GeoRoutes::Types::OptimizeWaypointsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::GeoRoutes::Types::OptimizeWaypointsRequest
- Defined in:
- gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:departure_time, :destination, :key, :origin]
Instance Attribute Summary collapse
-
#avoid ⇒ Types::WaypointOptimizationAvoidanceOptions
Features that are avoided.
-
#clustering ⇒ Types::WaypointOptimizationClusteringOptions
Clustering allows you to specify how nearby waypoints can be clustered to improve the optimized sequence.
-
#departure_time ⇒ String
Departure time from the waypoint.
-
#destination ⇒ Array<Float>
The final position for the route in the World Geodetic System (WGS 84) format:
[longitude, latitude]. -
#destination_options ⇒ Types::WaypointOptimizationDestinationOptions
Destination related options.
-
#driver ⇒ Types::WaypointOptimizationDriverOptions
Driver related options.
-
#exclude ⇒ Types::WaypointOptimizationExclusionOptions
Features to be strictly excluded while calculating the route.
-
#key ⇒ String
Optional: The API key to be used for authorization.
-
#optimize_sequencing_for ⇒ String
Specifies the optimization criteria for the calculated sequence.
-
#origin ⇒ Array<Float>
The start position for the route in World Geodetic System (WGS 84) format: [longitude, latitude].
-
#origin_options ⇒ Types::WaypointOptimizationOriginOptions
Origin related options.
-
#traffic ⇒ Types::WaypointOptimizationTrafficOptions
Traffic-related options.
-
#travel_mode ⇒ String
Specifies the mode of transport when calculating a route.
-
#travel_mode_options ⇒ Types::WaypointOptimizationTravelModeOptions
Travel mode related options for the provided travel mode.
-
#waypoints ⇒ Array<Types::WaypointOptimizationWaypoint>
List of waypoints between the
OriginandDestination.
Instance Attribute Details
#avoid ⇒ Types::WaypointOptimizationAvoidanceOptions
Features that are avoided. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, this setting is ignored.
2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2041 class OptimizeWaypointsRequest < Struct.new( :avoid, :clustering, :departure_time, :destination, :destination_options, :driver, :exclude, :key, :optimize_sequencing_for, :origin, :origin_options, :traffic, :travel_mode, :travel_mode_options, :waypoints) SENSITIVE = [:departure_time, :destination, :key, :origin] include Aws::Structure end |
#clustering ⇒ Types::WaypointOptimizationClusteringOptions
Clustering allows you to specify how nearby waypoints can be clustered to improve the optimized sequence.
2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2041 class OptimizeWaypointsRequest < Struct.new( :avoid, :clustering, :departure_time, :destination, :destination_options, :driver, :exclude, :key, :optimize_sequencing_for, :origin, :origin_options, :traffic, :travel_mode, :travel_mode_options, :waypoints) SENSITIVE = [:departure_time, :destination, :key, :origin] include Aws::Structure end |
#departure_time ⇒ String
Departure time from the waypoint.
Time format:YYYY-MM-DDThh:mm:ss.sssZ |
YYYY-MM-DDThh:mm:ss.sss+hh:mm
Examples:
2020-04-22T17:57:24Z
2020-04-22T17:57:24+02:00
2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2041 class OptimizeWaypointsRequest < Struct.new( :avoid, :clustering, :departure_time, :destination, :destination_options, :driver, :exclude, :key, :optimize_sequencing_for, :origin, :origin_options, :traffic, :travel_mode, :travel_mode_options, :waypoints) SENSITIVE = [:departure_time, :destination, :key, :origin] include Aws::Structure end |
#destination ⇒ Array<Float>
The final position for the route in the World Geodetic System (WGS
84) format: [longitude, latitude].
2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2041 class OptimizeWaypointsRequest < Struct.new( :avoid, :clustering, :departure_time, :destination, :destination_options, :driver, :exclude, :key, :optimize_sequencing_for, :origin, :origin_options, :traffic, :travel_mode, :travel_mode_options, :waypoints) SENSITIVE = [:departure_time, :destination, :key, :origin] include Aws::Structure end |
#destination_options ⇒ Types::WaypointOptimizationDestinationOptions
Destination related options.
2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2041 class OptimizeWaypointsRequest < Struct.new( :avoid, :clustering, :departure_time, :destination, :destination_options, :driver, :exclude, :key, :optimize_sequencing_for, :origin, :origin_options, :traffic, :travel_mode, :travel_mode_options, :waypoints) SENSITIVE = [:departure_time, :destination, :key, :origin] include Aws::Structure end |
#driver ⇒ Types::WaypointOptimizationDriverOptions
Driver related options.
2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2041 class OptimizeWaypointsRequest < Struct.new( :avoid, :clustering, :departure_time, :destination, :destination_options, :driver, :exclude, :key, :optimize_sequencing_for, :origin, :origin_options, :traffic, :travel_mode, :travel_mode_options, :waypoints) SENSITIVE = [:departure_time, :destination, :key, :origin] include Aws::Structure end |
#exclude ⇒ Types::WaypointOptimizationExclusionOptions
Features to be strictly excluded while calculating the route.
2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2041 class OptimizeWaypointsRequest < Struct.new( :avoid, :clustering, :departure_time, :destination, :destination_options, :driver, :exclude, :key, :optimize_sequencing_for, :origin, :origin_options, :traffic, :travel_mode, :travel_mode_options, :waypoints) SENSITIVE = [:departure_time, :destination, :key, :origin] include Aws::Structure end |
#key ⇒ String
Optional: The API key to be used for authorization. Either an API key or valid SigV4 signature must be provided when making a request.
2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2041 class OptimizeWaypointsRequest < Struct.new( :avoid, :clustering, :departure_time, :destination, :destination_options, :driver, :exclude, :key, :optimize_sequencing_for, :origin, :origin_options, :traffic, :travel_mode, :travel_mode_options, :waypoints) SENSITIVE = [:departure_time, :destination, :key, :origin] include Aws::Structure end |
#optimize_sequencing_for ⇒ String
Specifies the optimization criteria for the calculated sequence.
Default value: FastestRoute.
2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2041 class OptimizeWaypointsRequest < Struct.new( :avoid, :clustering, :departure_time, :destination, :destination_options, :driver, :exclude, :key, :optimize_sequencing_for, :origin, :origin_options, :traffic, :travel_mode, :travel_mode_options, :waypoints) SENSITIVE = [:departure_time, :destination, :key, :origin] include Aws::Structure end |
#origin ⇒ Array<Float>
The start position for the route in World Geodetic System (WGS 84) format: [longitude, latitude].
2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2041 class OptimizeWaypointsRequest < Struct.new( :avoid, :clustering, :departure_time, :destination, :destination_options, :driver, :exclude, :key, :optimize_sequencing_for, :origin, :origin_options, :traffic, :travel_mode, :travel_mode_options, :waypoints) SENSITIVE = [:departure_time, :destination, :key, :origin] include Aws::Structure end |
#origin_options ⇒ Types::WaypointOptimizationOriginOptions
Origin related options.
2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2041 class OptimizeWaypointsRequest < Struct.new( :avoid, :clustering, :departure_time, :destination, :destination_options, :driver, :exclude, :key, :optimize_sequencing_for, :origin, :origin_options, :traffic, :travel_mode, :travel_mode_options, :waypoints) SENSITIVE = [:departure_time, :destination, :key, :origin] include Aws::Structure end |
#traffic ⇒ Types::WaypointOptimizationTrafficOptions
Traffic-related options.
2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2041 class OptimizeWaypointsRequest < Struct.new( :avoid, :clustering, :departure_time, :destination, :destination_options, :driver, :exclude, :key, :optimize_sequencing_for, :origin, :origin_options, :traffic, :travel_mode, :travel_mode_options, :waypoints) SENSITIVE = [:departure_time, :destination, :key, :origin] include Aws::Structure end |
#travel_mode ⇒ String
Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility.
Default value: Car
2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2041 class OptimizeWaypointsRequest < Struct.new( :avoid, :clustering, :departure_time, :destination, :destination_options, :driver, :exclude, :key, :optimize_sequencing_for, :origin, :origin_options, :traffic, :travel_mode, :travel_mode_options, :waypoints) SENSITIVE = [:departure_time, :destination, :key, :origin] include Aws::Structure end |
#travel_mode_options ⇒ Types::WaypointOptimizationTravelModeOptions
Travel mode related options for the provided travel mode.
2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2041 class OptimizeWaypointsRequest < Struct.new( :avoid, :clustering, :departure_time, :destination, :destination_options, :driver, :exclude, :key, :optimize_sequencing_for, :origin, :origin_options, :traffic, :travel_mode, :travel_mode_options, :waypoints) SENSITIVE = [:departure_time, :destination, :key, :origin] include Aws::Structure end |
#waypoints ⇒ Array<Types::WaypointOptimizationWaypoint>
List of waypoints between the Origin and Destination.
2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2041 class OptimizeWaypointsRequest < Struct.new( :avoid, :clustering, :departure_time, :destination, :destination_options, :driver, :exclude, :key, :optimize_sequencing_for, :origin, :origin_options, :traffic, :travel_mode, :travel_mode_options, :waypoints) SENSITIVE = [:departure_time, :destination, :key, :origin] include Aws::Structure end |