Class: Aws::GeoRoutes::Types::IsolineTrafficOptions
- Inherits:
-
Struct
- Object
- Struct
- Aws::GeoRoutes::Types::IsolineTrafficOptions
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-georoutes/types.rb
Overview
Controls how real-time and historical traffic data is used when calculating reachable areas. This affects both the size and shape of isolines by accounting for expected travel speeds based on congestion patterns.
Constant Summary collapse
- SENSITIVE =
[:flow_event_threshold_override]
Instance Attribute Summary collapse
-
#flow_event_threshold_override ⇒ Integer
The duration in seconds that real-time congestion data is considered valid before reverting to historical traffic patterns.
-
#usage ⇒ String
Controls whether traffic data is used in calculations.
Instance Attribute Details
#flow_event_threshold_override ⇒ Integer
The duration in seconds that real-time congestion data is considered valid before reverting to historical traffic patterns. This helps balance between using current conditions and more predictable historical data when calculating travel times.
Unit: ‘seconds`
1635 1636 1637 1638 1639 1640 |
# File 'lib/aws-sdk-georoutes/types.rb', line 1635 class IsolineTrafficOptions < Struct.new( :flow_event_threshold_override, :usage) SENSITIVE = [:flow_event_threshold_override] include Aws::Structure end |
#usage ⇒ String
Controls whether traffic data is used in calculations. ‘UseTrafficData` considers both real-time congestion and historical patterns, while `IgnoreTrafficData` calculates routes based solely on road types and speed limits. Using traffic data provides more accurate real-world estimates but may produce different results at different times of day.
Default value: ‘UseTrafficData`
1635 1636 1637 1638 1639 1640 |
# File 'lib/aws-sdk-georoutes/types.rb', line 1635 class IsolineTrafficOptions < Struct.new( :flow_event_threshold_override, :usage) SENSITIVE = [:flow_event_threshold_override] include Aws::Structure end |