Class: Aws::GeoRoutes::Types::RouteAvoidanceOptions

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb

Overview

Options related to areas to be avoided.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#areasArray<Types::RouteAvoidanceArea>

Areas to be avoided.

Returns:



2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2037

class RouteAvoidanceOptions < Struct.new(
  :areas,
  :car_shuttle_trains,
  :controlled_access_highways,
  :dirt_roads,
  :ferries,
  :seasonal_closure,
  :toll_roads,
  :toll_transponders,
  :truck_road_types,
  :tunnels,
  :u_turns,
  :zone_categories)
  SENSITIVE = []
  include Aws::Structure
end

#car_shuttle_trainsBoolean

Avoid car-shuttle-trains while calculating the route.

Returns:

  • (Boolean)


2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2037

class RouteAvoidanceOptions < Struct.new(
  :areas,
  :car_shuttle_trains,
  :controlled_access_highways,
  :dirt_roads,
  :ferries,
  :seasonal_closure,
  :toll_roads,
  :toll_transponders,
  :truck_road_types,
  :tunnels,
  :u_turns,
  :zone_categories)
  SENSITIVE = []
  include Aws::Structure
end

#controlled_access_highwaysBoolean

Avoid controlled access highways while calculating the route.

Returns:

  • (Boolean)


2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2037

class RouteAvoidanceOptions < Struct.new(
  :areas,
  :car_shuttle_trains,
  :controlled_access_highways,
  :dirt_roads,
  :ferries,
  :seasonal_closure,
  :toll_roads,
  :toll_transponders,
  :truck_road_types,
  :tunnels,
  :u_turns,
  :zone_categories)
  SENSITIVE = []
  include Aws::Structure
end

#dirt_roadsBoolean

Avoid dirt roads while calculating the route.

Returns:

  • (Boolean)


2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2037

class RouteAvoidanceOptions < Struct.new(
  :areas,
  :car_shuttle_trains,
  :controlled_access_highways,
  :dirt_roads,
  :ferries,
  :seasonal_closure,
  :toll_roads,
  :toll_transponders,
  :truck_road_types,
  :tunnels,
  :u_turns,
  :zone_categories)
  SENSITIVE = []
  include Aws::Structure
end

#ferriesBoolean

Avoid ferries while calculating the route.

Returns:

  • (Boolean)


2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2037

class RouteAvoidanceOptions < Struct.new(
  :areas,
  :car_shuttle_trains,
  :controlled_access_highways,
  :dirt_roads,
  :ferries,
  :seasonal_closure,
  :toll_roads,
  :toll_transponders,
  :truck_road_types,
  :tunnels,
  :u_turns,
  :zone_categories)
  SENSITIVE = []
  include Aws::Structure
end

#seasonal_closureBoolean

Avoid roads that have seasonal closure while calculating the route.

Returns:

  • (Boolean)


2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2037

class RouteAvoidanceOptions < Struct.new(
  :areas,
  :car_shuttle_trains,
  :controlled_access_highways,
  :dirt_roads,
  :ferries,
  :seasonal_closure,
  :toll_roads,
  :toll_transponders,
  :truck_road_types,
  :tunnels,
  :u_turns,
  :zone_categories)
  SENSITIVE = []
  include Aws::Structure
end

#toll_roadsBoolean

Avoids roads where the specified toll transponders are the only mode of payment.

Returns:

  • (Boolean)


2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2037

class RouteAvoidanceOptions < Struct.new(
  :areas,
  :car_shuttle_trains,
  :controlled_access_highways,
  :dirt_roads,
  :ferries,
  :seasonal_closure,
  :toll_roads,
  :toll_transponders,
  :truck_road_types,
  :tunnels,
  :u_turns,
  :zone_categories)
  SENSITIVE = []
  include Aws::Structure
end

#toll_transpondersBoolean

Avoids roads where the specified toll transponders are the only mode of payment.

Returns:

  • (Boolean)


2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2037

class RouteAvoidanceOptions < Struct.new(
  :areas,
  :car_shuttle_trains,
  :controlled_access_highways,
  :dirt_roads,
  :ferries,
  :seasonal_closure,
  :toll_roads,
  :toll_transponders,
  :truck_road_types,
  :tunnels,
  :u_turns,
  :zone_categories)
  SENSITIVE = []
  include Aws::Structure
end

#truck_road_typesArray<String>

Truck road type identifiers. BK1 through BK4 apply only to Sweden. A2,A4,B2,B4,C,D,ET2,ET4 apply only to Mexico.

There are currently no other supported values as of 26th April 2024.

Returns:

  • (Array<String>)


2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2037

class RouteAvoidanceOptions < Struct.new(
  :areas,
  :car_shuttle_trains,
  :controlled_access_highways,
  :dirt_roads,
  :ferries,
  :seasonal_closure,
  :toll_roads,
  :toll_transponders,
  :truck_road_types,
  :tunnels,
  :u_turns,
  :zone_categories)
  SENSITIVE = []
  include Aws::Structure
end

#tunnelsBoolean

Avoid tunnels while calculating the route.

Returns:

  • (Boolean)


2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2037

class RouteAvoidanceOptions < Struct.new(
  :areas,
  :car_shuttle_trains,
  :controlled_access_highways,
  :dirt_roads,
  :ferries,
  :seasonal_closure,
  :toll_roads,
  :toll_transponders,
  :truck_road_types,
  :tunnels,
  :u_turns,
  :zone_categories)
  SENSITIVE = []
  include Aws::Structure
end

#u_turnsBoolean

Avoid U-turns for calculation on highways and motorways.

Returns:

  • (Boolean)


2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2037

class RouteAvoidanceOptions < Struct.new(
  :areas,
  :car_shuttle_trains,
  :controlled_access_highways,
  :dirt_roads,
  :ferries,
  :seasonal_closure,
  :toll_roads,
  :toll_transponders,
  :truck_road_types,
  :tunnels,
  :u_turns,
  :zone_categories)
  SENSITIVE = []
  include Aws::Structure
end

#zone_categoriesArray<Types::RouteAvoidanceZoneCategory>

Zone categories to be avoided.



2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 2037

class RouteAvoidanceOptions < Struct.new(
  :areas,
  :car_shuttle_trains,
  :controlled_access_highways,
  :dirt_roads,
  :ferries,
  :seasonal_closure,
  :toll_roads,
  :toll_transponders,
  :truck_road_types,
  :tunnels,
  :u_turns,
  :zone_categories)
  SENSITIVE = []
  include Aws::Structure
end