@aws-sdk/client-geo-routes 3.683.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +265 -0
- package/dist-cjs/GeoRoutes.js +21 -0
- package/dist-cjs/GeoRoutesClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/CalculateIsolinesCommand.js +27 -0
- package/dist-cjs/commands/CalculateRouteMatrixCommand.js +27 -0
- package/dist-cjs/commands/CalculateRoutesCommand.js +27 -0
- package/dist-cjs/commands/OptimizeWaypointsCommand.js +27 -0
- package/dist-cjs/commands/SnapToRoadsCommand.js +27 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +10 -0
- package/dist-cjs/models/GeoRoutesServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +1009 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1529 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/GeoRoutes.js +17 -0
- package/dist-es/GeoRoutesClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CalculateIsolinesCommand.js +23 -0
- package/dist-es/commands/CalculateRouteMatrixCommand.js +23 -0
- package/dist-es/commands/CalculateRoutesCommand.js +23 -0
- package/dist-es/commands/OptimizeWaypointsCommand.js +23 -0
- package/dist-es/commands/SnapToRoadsCommand.js +23 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/GeoRoutesServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +927 -0
- package/dist-es/protocols/Aws_restJson1.js +1516 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/GeoRoutes.d.ts +65 -0
- package/dist-types/GeoRoutesClient.d.ts +194 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/CalculateIsolinesCommand.d.ts +315 -0
- package/dist-types/commands/CalculateRouteMatrixCommand.d.ts +281 -0
- package/dist-types/commands/CalculateRoutesCommand.d.ts +969 -0
- package/dist-types/commands/OptimizeWaypointsCommand.d.ts +251 -0
- package/dist-types/commands/SnapToRoadsCommand.d.ts +140 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +33 -0
- package/dist-types/models/GeoRoutesServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +7597 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +47 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/GeoRoutes.d.ts +90 -0
- package/dist-types/ts3.4/GeoRoutesClient.d.ts +148 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/CalculateIsolinesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CalculateRouteMatrixCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CalculateRoutesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/OptimizeWaypointsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SnapToRoadsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +8 -0
- package/dist-types/ts3.4/models/GeoRoutesServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2022 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +65 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,969 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GeoRoutesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GeoRoutesClient";
|
|
4
|
+
import { CalculateRoutesRequest, CalculateRoutesResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CalculateRoutesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CalculateRoutesCommandInput extends CalculateRoutesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CalculateRoutesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CalculateRoutesCommandOutput extends CalculateRoutesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CalculateRoutesCommand_base: {
|
|
25
|
+
new (input: CalculateRoutesCommandInput): import("@smithy/smithy-client").CommandImpl<CalculateRoutesCommandInput, CalculateRoutesCommandOutput, GeoRoutesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CalculateRoutesCommandInput): import("@smithy/smithy-client").CommandImpl<CalculateRoutesCommandInput, CalculateRoutesCommandOutput, GeoRoutesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Calculates a route given the following required parameters:
|
|
31
|
+
* <code>Origin</code> and <code>Destination</code>.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { GeoRoutesClient, CalculateRoutesCommand } from "@aws-sdk/client-geo-routes"; // ES Modules import
|
|
36
|
+
* // const { GeoRoutesClient, CalculateRoutesCommand } = require("@aws-sdk/client-geo-routes"); // CommonJS import
|
|
37
|
+
* const client = new GeoRoutesClient(config);
|
|
38
|
+
* const input = { // CalculateRoutesRequest
|
|
39
|
+
* Allow: { // RouteAllowOptions
|
|
40
|
+
* Hot: true || false,
|
|
41
|
+
* Hov: true || false,
|
|
42
|
+
* },
|
|
43
|
+
* ArrivalTime: "STRING_VALUE",
|
|
44
|
+
* Avoid: { // RouteAvoidanceOptions
|
|
45
|
+
* Areas: [ // RouteAvoidanceAreaList
|
|
46
|
+
* { // RouteAvoidanceArea
|
|
47
|
+
* Except: [ // RouteAvoidanceAreaGeometryList
|
|
48
|
+
* { // RouteAvoidanceAreaGeometry
|
|
49
|
+
* Corridor: { // Corridor
|
|
50
|
+
* LineString: [ // LineString // required
|
|
51
|
+
* [ // Position
|
|
52
|
+
* Number("double"),
|
|
53
|
+
* ],
|
|
54
|
+
* ],
|
|
55
|
+
* Radius: Number("int"), // required
|
|
56
|
+
* },
|
|
57
|
+
* BoundingBox: [ // BoundingBox
|
|
58
|
+
* Number("double"),
|
|
59
|
+
* ],
|
|
60
|
+
* Polygon: [ // LinearRings
|
|
61
|
+
* [ // LinearRing
|
|
62
|
+
* [
|
|
63
|
+
* Number("double"),
|
|
64
|
+
* ],
|
|
65
|
+
* ],
|
|
66
|
+
* ],
|
|
67
|
+
* PolylineCorridor: { // PolylineCorridor
|
|
68
|
+
* Polyline: "STRING_VALUE", // required
|
|
69
|
+
* Radius: Number("int"), // required
|
|
70
|
+
* },
|
|
71
|
+
* PolylinePolygon: [ // PolylineRingList
|
|
72
|
+
* "STRING_VALUE",
|
|
73
|
+
* ],
|
|
74
|
+
* },
|
|
75
|
+
* ],
|
|
76
|
+
* Geometry: {
|
|
77
|
+
* Corridor: {
|
|
78
|
+
* LineString: [ // required
|
|
79
|
+
* [
|
|
80
|
+
* Number("double"),
|
|
81
|
+
* ],
|
|
82
|
+
* ],
|
|
83
|
+
* Radius: Number("int"), // required
|
|
84
|
+
* },
|
|
85
|
+
* BoundingBox: [
|
|
86
|
+
* Number("double"),
|
|
87
|
+
* ],
|
|
88
|
+
* Polygon: [
|
|
89
|
+
* [
|
|
90
|
+
* [
|
|
91
|
+
* Number("double"),
|
|
92
|
+
* ],
|
|
93
|
+
* ],
|
|
94
|
+
* ],
|
|
95
|
+
* PolylineCorridor: {
|
|
96
|
+
* Polyline: "STRING_VALUE", // required
|
|
97
|
+
* Radius: Number("int"), // required
|
|
98
|
+
* },
|
|
99
|
+
* PolylinePolygon: [
|
|
100
|
+
* "STRING_VALUE",
|
|
101
|
+
* ],
|
|
102
|
+
* },
|
|
103
|
+
* },
|
|
104
|
+
* ],
|
|
105
|
+
* CarShuttleTrains: true || false,
|
|
106
|
+
* ControlledAccessHighways: true || false,
|
|
107
|
+
* DirtRoads: true || false,
|
|
108
|
+
* Ferries: true || false,
|
|
109
|
+
* SeasonalClosure: true || false,
|
|
110
|
+
* TollRoads: true || false,
|
|
111
|
+
* TollTransponders: true || false,
|
|
112
|
+
* TruckRoadTypes: [ // TruckRoadTypeList
|
|
113
|
+
* "STRING_VALUE",
|
|
114
|
+
* ],
|
|
115
|
+
* Tunnels: true || false,
|
|
116
|
+
* UTurns: true || false,
|
|
117
|
+
* ZoneCategories: [ // RouteAvoidanceZoneCategoryList
|
|
118
|
+
* { // RouteAvoidanceZoneCategory
|
|
119
|
+
* Category: "STRING_VALUE", // required
|
|
120
|
+
* },
|
|
121
|
+
* ],
|
|
122
|
+
* },
|
|
123
|
+
* DepartNow: true || false,
|
|
124
|
+
* DepartureTime: "STRING_VALUE",
|
|
125
|
+
* Destination: "<Position>", // required
|
|
126
|
+
* DestinationOptions: { // RouteDestinationOptions
|
|
127
|
+
* AvoidActionsForDistance: Number("long"),
|
|
128
|
+
* AvoidUTurns: true || false,
|
|
129
|
+
* Heading: Number("double"),
|
|
130
|
+
* Matching: { // RouteMatchingOptions
|
|
131
|
+
* NameHint: "STRING_VALUE",
|
|
132
|
+
* OnRoadThreshold: Number("long"),
|
|
133
|
+
* Radius: Number("long"),
|
|
134
|
+
* Strategy: "STRING_VALUE",
|
|
135
|
+
* },
|
|
136
|
+
* SideOfStreet: { // RouteSideOfStreetOptions
|
|
137
|
+
* Position: "<Position>", // required
|
|
138
|
+
* UseWith: "STRING_VALUE",
|
|
139
|
+
* },
|
|
140
|
+
* StopDuration: Number("long"),
|
|
141
|
+
* },
|
|
142
|
+
* Driver: { // RouteDriverOptions
|
|
143
|
+
* Schedule: [ // RouteDriverScheduleIntervalList
|
|
144
|
+
* { // RouteDriverScheduleInterval
|
|
145
|
+
* DriveDuration: Number("long"), // required
|
|
146
|
+
* RestDuration: Number("long"), // required
|
|
147
|
+
* },
|
|
148
|
+
* ],
|
|
149
|
+
* },
|
|
150
|
+
* Exclude: { // RouteExclusionOptions
|
|
151
|
+
* Countries: [ // CountryCodeList // required
|
|
152
|
+
* "STRING_VALUE",
|
|
153
|
+
* ],
|
|
154
|
+
* },
|
|
155
|
+
* InstructionsMeasurementSystem: "STRING_VALUE",
|
|
156
|
+
* Key: "STRING_VALUE",
|
|
157
|
+
* Languages: [ // LanguageTagList
|
|
158
|
+
* "STRING_VALUE",
|
|
159
|
+
* ],
|
|
160
|
+
* LegAdditionalFeatures: [ // RouteLegAdditionalFeatureList
|
|
161
|
+
* "STRING_VALUE",
|
|
162
|
+
* ],
|
|
163
|
+
* LegGeometryFormat: "STRING_VALUE",
|
|
164
|
+
* MaxAlternatives: Number("int"),
|
|
165
|
+
* OptimizeRoutingFor: "STRING_VALUE",
|
|
166
|
+
* Origin: "<Position>", // required
|
|
167
|
+
* OriginOptions: { // RouteOriginOptions
|
|
168
|
+
* AvoidActionsForDistance: Number("long"),
|
|
169
|
+
* AvoidUTurns: true || false,
|
|
170
|
+
* Heading: Number("double"),
|
|
171
|
+
* Matching: {
|
|
172
|
+
* NameHint: "STRING_VALUE",
|
|
173
|
+
* OnRoadThreshold: Number("long"),
|
|
174
|
+
* Radius: Number("long"),
|
|
175
|
+
* Strategy: "STRING_VALUE",
|
|
176
|
+
* },
|
|
177
|
+
* SideOfStreet: {
|
|
178
|
+
* Position: "<Position>", // required
|
|
179
|
+
* UseWith: "STRING_VALUE",
|
|
180
|
+
* },
|
|
181
|
+
* },
|
|
182
|
+
* SpanAdditionalFeatures: [ // RouteSpanAdditionalFeatureList
|
|
183
|
+
* "STRING_VALUE",
|
|
184
|
+
* ],
|
|
185
|
+
* Tolls: { // RouteTollOptions
|
|
186
|
+
* AllTransponders: true || false,
|
|
187
|
+
* AllVignettes: true || false,
|
|
188
|
+
* Currency: "STRING_VALUE",
|
|
189
|
+
* EmissionType: { // RouteEmissionType
|
|
190
|
+
* Co2EmissionClass: "STRING_VALUE",
|
|
191
|
+
* Type: "STRING_VALUE", // required
|
|
192
|
+
* },
|
|
193
|
+
* VehicleCategory: "STRING_VALUE",
|
|
194
|
+
* },
|
|
195
|
+
* Traffic: { // RouteTrafficOptions
|
|
196
|
+
* FlowEventThresholdOverride: Number("long"),
|
|
197
|
+
* Usage: "STRING_VALUE",
|
|
198
|
+
* },
|
|
199
|
+
* TravelMode: "STRING_VALUE",
|
|
200
|
+
* TravelModeOptions: { // RouteTravelModeOptions
|
|
201
|
+
* Car: { // RouteCarOptions
|
|
202
|
+
* EngineType: "STRING_VALUE",
|
|
203
|
+
* LicensePlate: { // RouteVehicleLicensePlate
|
|
204
|
+
* LastCharacter: "STRING_VALUE",
|
|
205
|
+
* },
|
|
206
|
+
* MaxSpeed: Number("double"),
|
|
207
|
+
* Occupancy: Number("int"),
|
|
208
|
+
* },
|
|
209
|
+
* Pedestrian: { // RoutePedestrianOptions
|
|
210
|
+
* Speed: Number("double"),
|
|
211
|
+
* },
|
|
212
|
+
* Scooter: { // RouteScooterOptions
|
|
213
|
+
* EngineType: "STRING_VALUE",
|
|
214
|
+
* LicensePlate: {
|
|
215
|
+
* LastCharacter: "STRING_VALUE",
|
|
216
|
+
* },
|
|
217
|
+
* MaxSpeed: Number("double"),
|
|
218
|
+
* Occupancy: Number("int"),
|
|
219
|
+
* },
|
|
220
|
+
* Truck: { // RouteTruckOptions
|
|
221
|
+
* AxleCount: Number("int"),
|
|
222
|
+
* EngineType: "STRING_VALUE",
|
|
223
|
+
* GrossWeight: Number("long"),
|
|
224
|
+
* HazardousCargos: [ // RouteHazardousCargoTypeList
|
|
225
|
+
* "STRING_VALUE",
|
|
226
|
+
* ],
|
|
227
|
+
* Height: Number("long"),
|
|
228
|
+
* HeightAboveFirstAxle: Number("long"),
|
|
229
|
+
* KpraLength: Number("long"),
|
|
230
|
+
* Length: Number("long"),
|
|
231
|
+
* LicensePlate: {
|
|
232
|
+
* LastCharacter: "STRING_VALUE",
|
|
233
|
+
* },
|
|
234
|
+
* MaxSpeed: Number("double"),
|
|
235
|
+
* Occupancy: Number("int"),
|
|
236
|
+
* PayloadCapacity: Number("long"),
|
|
237
|
+
* TireCount: Number("int"),
|
|
238
|
+
* Trailer: { // RouteTrailerOptions
|
|
239
|
+
* AxleCount: Number("int"),
|
|
240
|
+
* TrailerCount: Number("int"),
|
|
241
|
+
* },
|
|
242
|
+
* TruckType: "STRING_VALUE",
|
|
243
|
+
* TunnelRestrictionCode: "STRING_VALUE",
|
|
244
|
+
* WeightPerAxle: Number("long"),
|
|
245
|
+
* WeightPerAxleGroup: { // WeightPerAxleGroup
|
|
246
|
+
* Single: Number("long"),
|
|
247
|
+
* Tandem: Number("long"),
|
|
248
|
+
* Triple: Number("long"),
|
|
249
|
+
* Quad: Number("long"),
|
|
250
|
+
* Quint: Number("long"),
|
|
251
|
+
* },
|
|
252
|
+
* Width: Number("long"),
|
|
253
|
+
* },
|
|
254
|
+
* },
|
|
255
|
+
* TravelStepType: "STRING_VALUE",
|
|
256
|
+
* Waypoints: [ // RouteWaypointList
|
|
257
|
+
* { // RouteWaypoint
|
|
258
|
+
* AvoidActionsForDistance: Number("long"),
|
|
259
|
+
* AvoidUTurns: true || false,
|
|
260
|
+
* Heading: Number("double"),
|
|
261
|
+
* Matching: {
|
|
262
|
+
* NameHint: "STRING_VALUE",
|
|
263
|
+
* OnRoadThreshold: Number("long"),
|
|
264
|
+
* Radius: Number("long"),
|
|
265
|
+
* Strategy: "STRING_VALUE",
|
|
266
|
+
* },
|
|
267
|
+
* PassThrough: true || false,
|
|
268
|
+
* Position: "<Position>", // required
|
|
269
|
+
* SideOfStreet: {
|
|
270
|
+
* Position: "<Position>", // required
|
|
271
|
+
* UseWith: "STRING_VALUE",
|
|
272
|
+
* },
|
|
273
|
+
* StopDuration: Number("long"),
|
|
274
|
+
* },
|
|
275
|
+
* ],
|
|
276
|
+
* };
|
|
277
|
+
* const command = new CalculateRoutesCommand(input);
|
|
278
|
+
* const response = await client.send(command);
|
|
279
|
+
* // { // CalculateRoutesResponse
|
|
280
|
+
* // LegGeometryFormat: "STRING_VALUE", // required
|
|
281
|
+
* // Notices: [ // RouteResponseNoticeList // required
|
|
282
|
+
* // { // RouteResponseNotice
|
|
283
|
+
* // Code: "STRING_VALUE", // required
|
|
284
|
+
* // Impact: "STRING_VALUE",
|
|
285
|
+
* // },
|
|
286
|
+
* // ],
|
|
287
|
+
* // PricingBucket: "STRING_VALUE", // required
|
|
288
|
+
* // Routes: [ // RouteList // required
|
|
289
|
+
* // { // Route
|
|
290
|
+
* // Legs: [ // RouteLegList // required
|
|
291
|
+
* // { // RouteLeg
|
|
292
|
+
* // FerryLegDetails: { // RouteFerryLegDetails
|
|
293
|
+
* // AfterTravelSteps: [ // RouteFerryAfterTravelStepList // required
|
|
294
|
+
* // { // RouteFerryAfterTravelStep
|
|
295
|
+
* // Duration: Number("long"), // required
|
|
296
|
+
* // Instruction: "STRING_VALUE",
|
|
297
|
+
* // Type: "STRING_VALUE", // required
|
|
298
|
+
* // },
|
|
299
|
+
* // ],
|
|
300
|
+
* // Arrival: { // RouteFerryArrival
|
|
301
|
+
* // Place: { // RouteFerryPlace
|
|
302
|
+
* // Name: "STRING_VALUE",
|
|
303
|
+
* // OriginalPosition: [ // Position23
|
|
304
|
+
* // Number("double"),
|
|
305
|
+
* // ],
|
|
306
|
+
* // Position: [ // required
|
|
307
|
+
* // Number("double"),
|
|
308
|
+
* // ],
|
|
309
|
+
* // WaypointIndex: Number("int"),
|
|
310
|
+
* // },
|
|
311
|
+
* // Time: "STRING_VALUE",
|
|
312
|
+
* // },
|
|
313
|
+
* // BeforeTravelSteps: [ // RouteFerryBeforeTravelStepList // required
|
|
314
|
+
* // { // RouteFerryBeforeTravelStep
|
|
315
|
+
* // Duration: Number("long"), // required
|
|
316
|
+
* // Instruction: "STRING_VALUE",
|
|
317
|
+
* // Type: "STRING_VALUE", // required
|
|
318
|
+
* // },
|
|
319
|
+
* // ],
|
|
320
|
+
* // Departure: { // RouteFerryDeparture
|
|
321
|
+
* // Place: {
|
|
322
|
+
* // Name: "STRING_VALUE",
|
|
323
|
+
* // OriginalPosition: [
|
|
324
|
+
* // Number("double"),
|
|
325
|
+
* // ],
|
|
326
|
+
* // Position: [ // required
|
|
327
|
+
* // Number("double"),
|
|
328
|
+
* // ],
|
|
329
|
+
* // WaypointIndex: Number("int"),
|
|
330
|
+
* // },
|
|
331
|
+
* // Time: "STRING_VALUE",
|
|
332
|
+
* // },
|
|
333
|
+
* // Notices: [ // RouteFerryNoticeList // required
|
|
334
|
+
* // { // RouteFerryNotice
|
|
335
|
+
* // Code: "STRING_VALUE", // required
|
|
336
|
+
* // Impact: "STRING_VALUE",
|
|
337
|
+
* // },
|
|
338
|
+
* // ],
|
|
339
|
+
* // PassThroughWaypoints: [ // RoutePassThroughWaypointList // required
|
|
340
|
+
* // { // RoutePassThroughWaypoint
|
|
341
|
+
* // GeometryOffset: Number("int"),
|
|
342
|
+
* // Place: { // RoutePassThroughPlace
|
|
343
|
+
* // OriginalPosition: [
|
|
344
|
+
* // Number("double"),
|
|
345
|
+
* // ],
|
|
346
|
+
* // Position: "<Position23>", // required
|
|
347
|
+
* // WaypointIndex: Number("int"),
|
|
348
|
+
* // },
|
|
349
|
+
* // },
|
|
350
|
+
* // ],
|
|
351
|
+
* // RouteName: "STRING_VALUE",
|
|
352
|
+
* // Spans: [ // RouteFerrySpanList // required
|
|
353
|
+
* // { // RouteFerrySpan
|
|
354
|
+
* // Country: "STRING_VALUE",
|
|
355
|
+
* // Distance: Number("long"),
|
|
356
|
+
* // Duration: Number("long"),
|
|
357
|
+
* // GeometryOffset: Number("int"),
|
|
358
|
+
* // Names: [ // LocalizedStringList
|
|
359
|
+
* // { // LocalizedString
|
|
360
|
+
* // Language: "STRING_VALUE",
|
|
361
|
+
* // Value: "STRING_VALUE", // required
|
|
362
|
+
* // },
|
|
363
|
+
* // ],
|
|
364
|
+
* // Region: "STRING_VALUE",
|
|
365
|
+
* // },
|
|
366
|
+
* // ],
|
|
367
|
+
* // Summary: { // RouteFerrySummary
|
|
368
|
+
* // Overview: { // RouteFerryOverviewSummary
|
|
369
|
+
* // Distance: Number("long"), // required
|
|
370
|
+
* // Duration: Number("long"), // required
|
|
371
|
+
* // },
|
|
372
|
+
* // TravelOnly: { // RouteFerryTravelOnlySummary
|
|
373
|
+
* // Duration: Number("long"), // required
|
|
374
|
+
* // },
|
|
375
|
+
* // },
|
|
376
|
+
* // TravelSteps: [ // RouteFerryTravelStepList // required
|
|
377
|
+
* // { // RouteFerryTravelStep
|
|
378
|
+
* // Distance: Number("long"),
|
|
379
|
+
* // Duration: Number("long"), // required
|
|
380
|
+
* // GeometryOffset: Number("int"),
|
|
381
|
+
* // Instruction: "STRING_VALUE",
|
|
382
|
+
* // Type: "STRING_VALUE", // required
|
|
383
|
+
* // },
|
|
384
|
+
* // ],
|
|
385
|
+
* // },
|
|
386
|
+
* // Geometry: { // RouteLegGeometry
|
|
387
|
+
* // LineString: [ // LineString
|
|
388
|
+
* // [ // Position
|
|
389
|
+
* // Number("double"),
|
|
390
|
+
* // ],
|
|
391
|
+
* // ],
|
|
392
|
+
* // Polyline: "STRING_VALUE",
|
|
393
|
+
* // },
|
|
394
|
+
* // Language: "STRING_VALUE",
|
|
395
|
+
* // PedestrianLegDetails: { // RoutePedestrianLegDetails
|
|
396
|
+
* // Arrival: { // RoutePedestrianArrival
|
|
397
|
+
* // Place: { // RoutePedestrianPlace
|
|
398
|
+
* // Name: "STRING_VALUE",
|
|
399
|
+
* // OriginalPosition: "<Position23>",
|
|
400
|
+
* // Position: "<Position23>", // required
|
|
401
|
+
* // SideOfStreet: "STRING_VALUE",
|
|
402
|
+
* // WaypointIndex: Number("int"),
|
|
403
|
+
* // },
|
|
404
|
+
* // Time: "STRING_VALUE",
|
|
405
|
+
* // },
|
|
406
|
+
* // Departure: { // RoutePedestrianDeparture
|
|
407
|
+
* // Place: {
|
|
408
|
+
* // Name: "STRING_VALUE",
|
|
409
|
+
* // OriginalPosition: "<Position23>",
|
|
410
|
+
* // Position: "<Position23>", // required
|
|
411
|
+
* // SideOfStreet: "STRING_VALUE",
|
|
412
|
+
* // WaypointIndex: Number("int"),
|
|
413
|
+
* // },
|
|
414
|
+
* // Time: "STRING_VALUE",
|
|
415
|
+
* // },
|
|
416
|
+
* // Notices: [ // RoutePedestrianNoticeList // required
|
|
417
|
+
* // { // RoutePedestrianNotice
|
|
418
|
+
* // Code: "STRING_VALUE", // required
|
|
419
|
+
* // Impact: "STRING_VALUE",
|
|
420
|
+
* // },
|
|
421
|
+
* // ],
|
|
422
|
+
* // PassThroughWaypoints: [ // required
|
|
423
|
+
* // {
|
|
424
|
+
* // GeometryOffset: Number("int"),
|
|
425
|
+
* // Place: {
|
|
426
|
+
* // OriginalPosition: "<Position23>",
|
|
427
|
+
* // Position: "<Position23>", // required
|
|
428
|
+
* // WaypointIndex: Number("int"),
|
|
429
|
+
* // },
|
|
430
|
+
* // },
|
|
431
|
+
* // ],
|
|
432
|
+
* // Spans: [ // RoutePedestrianSpanList // required
|
|
433
|
+
* // { // RoutePedestrianSpan
|
|
434
|
+
* // BestCaseDuration: Number("long"),
|
|
435
|
+
* // Country: "STRING_VALUE",
|
|
436
|
+
* // Distance: Number("long"),
|
|
437
|
+
* // Duration: Number("long"),
|
|
438
|
+
* // DynamicSpeed: { // RouteSpanDynamicSpeedDetails
|
|
439
|
+
* // BestCaseSpeed: Number("double"),
|
|
440
|
+
* // TurnDuration: Number("long"),
|
|
441
|
+
* // TypicalSpeed: Number("double"),
|
|
442
|
+
* // },
|
|
443
|
+
* // FunctionalClassification: Number("int"),
|
|
444
|
+
* // GeometryOffset: Number("int"),
|
|
445
|
+
* // Incidents: [ // IndexList
|
|
446
|
+
* // Number("int"),
|
|
447
|
+
* // ],
|
|
448
|
+
* // Names: [
|
|
449
|
+
* // {
|
|
450
|
+
* // Language: "STRING_VALUE",
|
|
451
|
+
* // Value: "STRING_VALUE", // required
|
|
452
|
+
* // },
|
|
453
|
+
* // ],
|
|
454
|
+
* // PedestrianAccess: [ // RouteSpanPedestrianAccessAttributeList
|
|
455
|
+
* // "STRING_VALUE",
|
|
456
|
+
* // ],
|
|
457
|
+
* // Region: "STRING_VALUE",
|
|
458
|
+
* // RoadAttributes: [ // RouteSpanRoadAttributeList
|
|
459
|
+
* // "STRING_VALUE",
|
|
460
|
+
* // ],
|
|
461
|
+
* // RouteNumbers: [ // RouteNumberList
|
|
462
|
+
* // { // RouteNumber
|
|
463
|
+
* // Direction: "STRING_VALUE",
|
|
464
|
+
* // Language: "STRING_VALUE",
|
|
465
|
+
* // Value: "STRING_VALUE", // required
|
|
466
|
+
* // },
|
|
467
|
+
* // ],
|
|
468
|
+
* // SpeedLimit: { // RouteSpanSpeedLimitDetails
|
|
469
|
+
* // MaxSpeed: Number("double"),
|
|
470
|
+
* // Unlimited: true || false,
|
|
471
|
+
* // },
|
|
472
|
+
* // TypicalDuration: Number("long"),
|
|
473
|
+
* // },
|
|
474
|
+
* // ],
|
|
475
|
+
* // Summary: { // RoutePedestrianSummary
|
|
476
|
+
* // Overview: { // RoutePedestrianOverviewSummary
|
|
477
|
+
* // Distance: Number("long"), // required
|
|
478
|
+
* // Duration: Number("long"), // required
|
|
479
|
+
* // },
|
|
480
|
+
* // TravelOnly: { // RoutePedestrianTravelOnlySummary
|
|
481
|
+
* // Duration: Number("long"), // required
|
|
482
|
+
* // },
|
|
483
|
+
* // },
|
|
484
|
+
* // TravelSteps: [ // RoutePedestrianTravelStepList // required
|
|
485
|
+
* // { // RoutePedestrianTravelStep
|
|
486
|
+
* // ContinueStepDetails: { // RouteContinueStepDetails
|
|
487
|
+
* // Intersection: [ // required
|
|
488
|
+
* // {
|
|
489
|
+
* // Language: "STRING_VALUE",
|
|
490
|
+
* // Value: "STRING_VALUE", // required
|
|
491
|
+
* // },
|
|
492
|
+
* // ],
|
|
493
|
+
* // },
|
|
494
|
+
* // CurrentRoad: { // RouteRoad
|
|
495
|
+
* // RoadName: [ // required
|
|
496
|
+
* // {
|
|
497
|
+
* // Language: "STRING_VALUE",
|
|
498
|
+
* // Value: "STRING_VALUE", // required
|
|
499
|
+
* // },
|
|
500
|
+
* // ],
|
|
501
|
+
* // RouteNumber: [ // required
|
|
502
|
+
* // {
|
|
503
|
+
* // Direction: "STRING_VALUE",
|
|
504
|
+
* // Language: "STRING_VALUE",
|
|
505
|
+
* // Value: "STRING_VALUE", // required
|
|
506
|
+
* // },
|
|
507
|
+
* // ],
|
|
508
|
+
* // Towards: [ // required
|
|
509
|
+
* // {
|
|
510
|
+
* // Language: "STRING_VALUE",
|
|
511
|
+
* // Value: "STRING_VALUE", // required
|
|
512
|
+
* // },
|
|
513
|
+
* // ],
|
|
514
|
+
* // Type: "STRING_VALUE",
|
|
515
|
+
* // },
|
|
516
|
+
* // Distance: Number("long"),
|
|
517
|
+
* // Duration: Number("long"), // required
|
|
518
|
+
* // ExitNumber: "<LocalizedStringList>",
|
|
519
|
+
* // GeometryOffset: Number("int"),
|
|
520
|
+
* // Instruction: "STRING_VALUE",
|
|
521
|
+
* // KeepStepDetails: { // RouteKeepStepDetails
|
|
522
|
+
* // Intersection: "<LocalizedStringList>", // required
|
|
523
|
+
* // SteeringDirection: "STRING_VALUE",
|
|
524
|
+
* // TurnAngle: Number("double"),
|
|
525
|
+
* // TurnIntensity: "STRING_VALUE",
|
|
526
|
+
* // },
|
|
527
|
+
* // NextRoad: {
|
|
528
|
+
* // RoadName: "<LocalizedStringList>", // required
|
|
529
|
+
* // RouteNumber: [ // required
|
|
530
|
+
* // {
|
|
531
|
+
* // Direction: "STRING_VALUE",
|
|
532
|
+
* // Language: "STRING_VALUE",
|
|
533
|
+
* // Value: "STRING_VALUE", // required
|
|
534
|
+
* // },
|
|
535
|
+
* // ],
|
|
536
|
+
* // Towards: "<LocalizedStringList>", // required
|
|
537
|
+
* // Type: "STRING_VALUE",
|
|
538
|
+
* // },
|
|
539
|
+
* // RoundaboutEnterStepDetails: { // RouteRoundaboutEnterStepDetails
|
|
540
|
+
* // Intersection: "<LocalizedStringList>", // required
|
|
541
|
+
* // SteeringDirection: "STRING_VALUE",
|
|
542
|
+
* // TurnAngle: Number("double"),
|
|
543
|
+
* // TurnIntensity: "STRING_VALUE",
|
|
544
|
+
* // },
|
|
545
|
+
* // RoundaboutExitStepDetails: { // RouteRoundaboutExitStepDetails
|
|
546
|
+
* // Intersection: "<LocalizedStringList>", // required
|
|
547
|
+
* // RelativeExit: Number("int"),
|
|
548
|
+
* // RoundaboutAngle: Number("double"),
|
|
549
|
+
* // SteeringDirection: "STRING_VALUE",
|
|
550
|
+
* // },
|
|
551
|
+
* // RoundaboutPassStepDetails: { // RouteRoundaboutPassStepDetails
|
|
552
|
+
* // Intersection: "<LocalizedStringList>", // required
|
|
553
|
+
* // SteeringDirection: "STRING_VALUE",
|
|
554
|
+
* // TurnAngle: Number("double"),
|
|
555
|
+
* // TurnIntensity: "STRING_VALUE",
|
|
556
|
+
* // },
|
|
557
|
+
* // Signpost: { // RouteSignpost
|
|
558
|
+
* // Labels: [ // RouteSignpostLabelList // required
|
|
559
|
+
* // { // RouteSignpostLabel
|
|
560
|
+
* // RouteNumber: "<RouteNumber>",
|
|
561
|
+
* // Text: "<LocalizedString>",
|
|
562
|
+
* // },
|
|
563
|
+
* // ],
|
|
564
|
+
* // },
|
|
565
|
+
* // TurnStepDetails: { // RouteTurnStepDetails
|
|
566
|
+
* // Intersection: "<LocalizedStringList>", // required
|
|
567
|
+
* // SteeringDirection: "STRING_VALUE",
|
|
568
|
+
* // TurnAngle: Number("double"),
|
|
569
|
+
* // TurnIntensity: "STRING_VALUE",
|
|
570
|
+
* // },
|
|
571
|
+
* // Type: "STRING_VALUE", // required
|
|
572
|
+
* // },
|
|
573
|
+
* // ],
|
|
574
|
+
* // },
|
|
575
|
+
* // TravelMode: "STRING_VALUE", // required
|
|
576
|
+
* // Type: "STRING_VALUE", // required
|
|
577
|
+
* // VehicleLegDetails: { // RouteVehicleLegDetails
|
|
578
|
+
* // Arrival: { // RouteVehicleArrival
|
|
579
|
+
* // Place: { // RouteVehiclePlace
|
|
580
|
+
* // Name: "STRING_VALUE",
|
|
581
|
+
* // OriginalPosition: "<Position23>",
|
|
582
|
+
* // Position: "<Position23>", // required
|
|
583
|
+
* // SideOfStreet: "STRING_VALUE",
|
|
584
|
+
* // WaypointIndex: Number("int"),
|
|
585
|
+
* // },
|
|
586
|
+
* // Time: "STRING_VALUE",
|
|
587
|
+
* // },
|
|
588
|
+
* // Departure: { // RouteVehicleDeparture
|
|
589
|
+
* // Place: {
|
|
590
|
+
* // Name: "STRING_VALUE",
|
|
591
|
+
* // OriginalPosition: "<Position23>",
|
|
592
|
+
* // Position: "<Position23>", // required
|
|
593
|
+
* // SideOfStreet: "STRING_VALUE",
|
|
594
|
+
* // WaypointIndex: Number("int"),
|
|
595
|
+
* // },
|
|
596
|
+
* // Time: "STRING_VALUE",
|
|
597
|
+
* // },
|
|
598
|
+
* // Incidents: [ // RouteVehicleIncidentList // required
|
|
599
|
+
* // { // RouteVehicleIncident
|
|
600
|
+
* // Description: "STRING_VALUE",
|
|
601
|
+
* // EndTime: "STRING_VALUE",
|
|
602
|
+
* // Severity: "STRING_VALUE",
|
|
603
|
+
* // StartTime: "STRING_VALUE",
|
|
604
|
+
* // Type: "STRING_VALUE",
|
|
605
|
+
* // },
|
|
606
|
+
* // ],
|
|
607
|
+
* // Notices: [ // RouteVehicleNoticeList // required
|
|
608
|
+
* // { // RouteVehicleNotice
|
|
609
|
+
* // Code: "STRING_VALUE", // required
|
|
610
|
+
* // Details: [ // RouteVehicleNoticeDetailList // required
|
|
611
|
+
* // { // RouteVehicleNoticeDetail
|
|
612
|
+
* // Title: "STRING_VALUE",
|
|
613
|
+
* // ViolatedConstraints: { // RouteViolatedConstraints
|
|
614
|
+
* // AllHazardsRestricted: true || false,
|
|
615
|
+
* // AxleCount: { // RouteNoticeDetailRange
|
|
616
|
+
* // Min: Number("int"),
|
|
617
|
+
* // Max: Number("int"),
|
|
618
|
+
* // },
|
|
619
|
+
* // HazardousCargos: [ // RouteHazardousCargoTypeList // required
|
|
620
|
+
* // "STRING_VALUE",
|
|
621
|
+
* // ],
|
|
622
|
+
* // MaxHeight: Number("long"),
|
|
623
|
+
* // MaxKpraLength: Number("long"),
|
|
624
|
+
* // MaxLength: Number("long"),
|
|
625
|
+
* // MaxPayloadCapacity: Number("long"),
|
|
626
|
+
* // MaxWeight: { // RouteWeightConstraint
|
|
627
|
+
* // Type: "STRING_VALUE", // required
|
|
628
|
+
* // Value: Number("long"), // required
|
|
629
|
+
* // },
|
|
630
|
+
* // MaxWeightPerAxle: Number("long"),
|
|
631
|
+
* // MaxWeightPerAxleGroup: { // WeightPerAxleGroup
|
|
632
|
+
* // Single: Number("long"),
|
|
633
|
+
* // Tandem: Number("long"),
|
|
634
|
+
* // Triple: Number("long"),
|
|
635
|
+
* // Quad: Number("long"),
|
|
636
|
+
* // Quint: Number("long"),
|
|
637
|
+
* // },
|
|
638
|
+
* // MaxWidth: Number("long"),
|
|
639
|
+
* // Occupancy: {
|
|
640
|
+
* // Min: Number("int"),
|
|
641
|
+
* // Max: Number("int"),
|
|
642
|
+
* // },
|
|
643
|
+
* // RestrictedTimes: "STRING_VALUE",
|
|
644
|
+
* // TimeDependent: true || false,
|
|
645
|
+
* // TrailerCount: {
|
|
646
|
+
* // Min: Number("int"),
|
|
647
|
+
* // Max: Number("int"),
|
|
648
|
+
* // },
|
|
649
|
+
* // TravelMode: true || false,
|
|
650
|
+
* // TruckRoadType: "STRING_VALUE",
|
|
651
|
+
* // TruckType: "STRING_VALUE",
|
|
652
|
+
* // TunnelRestrictionCode: "STRING_VALUE",
|
|
653
|
+
* // },
|
|
654
|
+
* // },
|
|
655
|
+
* // ],
|
|
656
|
+
* // Impact: "STRING_VALUE",
|
|
657
|
+
* // },
|
|
658
|
+
* // ],
|
|
659
|
+
* // PassThroughWaypoints: [ // required
|
|
660
|
+
* // {
|
|
661
|
+
* // GeometryOffset: Number("int"),
|
|
662
|
+
* // Place: {
|
|
663
|
+
* // OriginalPosition: "<Position23>",
|
|
664
|
+
* // Position: "<Position23>", // required
|
|
665
|
+
* // WaypointIndex: Number("int"),
|
|
666
|
+
* // },
|
|
667
|
+
* // },
|
|
668
|
+
* // ],
|
|
669
|
+
* // Spans: [ // RouteVehicleSpanList // required
|
|
670
|
+
* // { // RouteVehicleSpan
|
|
671
|
+
* // BestCaseDuration: Number("long"),
|
|
672
|
+
* // CarAccess: [ // RouteSpanCarAccessAttributeList
|
|
673
|
+
* // "STRING_VALUE",
|
|
674
|
+
* // ],
|
|
675
|
+
* // Country: "STRING_VALUE",
|
|
676
|
+
* // Distance: Number("long"),
|
|
677
|
+
* // Duration: Number("long"),
|
|
678
|
+
* // DynamicSpeed: {
|
|
679
|
+
* // BestCaseSpeed: Number("double"),
|
|
680
|
+
* // TurnDuration: Number("long"),
|
|
681
|
+
* // TypicalSpeed: Number("double"),
|
|
682
|
+
* // },
|
|
683
|
+
* // FunctionalClassification: Number("int"),
|
|
684
|
+
* // Gate: "STRING_VALUE",
|
|
685
|
+
* // GeometryOffset: Number("int"),
|
|
686
|
+
* // Incidents: [
|
|
687
|
+
* // Number("int"),
|
|
688
|
+
* // ],
|
|
689
|
+
* // Names: "<LocalizedStringList>",
|
|
690
|
+
* // Notices: [
|
|
691
|
+
* // Number("int"),
|
|
692
|
+
* // ],
|
|
693
|
+
* // RailwayCrossing: "STRING_VALUE",
|
|
694
|
+
* // Region: "STRING_VALUE",
|
|
695
|
+
* // RoadAttributes: [
|
|
696
|
+
* // "STRING_VALUE",
|
|
697
|
+
* // ],
|
|
698
|
+
* // RouteNumbers: [
|
|
699
|
+
* // "<RouteNumber>",
|
|
700
|
+
* // ],
|
|
701
|
+
* // ScooterAccess: [ // RouteSpanScooterAccessAttributeList
|
|
702
|
+
* // "STRING_VALUE",
|
|
703
|
+
* // ],
|
|
704
|
+
* // SpeedLimit: {
|
|
705
|
+
* // MaxSpeed: Number("double"),
|
|
706
|
+
* // Unlimited: true || false,
|
|
707
|
+
* // },
|
|
708
|
+
* // TollSystems: [
|
|
709
|
+
* // Number("int"),
|
|
710
|
+
* // ],
|
|
711
|
+
* // TruckAccess: [ // RouteSpanTruckAccessAttributeList
|
|
712
|
+
* // "STRING_VALUE",
|
|
713
|
+
* // ],
|
|
714
|
+
* // TruckRoadTypes: [
|
|
715
|
+
* // Number("int"),
|
|
716
|
+
* // ],
|
|
717
|
+
* // TypicalDuration: Number("long"),
|
|
718
|
+
* // Zones: "<IndexList>",
|
|
719
|
+
* // },
|
|
720
|
+
* // ],
|
|
721
|
+
* // Summary: { // RouteVehicleSummary
|
|
722
|
+
* // Overview: { // RouteVehicleOverviewSummary
|
|
723
|
+
* // BestCaseDuration: Number("long"),
|
|
724
|
+
* // Distance: Number("long"), // required
|
|
725
|
+
* // Duration: Number("long"), // required
|
|
726
|
+
* // TypicalDuration: Number("long"),
|
|
727
|
+
* // },
|
|
728
|
+
* // TravelOnly: { // RouteVehicleTravelOnlySummary
|
|
729
|
+
* // BestCaseDuration: Number("long"),
|
|
730
|
+
* // Duration: Number("long"), // required
|
|
731
|
+
* // TypicalDuration: Number("long"),
|
|
732
|
+
* // },
|
|
733
|
+
* // },
|
|
734
|
+
* // Tolls: [ // RouteTollList // required
|
|
735
|
+
* // { // RouteToll
|
|
736
|
+
* // Country: "STRING_VALUE",
|
|
737
|
+
* // PaymentSites: [ // RouteTollPaymentSiteList // required
|
|
738
|
+
* // { // RouteTollPaymentSite
|
|
739
|
+
* // Name: "STRING_VALUE",
|
|
740
|
+
* // Position: "<Position23>", // required
|
|
741
|
+
* // },
|
|
742
|
+
* // ],
|
|
743
|
+
* // Rates: [ // RouteTollRateList // required
|
|
744
|
+
* // { // RouteTollRate
|
|
745
|
+
* // ApplicableTimes: "STRING_VALUE",
|
|
746
|
+
* // ConvertedPrice: { // RouteTollPrice
|
|
747
|
+
* // Currency: "STRING_VALUE", // required
|
|
748
|
+
* // Estimate: true || false, // required
|
|
749
|
+
* // PerDuration: Number("long"),
|
|
750
|
+
* // Range: true || false, // required
|
|
751
|
+
* // RangeValue: { // RouteTollPriceValueRange
|
|
752
|
+
* // Min: Number("double"), // required
|
|
753
|
+
* // Max: Number("double"), // required
|
|
754
|
+
* // },
|
|
755
|
+
* // Value: Number("double"), // required
|
|
756
|
+
* // },
|
|
757
|
+
* // Id: "STRING_VALUE", // required
|
|
758
|
+
* // LocalPrice: {
|
|
759
|
+
* // Currency: "STRING_VALUE", // required
|
|
760
|
+
* // Estimate: true || false, // required
|
|
761
|
+
* // PerDuration: Number("long"),
|
|
762
|
+
* // Range: true || false, // required
|
|
763
|
+
* // RangeValue: {
|
|
764
|
+
* // Min: Number("double"), // required
|
|
765
|
+
* // Max: Number("double"), // required
|
|
766
|
+
* // },
|
|
767
|
+
* // Value: Number("double"), // required
|
|
768
|
+
* // },
|
|
769
|
+
* // Name: "STRING_VALUE", // required
|
|
770
|
+
* // Pass: { // RouteTollPass
|
|
771
|
+
* // IncludesReturnTrip: true || false,
|
|
772
|
+
* // SeniorPass: true || false,
|
|
773
|
+
* // TransferCount: Number("int"),
|
|
774
|
+
* // TripCount: Number("int"),
|
|
775
|
+
* // ValidityPeriod: { // RouteTollPassValidityPeriod
|
|
776
|
+
* // Period: "STRING_VALUE", // required
|
|
777
|
+
* // PeriodCount: Number("int"),
|
|
778
|
+
* // },
|
|
779
|
+
* // },
|
|
780
|
+
* // PaymentMethods: [ // RouteTollPaymentMethodList // required
|
|
781
|
+
* // "STRING_VALUE",
|
|
782
|
+
* // ],
|
|
783
|
+
* // Transponders: [ // RouteTransponderList // required
|
|
784
|
+
* // { // RouteTransponder
|
|
785
|
+
* // SystemName: "STRING_VALUE",
|
|
786
|
+
* // },
|
|
787
|
+
* // ],
|
|
788
|
+
* // },
|
|
789
|
+
* // ],
|
|
790
|
+
* // Systems: "<IndexList>", // required
|
|
791
|
+
* // },
|
|
792
|
+
* // ],
|
|
793
|
+
* // TollSystems: [ // RouteTollSystemList // required
|
|
794
|
+
* // { // RouteTollSystem
|
|
795
|
+
* // Name: "STRING_VALUE",
|
|
796
|
+
* // },
|
|
797
|
+
* // ],
|
|
798
|
+
* // TravelSteps: [ // RouteVehicleTravelStepList // required
|
|
799
|
+
* // { // RouteVehicleTravelStep
|
|
800
|
+
* // ContinueHighwayStepDetails: { // RouteContinueHighwayStepDetails
|
|
801
|
+
* // Intersection: "<LocalizedStringList>", // required
|
|
802
|
+
* // SteeringDirection: "STRING_VALUE",
|
|
803
|
+
* // TurnAngle: Number("double"),
|
|
804
|
+
* // TurnIntensity: "STRING_VALUE",
|
|
805
|
+
* // },
|
|
806
|
+
* // ContinueStepDetails: {
|
|
807
|
+
* // Intersection: "<LocalizedStringList>", // required
|
|
808
|
+
* // },
|
|
809
|
+
* // CurrentRoad: {
|
|
810
|
+
* // RoadName: "<LocalizedStringList>", // required
|
|
811
|
+
* // RouteNumber: [ // required
|
|
812
|
+
* // "<RouteNumber>",
|
|
813
|
+
* // ],
|
|
814
|
+
* // Towards: "<LocalizedStringList>", // required
|
|
815
|
+
* // Type: "STRING_VALUE",
|
|
816
|
+
* // },
|
|
817
|
+
* // Distance: Number("long"),
|
|
818
|
+
* // Duration: Number("long"), // required
|
|
819
|
+
* // EnterHighwayStepDetails: { // RouteEnterHighwayStepDetails
|
|
820
|
+
* // Intersection: "<LocalizedStringList>", // required
|
|
821
|
+
* // SteeringDirection: "STRING_VALUE",
|
|
822
|
+
* // TurnAngle: Number("double"),
|
|
823
|
+
* // TurnIntensity: "STRING_VALUE",
|
|
824
|
+
* // },
|
|
825
|
+
* // ExitNumber: "<LocalizedStringList>",
|
|
826
|
+
* // ExitStepDetails: { // RouteExitStepDetails
|
|
827
|
+
* // Intersection: "<LocalizedStringList>", // required
|
|
828
|
+
* // RelativeExit: Number("int"),
|
|
829
|
+
* // SteeringDirection: "STRING_VALUE",
|
|
830
|
+
* // TurnAngle: Number("double"),
|
|
831
|
+
* // TurnIntensity: "STRING_VALUE",
|
|
832
|
+
* // },
|
|
833
|
+
* // GeometryOffset: Number("int"),
|
|
834
|
+
* // Instruction: "STRING_VALUE",
|
|
835
|
+
* // KeepStepDetails: {
|
|
836
|
+
* // Intersection: "<LocalizedStringList>", // required
|
|
837
|
+
* // SteeringDirection: "STRING_VALUE",
|
|
838
|
+
* // TurnAngle: Number("double"),
|
|
839
|
+
* // TurnIntensity: "STRING_VALUE",
|
|
840
|
+
* // },
|
|
841
|
+
* // NextRoad: {
|
|
842
|
+
* // RoadName: "<LocalizedStringList>", // required
|
|
843
|
+
* // RouteNumber: "<RouteNumberList>", // required
|
|
844
|
+
* // Towards: "<LocalizedStringList>", // required
|
|
845
|
+
* // Type: "STRING_VALUE",
|
|
846
|
+
* // },
|
|
847
|
+
* // RampStepDetails: { // RouteRampStepDetails
|
|
848
|
+
* // Intersection: "<LocalizedStringList>", // required
|
|
849
|
+
* // SteeringDirection: "STRING_VALUE",
|
|
850
|
+
* // TurnAngle: Number("double"),
|
|
851
|
+
* // TurnIntensity: "STRING_VALUE",
|
|
852
|
+
* // },
|
|
853
|
+
* // RoundaboutEnterStepDetails: {
|
|
854
|
+
* // Intersection: "<LocalizedStringList>", // required
|
|
855
|
+
* // SteeringDirection: "STRING_VALUE",
|
|
856
|
+
* // TurnAngle: Number("double"),
|
|
857
|
+
* // TurnIntensity: "STRING_VALUE",
|
|
858
|
+
* // },
|
|
859
|
+
* // RoundaboutExitStepDetails: {
|
|
860
|
+
* // Intersection: "<LocalizedStringList>", // required
|
|
861
|
+
* // RelativeExit: Number("int"),
|
|
862
|
+
* // RoundaboutAngle: Number("double"),
|
|
863
|
+
* // SteeringDirection: "STRING_VALUE",
|
|
864
|
+
* // },
|
|
865
|
+
* // RoundaboutPassStepDetails: {
|
|
866
|
+
* // Intersection: "<LocalizedStringList>", // required
|
|
867
|
+
* // SteeringDirection: "STRING_VALUE",
|
|
868
|
+
* // TurnAngle: Number("double"),
|
|
869
|
+
* // TurnIntensity: "STRING_VALUE",
|
|
870
|
+
* // },
|
|
871
|
+
* // Signpost: {
|
|
872
|
+
* // Labels: [ // required
|
|
873
|
+
* // {
|
|
874
|
+
* // RouteNumber: "<RouteNumber>",
|
|
875
|
+
* // Text: "<LocalizedString>",
|
|
876
|
+
* // },
|
|
877
|
+
* // ],
|
|
878
|
+
* // },
|
|
879
|
+
* // TurnStepDetails: {
|
|
880
|
+
* // Intersection: "<LocalizedStringList>", // required
|
|
881
|
+
* // SteeringDirection: "STRING_VALUE",
|
|
882
|
+
* // TurnAngle: Number("double"),
|
|
883
|
+
* // TurnIntensity: "STRING_VALUE",
|
|
884
|
+
* // },
|
|
885
|
+
* // Type: "STRING_VALUE", // required
|
|
886
|
+
* // UTurnStepDetails: { // RouteUTurnStepDetails
|
|
887
|
+
* // Intersection: "<LocalizedStringList>", // required
|
|
888
|
+
* // SteeringDirection: "STRING_VALUE",
|
|
889
|
+
* // TurnAngle: Number("double"),
|
|
890
|
+
* // TurnIntensity: "STRING_VALUE",
|
|
891
|
+
* // },
|
|
892
|
+
* // },
|
|
893
|
+
* // ],
|
|
894
|
+
* // TruckRoadTypes: [ // TruckRoadTypeList // required
|
|
895
|
+
* // "STRING_VALUE",
|
|
896
|
+
* // ],
|
|
897
|
+
* // Zones: [ // RouteZoneList // required
|
|
898
|
+
* // { // RouteZone
|
|
899
|
+
* // Category: "STRING_VALUE",
|
|
900
|
+
* // Name: "STRING_VALUE",
|
|
901
|
+
* // },
|
|
902
|
+
* // ],
|
|
903
|
+
* // },
|
|
904
|
+
* // },
|
|
905
|
+
* // ],
|
|
906
|
+
* // MajorRoadLabels: [ // RouteMajorRoadLabelList // required
|
|
907
|
+
* // { // RouteMajorRoadLabel
|
|
908
|
+
* // RoadName: "<LocalizedString>",
|
|
909
|
+
* // RouteNumber: "<RouteNumber>",
|
|
910
|
+
* // },
|
|
911
|
+
* // ],
|
|
912
|
+
* // Summary: { // RouteSummary
|
|
913
|
+
* // Distance: Number("long"),
|
|
914
|
+
* // Duration: Number("long"),
|
|
915
|
+
* // Tolls: { // RouteTollSummary
|
|
916
|
+
* // Total: { // RouteTollPriceSummary
|
|
917
|
+
* // Currency: "STRING_VALUE", // required
|
|
918
|
+
* // Estimate: true || false, // required
|
|
919
|
+
* // Range: true || false, // required
|
|
920
|
+
* // RangeValue: {
|
|
921
|
+
* // Min: Number("double"), // required
|
|
922
|
+
* // Max: Number("double"), // required
|
|
923
|
+
* // },
|
|
924
|
+
* // Value: Number("double"), // required
|
|
925
|
+
* // },
|
|
926
|
+
* // },
|
|
927
|
+
* // },
|
|
928
|
+
* // },
|
|
929
|
+
* // ],
|
|
930
|
+
* // };
|
|
931
|
+
*
|
|
932
|
+
* ```
|
|
933
|
+
*
|
|
934
|
+
* @param CalculateRoutesCommandInput - {@link CalculateRoutesCommandInput}
|
|
935
|
+
* @returns {@link CalculateRoutesCommandOutput}
|
|
936
|
+
* @see {@link CalculateRoutesCommandInput} for command's `input` shape.
|
|
937
|
+
* @see {@link CalculateRoutesCommandOutput} for command's `response` shape.
|
|
938
|
+
* @see {@link GeoRoutesClientResolvedConfig | config} for GeoRoutesClient's `config` shape.
|
|
939
|
+
*
|
|
940
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
941
|
+
* <p>You don't have sufficient access to perform this action.</p>
|
|
942
|
+
*
|
|
943
|
+
* @throws {@link InternalServerException} (server fault)
|
|
944
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
945
|
+
*
|
|
946
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
947
|
+
* <p>The request was denied due to request throttling.</p>
|
|
948
|
+
*
|
|
949
|
+
* @throws {@link ValidationException} (client fault)
|
|
950
|
+
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
951
|
+
*
|
|
952
|
+
* @throws {@link GeoRoutesServiceException}
|
|
953
|
+
* <p>Base exception class for all service exceptions from GeoRoutes service.</p>
|
|
954
|
+
*
|
|
955
|
+
* @public
|
|
956
|
+
*/
|
|
957
|
+
export declare class CalculateRoutesCommand extends CalculateRoutesCommand_base {
|
|
958
|
+
/** @internal type navigation helper, not in runtime. */
|
|
959
|
+
protected static __types: {
|
|
960
|
+
api: {
|
|
961
|
+
input: CalculateRoutesRequest;
|
|
962
|
+
output: CalculateRoutesResponse;
|
|
963
|
+
};
|
|
964
|
+
sdk: {
|
|
965
|
+
input: CalculateRoutesCommandInput;
|
|
966
|
+
output: CalculateRoutesCommandOutput;
|
|
967
|
+
};
|
|
968
|
+
};
|
|
969
|
+
}
|