Class: Aws::GeoRoutes::Types::RouteTrafficOptions
- Inherits:
-
Struct
- Object
- Struct
- Aws::GeoRoutes::Types::RouteTrafficOptions
- Defined in:
- gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb
Overview
Traffic options for the route.
Constant Summary collapse
- SENSITIVE =
[:flow_event_threshold_override]
Instance Attribute Summary collapse
-
#flow_event_threshold_override ⇒ Integer
Duration for which flow traffic is considered valid.
-
#usage ⇒ String
Specifies how traffic data should be used when calculating routes.
Instance Attribute Details
#flow_event_threshold_override ⇒ Integer
Duration for which flow traffic is considered valid. For this period, the flow traffic is used over historical traffic data. Flow traffic refers to congestion, which changes very quickly. Duration in seconds for which flow traffic event would be considered valid. While flow traffic event is valid it will be used over the historical traffic data.
5523 5524 5525 5526 5527 5528 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 5523 class RouteTrafficOptions < Struct.new( :flow_event_threshold_override, :usage) SENSITIVE = [:flow_event_threshold_override] include Aws::Structure end |
#usage ⇒ String
Specifies how traffic data should be used when calculating routes.
Default Value: UseTrafficData
When
Usageis set toUseTrafficData:If
DepartNowis set totrue, or if you specifyDepartureTimeorArrivalTime, then all traffic data is considered (including live traffic and closures).If
DepartNow,DepartureTime, andArrivalTimeare all unspecified, then only long-term closures are considered, regardless of this setting.- When
Usageis set toIgnoreTrafficData, then all traffic data is ignored regardless of the time parameters in your route request.
5523 5524 5525 5526 5527 5528 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 5523 class RouteTrafficOptions < Struct.new( :flow_event_threshold_override, :usage) SENSITIVE = [:flow_event_threshold_override] include Aws::Structure end |