@aws-sdk/client-geo-routes 3.934.0 → 3.935.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/dist-cjs/index.js +0 -554
- package/dist-es/index.js +1 -1
- package/dist-es/models/errors.js +63 -0
- package/dist-es/models/models_0.js +0 -63
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +2 -1
- package/dist-types/models/errors.d.ts +67 -0
- package/dist-types/models/models_0.d.ts +0 -66
- package/dist-types/ts3.4/index.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +42 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -38
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -131,65 +131,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends GeoRoutesServi
|
|
|
131
131
|
this.Message = opts.Message;
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
|
-
const IsolineZoneCategory = {
|
|
135
|
-
CONGESTION_PRICING: "CongestionPricing",
|
|
136
|
-
ENVIRONMENTAL: "Environmental",
|
|
137
|
-
VIGNETTE: "Vignette",
|
|
138
|
-
};
|
|
139
|
-
const MatchingStrategy = {
|
|
140
|
-
MATCH_ANY: "MatchAny",
|
|
141
|
-
MATCH_MOST_SIGNIFICANT_ROAD: "MatchMostSignificantRoad",
|
|
142
|
-
};
|
|
143
|
-
const SideOfStreetMatchingStrategy = {
|
|
144
|
-
ANY_STREET: "AnyStreet",
|
|
145
|
-
DIVIDED_STREET_ONLY: "DividedStreetOnly",
|
|
146
|
-
};
|
|
147
|
-
const GeometryFormat = {
|
|
148
|
-
FLEXIBLE_POLYLINE: "FlexiblePolyline",
|
|
149
|
-
SIMPLE: "Simple",
|
|
150
|
-
};
|
|
151
|
-
const IsolineOptimizationObjective = {
|
|
152
|
-
ACCURATE_CALCULATION: "AccurateCalculation",
|
|
153
|
-
BALANCED_CALCULATION: "BalancedCalculation",
|
|
154
|
-
FAST_CALCULATION: "FastCalculation",
|
|
155
|
-
};
|
|
156
|
-
const RoutingObjective = {
|
|
157
|
-
FASTEST_ROUTE: "FastestRoute",
|
|
158
|
-
SHORTEST_ROUTE: "ShortestRoute",
|
|
159
|
-
};
|
|
160
|
-
const TrafficUsage = {
|
|
161
|
-
IGNORE_TRAFFIC_DATA: "IgnoreTrafficData",
|
|
162
|
-
USE_TRAFFIC_DATA: "UseTrafficData",
|
|
163
|
-
};
|
|
164
|
-
const IsolineTravelMode = {
|
|
165
|
-
CAR: "Car",
|
|
166
|
-
PEDESTRIAN: "Pedestrian",
|
|
167
|
-
SCOOTER: "Scooter",
|
|
168
|
-
TRUCK: "Truck",
|
|
169
|
-
};
|
|
170
|
-
const IsolineEngineType$1 = {
|
|
171
|
-
ELECTRIC: "Electric",
|
|
172
|
-
INTERNAL_COMBUSTION: "InternalCombustion",
|
|
173
|
-
PLUGIN_HYBRID: "PluginHybrid",
|
|
174
|
-
};
|
|
175
|
-
const IsolineHazardousCargoType$1 = {
|
|
176
|
-
COMBUSTIBLE: "Combustible",
|
|
177
|
-
CORROSIVE: "Corrosive",
|
|
178
|
-
EXPLOSIVE: "Explosive",
|
|
179
|
-
FLAMMABLE: "Flammable",
|
|
180
|
-
GAS: "Gas",
|
|
181
|
-
HARMFUL_TO_WATER: "HarmfulToWater",
|
|
182
|
-
ORGANIC: "Organic",
|
|
183
|
-
OTHER: "Other",
|
|
184
|
-
POISON: "Poison",
|
|
185
|
-
POISONOUS_INHALATION: "PoisonousInhalation",
|
|
186
|
-
RADIOACTIVE: "Radioactive",
|
|
187
|
-
};
|
|
188
|
-
const IsolineTruckType = {
|
|
189
|
-
LIGHT_TRUCK: "LightTruck",
|
|
190
|
-
STRAIGHT_TRUCK: "StraightTruck",
|
|
191
|
-
TRACTOR: "Tractor",
|
|
192
|
-
};
|
|
193
134
|
let InternalServerException$1 = class InternalServerException extends GeoRoutesServiceException$1 {
|
|
194
135
|
name = "InternalServerException";
|
|
195
136
|
$fault = "server";
|
|
@@ -220,14 +161,6 @@ let ThrottlingException$1 = class ThrottlingException extends GeoRoutesServiceEx
|
|
|
220
161
|
this.Message = opts.Message;
|
|
221
162
|
}
|
|
222
163
|
};
|
|
223
|
-
const ValidationExceptionReason = {
|
|
224
|
-
CANNOT_PARSE: "CannotParse",
|
|
225
|
-
FIELD_VALIDATION_FAILED: "FieldValidationFailed",
|
|
226
|
-
MISSING: "Missing",
|
|
227
|
-
OTHER: "Other",
|
|
228
|
-
UNKNOWN_FIELD: "UnknownField",
|
|
229
|
-
UNKNOWN_OPERATION: "UnknownOperation",
|
|
230
|
-
};
|
|
231
164
|
let ValidationException$1 = class ValidationException extends GeoRoutesServiceException$1 {
|
|
232
165
|
name = "ValidationException";
|
|
233
166
|
$fault = "client";
|
|
@@ -246,426 +179,6 @@ let ValidationException$1 = class ValidationException extends GeoRoutesServiceEx
|
|
|
246
179
|
this.FieldList = opts.FieldList;
|
|
247
180
|
}
|
|
248
181
|
};
|
|
249
|
-
const RouteMatrixZoneCategory$1 = {
|
|
250
|
-
CONGESTION_PRICING: "CongestionPricing",
|
|
251
|
-
ENVIRONMENTAL: "Environmental",
|
|
252
|
-
VIGNETTE: "Vignette",
|
|
253
|
-
};
|
|
254
|
-
const RouteMatrixTravelMode = {
|
|
255
|
-
CAR: "Car",
|
|
256
|
-
PEDESTRIAN: "Pedestrian",
|
|
257
|
-
SCOOTER: "Scooter",
|
|
258
|
-
TRUCK: "Truck",
|
|
259
|
-
};
|
|
260
|
-
const RouteMatrixHazardousCargoType$1 = {
|
|
261
|
-
COMBUSTIBLE: "Combustible",
|
|
262
|
-
CORROSIVE: "Corrosive",
|
|
263
|
-
EXPLOSIVE: "Explosive",
|
|
264
|
-
FLAMMABLE: "Flammable",
|
|
265
|
-
GAS: "Gas",
|
|
266
|
-
HARMFUL_TO_WATER: "HarmfulToWater",
|
|
267
|
-
ORGANIC: "Organic",
|
|
268
|
-
OTHER: "Other",
|
|
269
|
-
POISON: "Poison",
|
|
270
|
-
POISONOUS_INHALATION: "PoisonousInhalation",
|
|
271
|
-
RADIOACTIVE: "Radioactive",
|
|
272
|
-
};
|
|
273
|
-
const RouteMatrixTruckType$1 = {
|
|
274
|
-
LIGHT_TRUCK: "LightTruck",
|
|
275
|
-
STRAIGHT_TRUCK: "StraightTruck",
|
|
276
|
-
TRACTOR: "Tractor",
|
|
277
|
-
};
|
|
278
|
-
const RouteMatrixErrorCode = {
|
|
279
|
-
NO_MATCH: "NoMatch",
|
|
280
|
-
NO_MATCH_DESTINATION: "NoMatchDestination",
|
|
281
|
-
NO_MATCH_ORIGIN: "NoMatchOrigin",
|
|
282
|
-
NO_ROUTE: "NoRoute",
|
|
283
|
-
OTHER: "Other",
|
|
284
|
-
OUT_OF_BOUNDS: "OutOfBounds",
|
|
285
|
-
OUT_OF_BOUNDS_DESTINATION: "OutOfBoundsDestination",
|
|
286
|
-
OUT_OF_BOUNDS_ORIGIN: "OutOfBoundsOrigin",
|
|
287
|
-
VIOLATION: "Violation",
|
|
288
|
-
};
|
|
289
|
-
const RouteZoneCategory$1 = {
|
|
290
|
-
CONGESTION_PRICING: "CongestionPricing",
|
|
291
|
-
ENVIRONMENTAL: "Environmental",
|
|
292
|
-
VIGNETTE: "Vignette",
|
|
293
|
-
};
|
|
294
|
-
const MeasurementSystem = {
|
|
295
|
-
IMPERIAL: "Imperial",
|
|
296
|
-
METRIC: "Metric",
|
|
297
|
-
};
|
|
298
|
-
const RouteLegAdditionalFeature$1 = {
|
|
299
|
-
ELEVATION: "Elevation",
|
|
300
|
-
INCIDENTS: "Incidents",
|
|
301
|
-
PASS_THROUGH_WAYPOINTS: "PassThroughWaypoints",
|
|
302
|
-
SUMMARY: "Summary",
|
|
303
|
-
TOLLS: "Tolls",
|
|
304
|
-
TRAVEL_STEP_INSTRUCTIONS: "TravelStepInstructions",
|
|
305
|
-
TRUCK_ROAD_TYPES: "TruckRoadTypes",
|
|
306
|
-
TYPICAL_DURATION: "TypicalDuration",
|
|
307
|
-
ZONES: "Zones",
|
|
308
|
-
};
|
|
309
|
-
const RouteSpanAdditionalFeature = {
|
|
310
|
-
BEST_CASE_DURATION: "BestCaseDuration",
|
|
311
|
-
CAR_ACCESS: "CarAccess",
|
|
312
|
-
CONSUMPTION: "Consumption",
|
|
313
|
-
COUNTRY: "Country",
|
|
314
|
-
DISTANCE: "Distance",
|
|
315
|
-
DURATION: "Duration",
|
|
316
|
-
DYNAMIC_SPEED: "DynamicSpeed",
|
|
317
|
-
FUNCTIONAL_CLASSIFICATION: "FunctionalClassification",
|
|
318
|
-
GATES: "Gates",
|
|
319
|
-
INCIDENTS: "Incidents",
|
|
320
|
-
NAMES: "Names",
|
|
321
|
-
NOTICES: "Notices",
|
|
322
|
-
PEDESTRIAN_ACCESS: "PedestrianAccess",
|
|
323
|
-
RAILWAY_CROSSINGS: "RailwayCrossings",
|
|
324
|
-
REGION: "Region",
|
|
325
|
-
ROAD_ATTRIBUTES: "RoadAttributes",
|
|
326
|
-
ROUTE_NUMBERS: "RouteNumbers",
|
|
327
|
-
SCOOTER_ACCESS: "ScooterAccess",
|
|
328
|
-
SPEED_LIMIT: "SpeedLimit",
|
|
329
|
-
TOLL_SYSTEMS: "TollSystems",
|
|
330
|
-
TRUCK_ACCESS: "TruckAccess",
|
|
331
|
-
TRUCK_ROAD_TYPES: "TruckRoadTypes",
|
|
332
|
-
TYPICAL_DURATION: "TypicalDuration",
|
|
333
|
-
ZONES: "Zones",
|
|
334
|
-
};
|
|
335
|
-
const RouteTollVehicleCategory$1 = {
|
|
336
|
-
MINIBUS: "Minibus",
|
|
337
|
-
};
|
|
338
|
-
const RouteTravelMode = {
|
|
339
|
-
CAR: "Car",
|
|
340
|
-
PEDESTRIAN: "Pedestrian",
|
|
341
|
-
SCOOTER: "Scooter",
|
|
342
|
-
TRUCK: "Truck",
|
|
343
|
-
};
|
|
344
|
-
const RouteEngineType$1 = {
|
|
345
|
-
ELECTRIC: "Electric",
|
|
346
|
-
INTERNAL_COMBUSTION: "InternalCombustion",
|
|
347
|
-
PLUGIN_HYBRID: "PluginHybrid",
|
|
348
|
-
};
|
|
349
|
-
const RouteHazardousCargoType$1 = {
|
|
350
|
-
COMBUSTIBLE: "Combustible",
|
|
351
|
-
CORROSIVE: "Corrosive",
|
|
352
|
-
EXPLOSIVE: "Explosive",
|
|
353
|
-
FLAMMABLE: "Flammable",
|
|
354
|
-
GAS: "Gas",
|
|
355
|
-
HARMFUL_TO_WATER: "HarmfulToWater",
|
|
356
|
-
ORGANIC: "Organic",
|
|
357
|
-
OTHER: "Other",
|
|
358
|
-
POISON: "Poison",
|
|
359
|
-
POISONOUS_INHALATION: "PoisonousInhalation",
|
|
360
|
-
RADIOACTIVE: "Radioactive",
|
|
361
|
-
};
|
|
362
|
-
const RouteTruckType$1 = {
|
|
363
|
-
LIGHT_TRUCK: "LightTruck",
|
|
364
|
-
STRAIGHT_TRUCK: "StraightTruck",
|
|
365
|
-
TRACTOR: "Tractor",
|
|
366
|
-
};
|
|
367
|
-
const RouteTravelStepType = {
|
|
368
|
-
DEFAULT: "Default",
|
|
369
|
-
TURN_BY_TURN: "TurnByTurn",
|
|
370
|
-
};
|
|
371
|
-
const RouteResponseNoticeCode = {
|
|
372
|
-
MAIN_LANGUAGE_NOT_FOUND: "MainLanguageNotFound",
|
|
373
|
-
OTHER: "Other",
|
|
374
|
-
TRAVEL_TIME_EXCEEDS_DRIVER_WORK_HOURS: "TravelTimeExceedsDriverWorkHours",
|
|
375
|
-
};
|
|
376
|
-
const RouteNoticeImpact = {
|
|
377
|
-
HIGH: "High",
|
|
378
|
-
LOW: "Low",
|
|
379
|
-
};
|
|
380
|
-
const RouteFerryAfterTravelStepType$1 = {
|
|
381
|
-
DEBOARD: "Deboard",
|
|
382
|
-
};
|
|
383
|
-
const RouteFerryBeforeTravelStepType$1 = {
|
|
384
|
-
BOARD: "Board",
|
|
385
|
-
};
|
|
386
|
-
const RouteFerryNoticeCode = {
|
|
387
|
-
ACCURATE_POLYLINE_UNAVAILABLE: "AccuratePolylineUnavailable",
|
|
388
|
-
NO_SCHEDULE: "NoSchedule",
|
|
389
|
-
OTHER: "Other",
|
|
390
|
-
POTENTIAL_VIOLATED_VEHICLE_RESTRICTION_USAGE: "PotentialViolatedVehicleRestrictionUsage",
|
|
391
|
-
SEASONAL_CLOSURE: "SeasonalClosure",
|
|
392
|
-
VIOLATED_AVOID_FERRY: "ViolatedAvoidFerry",
|
|
393
|
-
VIOLATED_AVOID_RAIL_FERRY: "ViolatedAvoidRailFerry",
|
|
394
|
-
};
|
|
395
|
-
const RouteFerryTravelStepType$1 = {
|
|
396
|
-
ARRIVE: "Arrive",
|
|
397
|
-
CONTINUE: "Continue",
|
|
398
|
-
DEPART: "Depart",
|
|
399
|
-
};
|
|
400
|
-
const RouteSideOfStreet$1 = {
|
|
401
|
-
LEFT: "Left",
|
|
402
|
-
RIGHT: "Right",
|
|
403
|
-
};
|
|
404
|
-
const RoutePedestrianNoticeCode = {
|
|
405
|
-
ACCURATE_POLYLINE_UNAVAILABLE: "AccuratePolylineUnavailable",
|
|
406
|
-
OTHER: "Other",
|
|
407
|
-
VIOLATED_AVOID_DIRT_ROAD: "ViolatedAvoidDirtRoad",
|
|
408
|
-
VIOLATED_AVOID_TUNNEL: "ViolatedAvoidTunnel",
|
|
409
|
-
VIOLATED_PEDESTRIAN_OPTION: "ViolatedPedestrianOption",
|
|
410
|
-
};
|
|
411
|
-
const RouteSpanPedestrianAccessAttribute$1 = {
|
|
412
|
-
ALLOWED: "Allowed",
|
|
413
|
-
INDOORS: "Indoors",
|
|
414
|
-
NO_THROUGH_TRAFFIC: "NoThroughTraffic",
|
|
415
|
-
PARK: "Park",
|
|
416
|
-
STAIRS: "Stairs",
|
|
417
|
-
TOLL_ROAD: "TollRoad",
|
|
418
|
-
};
|
|
419
|
-
const RouteSpanRoadAttribute$1 = {
|
|
420
|
-
BRIDGE: "Bridge",
|
|
421
|
-
BUILT_UP_AREA: "BuiltUpArea",
|
|
422
|
-
CONTROLLED_ACCESS_HIGHWAY: "ControlledAccessHighway",
|
|
423
|
-
DIRT_ROAD: "DirtRoad",
|
|
424
|
-
DIVIDED_ROAD: "DividedRoad",
|
|
425
|
-
MOTORWAY: "Motorway",
|
|
426
|
-
PRIVATE_ROAD: "PrivateRoad",
|
|
427
|
-
RAMP: "Ramp",
|
|
428
|
-
RIGHT_HAND_TRAFFIC: "RightHandTraffic",
|
|
429
|
-
ROUNDABOUT: "Roundabout",
|
|
430
|
-
TUNNEL: "Tunnel",
|
|
431
|
-
UNDER_CONSTRUCTION: "UnderConstruction",
|
|
432
|
-
};
|
|
433
|
-
const RouteDirection$1 = {
|
|
434
|
-
EAST: "East",
|
|
435
|
-
NORTH: "North",
|
|
436
|
-
SOUTH: "South",
|
|
437
|
-
WEST: "West",
|
|
438
|
-
};
|
|
439
|
-
const RouteRoadType$1 = {
|
|
440
|
-
HIGHWAY: "Highway",
|
|
441
|
-
RURAL: "Rural",
|
|
442
|
-
URBAN: "Urban",
|
|
443
|
-
};
|
|
444
|
-
const RouteSteeringDirection$1 = {
|
|
445
|
-
LEFT: "Left",
|
|
446
|
-
RIGHT: "Right",
|
|
447
|
-
STRAIGHT: "Straight",
|
|
448
|
-
};
|
|
449
|
-
const RouteTurnIntensity$1 = {
|
|
450
|
-
SHARP: "Sharp",
|
|
451
|
-
SLIGHT: "Slight",
|
|
452
|
-
TYPICAL: "Typical",
|
|
453
|
-
};
|
|
454
|
-
const RoutePedestrianTravelStepType$1 = {
|
|
455
|
-
ARRIVE: "Arrive",
|
|
456
|
-
CONTINUE: "Continue",
|
|
457
|
-
DEPART: "Depart",
|
|
458
|
-
EXIT: "Exit",
|
|
459
|
-
KEEP: "Keep",
|
|
460
|
-
RAMP: "Ramp",
|
|
461
|
-
ROUNDABOUT_ENTER: "RoundaboutEnter",
|
|
462
|
-
ROUNDABOUT_EXIT: "RoundaboutExit",
|
|
463
|
-
ROUNDABOUT_PASS: "RoundaboutPass",
|
|
464
|
-
TURN: "Turn",
|
|
465
|
-
U_TURN: "UTurn",
|
|
466
|
-
};
|
|
467
|
-
const RouteLegTravelMode$1 = {
|
|
468
|
-
CAR: "Car",
|
|
469
|
-
CAR_SHUTTLE_TRAIN: "CarShuttleTrain",
|
|
470
|
-
FERRY: "Ferry",
|
|
471
|
-
PEDESTRIAN: "Pedestrian",
|
|
472
|
-
SCOOTER: "Scooter",
|
|
473
|
-
TRUCK: "Truck",
|
|
474
|
-
};
|
|
475
|
-
const RouteLegType$1 = {
|
|
476
|
-
FERRY: "Ferry",
|
|
477
|
-
PEDESTRIAN: "Pedestrian",
|
|
478
|
-
VEHICLE: "Vehicle",
|
|
479
|
-
};
|
|
480
|
-
const RouteVehicleIncidentSeverity$1 = {
|
|
481
|
-
CRITICAL: "Critical",
|
|
482
|
-
HIGH: "High",
|
|
483
|
-
LOW: "Low",
|
|
484
|
-
MEDIUM: "Medium",
|
|
485
|
-
};
|
|
486
|
-
const RouteVehicleIncidentType$1 = {
|
|
487
|
-
ACCIDENT: "Accident",
|
|
488
|
-
CONGESTION: "Congestion",
|
|
489
|
-
CONSTRUCTION: "Construction",
|
|
490
|
-
DISABLED_VEHICLE: "DisabledVehicle",
|
|
491
|
-
LANE_RESTRICTION: "LaneRestriction",
|
|
492
|
-
MASS_TRANSIT: "MassTransit",
|
|
493
|
-
OTHER: "Other",
|
|
494
|
-
PLANNED_EVENT: "PlannedEvent",
|
|
495
|
-
ROAD_CLOSURE: "RoadClosure",
|
|
496
|
-
ROAD_HAZARD: "RoadHazard",
|
|
497
|
-
WEATHER: "Weather",
|
|
498
|
-
};
|
|
499
|
-
const RouteVehicleNoticeCode = {
|
|
500
|
-
ACCURATE_POLYLINE_UNAVAILABLE: "AccuratePolylineUnavailable",
|
|
501
|
-
OTHER: "Other",
|
|
502
|
-
POTENTIAL_VIOLATED_AVOID_TOLL_ROAD_USAGE: "PotentialViolatedAvoidTollRoadUsage",
|
|
503
|
-
POTENTIAL_VIOLATED_CARPOOL_USAGE: "PotentialViolatedCarpoolUsage",
|
|
504
|
-
POTENTIAL_VIOLATED_TURN_RESTRICTION_USAGE: "PotentialViolatedTurnRestrictionUsage",
|
|
505
|
-
POTENTIAL_VIOLATED_VEHICLE_RESTRICTION_USAGE: "PotentialViolatedVehicleRestrictionUsage",
|
|
506
|
-
POTENTIAL_VIOLATED_ZONE_RESTRICTION_USAGE: "PotentialViolatedZoneRestrictionUsage",
|
|
507
|
-
SEASONAL_CLOSURE: "SeasonalClosure",
|
|
508
|
-
TOLLS_DATA_TEMPORARILY_UNAVAILABLE: "TollsDataTemporarilyUnavailable",
|
|
509
|
-
TOLLS_DATA_UNAVAILABLE: "TollsDataUnavailable",
|
|
510
|
-
TOLL_TRANSPONDER: "TollTransponder",
|
|
511
|
-
VIOLATED_AVOID_CONTROLLED_ACCESS_HIGHWAY: "ViolatedAvoidControlledAccessHighway",
|
|
512
|
-
VIOLATED_AVOID_DIFFICULT_TURNS: "ViolatedAvoidDifficultTurns",
|
|
513
|
-
VIOLATED_AVOID_DIRT_ROAD: "ViolatedAvoidDirtRoad",
|
|
514
|
-
VIOLATED_AVOID_SEASONAL_CLOSURE: "ViolatedAvoidSeasonalClosure",
|
|
515
|
-
VIOLATED_AVOID_TOLL_ROAD: "ViolatedAvoidTollRoad",
|
|
516
|
-
VIOLATED_AVOID_TOLL_TRANSPONDER: "ViolatedAvoidTollTransponder",
|
|
517
|
-
VIOLATED_AVOID_TRUCK_ROAD_TYPE: "ViolatedAvoidTruckRoadType",
|
|
518
|
-
VIOLATED_AVOID_TUNNEL: "ViolatedAvoidTunnel",
|
|
519
|
-
VIOLATED_AVOID_U_TURNS: "ViolatedAvoidUTurns",
|
|
520
|
-
VIOLATED_BLOCKED_ROAD: "ViolatedBlockedRoad",
|
|
521
|
-
VIOLATED_CARPOOL: "ViolatedCarpool",
|
|
522
|
-
VIOLATED_EMERGENCY_GATE: "ViolatedEmergencyGate",
|
|
523
|
-
VIOLATED_START_DIRECTION: "ViolatedStartDirection",
|
|
524
|
-
VIOLATED_TURN_RESTRICTION: "ViolatedTurnRestriction",
|
|
525
|
-
VIOLATED_VEHICLE_RESTRICTION: "ViolatedVehicleRestriction",
|
|
526
|
-
VIOLATED_ZONE_RESTRICTION: "ViolatedZoneRestriction",
|
|
527
|
-
};
|
|
528
|
-
const RouteWeightConstraintType = {
|
|
529
|
-
CURRENT: "Current",
|
|
530
|
-
GROSS: "Gross",
|
|
531
|
-
UNKNOWN: "Unknown",
|
|
532
|
-
};
|
|
533
|
-
const RouteSpanCarAccessAttribute$1 = {
|
|
534
|
-
ALLOWED: "Allowed",
|
|
535
|
-
NO_THROUGH_TRAFFIC: "NoThroughTraffic",
|
|
536
|
-
TOLL_ROAD: "TollRoad",
|
|
537
|
-
};
|
|
538
|
-
const RouteSpanGateAttribute$1 = {
|
|
539
|
-
EMERGENCY: "Emergency",
|
|
540
|
-
KEY_ACCESS: "KeyAccess",
|
|
541
|
-
PERMISSION_REQUIRED: "PermissionRequired",
|
|
542
|
-
};
|
|
543
|
-
const RouteSpanRailwayCrossingAttribute$1 = {
|
|
544
|
-
PROTECTED: "Protected",
|
|
545
|
-
UNPROTECTED: "Unprotected",
|
|
546
|
-
};
|
|
547
|
-
const RouteSpanScooterAccessAttribute$1 = {
|
|
548
|
-
ALLOWED: "Allowed",
|
|
549
|
-
NO_THROUGH_TRAFFIC: "NoThroughTraffic",
|
|
550
|
-
TOLL_ROAD: "TollRoad",
|
|
551
|
-
};
|
|
552
|
-
const RouteSpanTruckAccessAttribute$1 = {
|
|
553
|
-
ALLOWED: "Allowed",
|
|
554
|
-
NO_THROUGH_TRAFFIC: "NoThroughTraffic",
|
|
555
|
-
TOLL_ROAD: "TollRoad",
|
|
556
|
-
};
|
|
557
|
-
const RouteTollPassValidityPeriodType$1 = {
|
|
558
|
-
ANNUAL: "Annual",
|
|
559
|
-
DAYS: "Days",
|
|
560
|
-
EXTENDED_ANNUAL: "ExtendedAnnual",
|
|
561
|
-
MINUTES: "Minutes",
|
|
562
|
-
MONTHS: "Months",
|
|
563
|
-
};
|
|
564
|
-
const RouteTollPaymentMethod$1 = {
|
|
565
|
-
BANK_CARD: "BankCard",
|
|
566
|
-
CASH: "Cash",
|
|
567
|
-
CASH_EXACT: "CashExact",
|
|
568
|
-
CREDIT_CARD: "CreditCard",
|
|
569
|
-
PASS_SUBSCRIPTION: "PassSubscription",
|
|
570
|
-
TRANSPONDER: "Transponder",
|
|
571
|
-
TRAVEL_CARD: "TravelCard",
|
|
572
|
-
VIDEO_TOLL: "VideoToll",
|
|
573
|
-
};
|
|
574
|
-
const RouteVehicleTravelStepType$1 = {
|
|
575
|
-
ARRIVE: "Arrive",
|
|
576
|
-
CONTINUE: "Continue",
|
|
577
|
-
CONTINUE_HIGHWAY: "ContinueHighway",
|
|
578
|
-
DEPART: "Depart",
|
|
579
|
-
ENTER_HIGHWAY: "EnterHighway",
|
|
580
|
-
EXIT: "Exit",
|
|
581
|
-
KEEP: "Keep",
|
|
582
|
-
RAMP: "Ramp",
|
|
583
|
-
ROUNDABOUT_ENTER: "RoundaboutEnter",
|
|
584
|
-
ROUNDABOUT_EXIT: "RoundaboutExit",
|
|
585
|
-
ROUNDABOUT_PASS: "RoundaboutPass",
|
|
586
|
-
TURN: "Turn",
|
|
587
|
-
U_TURN: "UTurn",
|
|
588
|
-
};
|
|
589
|
-
const DayOfWeek$1 = {
|
|
590
|
-
FRIDAY: "Friday",
|
|
591
|
-
MONDAY: "Monday",
|
|
592
|
-
SATURDAY: "Saturday",
|
|
593
|
-
SUNDAY: "Sunday",
|
|
594
|
-
THURSDAY: "Thursday",
|
|
595
|
-
TUESDAY: "Tuesday",
|
|
596
|
-
WEDNESDAY: "Wednesday",
|
|
597
|
-
};
|
|
598
|
-
const WaypointOptimizationClusteringAlgorithm$1 = {
|
|
599
|
-
DRIVING_DISTANCE: "DrivingDistance",
|
|
600
|
-
TOPOLOGY_SEGMENT: "TopologySegment",
|
|
601
|
-
};
|
|
602
|
-
const WaypointOptimizationServiceTimeTreatment$1 = {
|
|
603
|
-
REST: "Rest",
|
|
604
|
-
WORK: "Work",
|
|
605
|
-
};
|
|
606
|
-
const WaypointOptimizationSequencingObjective = {
|
|
607
|
-
FASTEST_ROUTE: "FastestRoute",
|
|
608
|
-
SHORTEST_ROUTE: "ShortestRoute",
|
|
609
|
-
};
|
|
610
|
-
const WaypointOptimizationTravelMode = {
|
|
611
|
-
CAR: "Car",
|
|
612
|
-
PEDESTRIAN: "Pedestrian",
|
|
613
|
-
SCOOTER: "Scooter",
|
|
614
|
-
TRUCK: "Truck",
|
|
615
|
-
};
|
|
616
|
-
const WaypointOptimizationHazardousCargoType$1 = {
|
|
617
|
-
COMBUSTIBLE: "Combustible",
|
|
618
|
-
CORROSIVE: "Corrosive",
|
|
619
|
-
EXPLOSIVE: "Explosive",
|
|
620
|
-
FLAMMABLE: "Flammable",
|
|
621
|
-
GAS: "Gas",
|
|
622
|
-
HARMFUL_TO_WATER: "HarmfulToWater",
|
|
623
|
-
ORGANIC: "Organic",
|
|
624
|
-
OTHER: "Other",
|
|
625
|
-
POISON: "Poison",
|
|
626
|
-
POISONOUS_INHALATION: "PoisonousInhalation",
|
|
627
|
-
RADIOACTIVE: "Radioactive",
|
|
628
|
-
};
|
|
629
|
-
const WaypointOptimizationTruckType$1 = {
|
|
630
|
-
STRAIGHT_TRUCK: "StraightTruck",
|
|
631
|
-
TRACTOR: "Tractor",
|
|
632
|
-
};
|
|
633
|
-
const WaypointOptimizationConstraint$1 = {
|
|
634
|
-
ACCESS_HOURS: "AccessHours",
|
|
635
|
-
APPOINTMENT_TIME: "AppointmentTime",
|
|
636
|
-
BEFORE: "Before",
|
|
637
|
-
HEADING: "Heading",
|
|
638
|
-
SERVICE_DURATION: "ServiceDuration",
|
|
639
|
-
SIDE_OF_STREET: "SideOfStreet",
|
|
640
|
-
};
|
|
641
|
-
const RoadSnapTravelMode = {
|
|
642
|
-
CAR: "Car",
|
|
643
|
-
PEDESTRIAN: "Pedestrian",
|
|
644
|
-
SCOOTER: "Scooter",
|
|
645
|
-
TRUCK: "Truck",
|
|
646
|
-
};
|
|
647
|
-
const RoadSnapHazardousCargoType$1 = {
|
|
648
|
-
COMBUSTIBLE: "Combustible",
|
|
649
|
-
CORROSIVE: "Corrosive",
|
|
650
|
-
EXPLOSIVE: "Explosive",
|
|
651
|
-
FLAMMABLE: "Flammable",
|
|
652
|
-
GAS: "Gas",
|
|
653
|
-
HARMFUL_TO_WATER: "HarmfulToWater",
|
|
654
|
-
ORGANIC: "Organic",
|
|
655
|
-
OTHER: "Other",
|
|
656
|
-
POISON: "Poison",
|
|
657
|
-
POISONOUS_INHALATION: "PoisonousInhalation",
|
|
658
|
-
RADIOACTIVE: "Radioactive",
|
|
659
|
-
};
|
|
660
|
-
const RoadSnapNoticeCode$1 = {
|
|
661
|
-
TRACE_POINTS_HEADING_IGNORED: "TracePointsHeadingIgnored",
|
|
662
|
-
TRACE_POINTS_IGNORED: "TracePointsIgnored",
|
|
663
|
-
TRACE_POINTS_MOVED_BY_LARGE_DISTANCE: "TracePointsMovedByLargeDistance",
|
|
664
|
-
TRACE_POINTS_NOT_MATCHED: "TracePointsNotMatched",
|
|
665
|
-
TRACE_POINTS_OUT_OF_SEQUENCE: "TracePointsOutOfSequence",
|
|
666
|
-
TRACE_POINTS_SPEED_ESTIMATED: "TracePointsSpeedEstimated",
|
|
667
|
-
TRACE_POINTS_SPEED_IGNORED: "TracePointsSpeedIgnored",
|
|
668
|
-
};
|
|
669
182
|
|
|
670
183
|
const _A = "Allow";
|
|
671
184
|
const _AAFD = "AvoidActionsForDistance";
|
|
@@ -4003,78 +3516,11 @@ exports.AccessDeniedException = AccessDeniedException$1;
|
|
|
4003
3516
|
exports.CalculateIsolinesCommand = CalculateIsolinesCommand;
|
|
4004
3517
|
exports.CalculateRouteMatrixCommand = CalculateRouteMatrixCommand;
|
|
4005
3518
|
exports.CalculateRoutesCommand = CalculateRoutesCommand;
|
|
4006
|
-
exports.DayOfWeek = DayOfWeek$1;
|
|
4007
3519
|
exports.GeoRoutes = GeoRoutes;
|
|
4008
3520
|
exports.GeoRoutesClient = GeoRoutesClient;
|
|
4009
3521
|
exports.GeoRoutesServiceException = GeoRoutesServiceException$1;
|
|
4010
|
-
exports.GeometryFormat = GeometryFormat;
|
|
4011
3522
|
exports.InternalServerException = InternalServerException$1;
|
|
4012
|
-
exports.IsolineEngineType = IsolineEngineType$1;
|
|
4013
|
-
exports.IsolineHazardousCargoType = IsolineHazardousCargoType$1;
|
|
4014
|
-
exports.IsolineOptimizationObjective = IsolineOptimizationObjective;
|
|
4015
|
-
exports.IsolineTravelMode = IsolineTravelMode;
|
|
4016
|
-
exports.IsolineTruckType = IsolineTruckType;
|
|
4017
|
-
exports.IsolineZoneCategory = IsolineZoneCategory;
|
|
4018
|
-
exports.MatchingStrategy = MatchingStrategy;
|
|
4019
|
-
exports.MeasurementSystem = MeasurementSystem;
|
|
4020
3523
|
exports.OptimizeWaypointsCommand = OptimizeWaypointsCommand;
|
|
4021
|
-
exports.RoadSnapHazardousCargoType = RoadSnapHazardousCargoType$1;
|
|
4022
|
-
exports.RoadSnapNoticeCode = RoadSnapNoticeCode$1;
|
|
4023
|
-
exports.RoadSnapTravelMode = RoadSnapTravelMode;
|
|
4024
|
-
exports.RouteDirection = RouteDirection$1;
|
|
4025
|
-
exports.RouteEngineType = RouteEngineType$1;
|
|
4026
|
-
exports.RouteFerryAfterTravelStepType = RouteFerryAfterTravelStepType$1;
|
|
4027
|
-
exports.RouteFerryBeforeTravelStepType = RouteFerryBeforeTravelStepType$1;
|
|
4028
|
-
exports.RouteFerryNoticeCode = RouteFerryNoticeCode;
|
|
4029
|
-
exports.RouteFerryTravelStepType = RouteFerryTravelStepType$1;
|
|
4030
|
-
exports.RouteHazardousCargoType = RouteHazardousCargoType$1;
|
|
4031
|
-
exports.RouteLegAdditionalFeature = RouteLegAdditionalFeature$1;
|
|
4032
|
-
exports.RouteLegTravelMode = RouteLegTravelMode$1;
|
|
4033
|
-
exports.RouteLegType = RouteLegType$1;
|
|
4034
|
-
exports.RouteMatrixErrorCode = RouteMatrixErrorCode;
|
|
4035
|
-
exports.RouteMatrixHazardousCargoType = RouteMatrixHazardousCargoType$1;
|
|
4036
|
-
exports.RouteMatrixTravelMode = RouteMatrixTravelMode;
|
|
4037
|
-
exports.RouteMatrixTruckType = RouteMatrixTruckType$1;
|
|
4038
|
-
exports.RouteMatrixZoneCategory = RouteMatrixZoneCategory$1;
|
|
4039
|
-
exports.RouteNoticeImpact = RouteNoticeImpact;
|
|
4040
|
-
exports.RoutePedestrianNoticeCode = RoutePedestrianNoticeCode;
|
|
4041
|
-
exports.RoutePedestrianTravelStepType = RoutePedestrianTravelStepType$1;
|
|
4042
|
-
exports.RouteResponseNoticeCode = RouteResponseNoticeCode;
|
|
4043
|
-
exports.RouteRoadType = RouteRoadType$1;
|
|
4044
|
-
exports.RouteSideOfStreet = RouteSideOfStreet$1;
|
|
4045
|
-
exports.RouteSpanAdditionalFeature = RouteSpanAdditionalFeature;
|
|
4046
|
-
exports.RouteSpanCarAccessAttribute = RouteSpanCarAccessAttribute$1;
|
|
4047
|
-
exports.RouteSpanGateAttribute = RouteSpanGateAttribute$1;
|
|
4048
|
-
exports.RouteSpanPedestrianAccessAttribute = RouteSpanPedestrianAccessAttribute$1;
|
|
4049
|
-
exports.RouteSpanRailwayCrossingAttribute = RouteSpanRailwayCrossingAttribute$1;
|
|
4050
|
-
exports.RouteSpanRoadAttribute = RouteSpanRoadAttribute$1;
|
|
4051
|
-
exports.RouteSpanScooterAccessAttribute = RouteSpanScooterAccessAttribute$1;
|
|
4052
|
-
exports.RouteSpanTruckAccessAttribute = RouteSpanTruckAccessAttribute$1;
|
|
4053
|
-
exports.RouteSteeringDirection = RouteSteeringDirection$1;
|
|
4054
|
-
exports.RouteTollPassValidityPeriodType = RouteTollPassValidityPeriodType$1;
|
|
4055
|
-
exports.RouteTollPaymentMethod = RouteTollPaymentMethod$1;
|
|
4056
|
-
exports.RouteTollVehicleCategory = RouteTollVehicleCategory$1;
|
|
4057
|
-
exports.RouteTravelMode = RouteTravelMode;
|
|
4058
|
-
exports.RouteTravelStepType = RouteTravelStepType;
|
|
4059
|
-
exports.RouteTruckType = RouteTruckType$1;
|
|
4060
|
-
exports.RouteTurnIntensity = RouteTurnIntensity$1;
|
|
4061
|
-
exports.RouteVehicleIncidentSeverity = RouteVehicleIncidentSeverity$1;
|
|
4062
|
-
exports.RouteVehicleIncidentType = RouteVehicleIncidentType$1;
|
|
4063
|
-
exports.RouteVehicleNoticeCode = RouteVehicleNoticeCode;
|
|
4064
|
-
exports.RouteVehicleTravelStepType = RouteVehicleTravelStepType$1;
|
|
4065
|
-
exports.RouteWeightConstraintType = RouteWeightConstraintType;
|
|
4066
|
-
exports.RouteZoneCategory = RouteZoneCategory$1;
|
|
4067
|
-
exports.RoutingObjective = RoutingObjective;
|
|
4068
|
-
exports.SideOfStreetMatchingStrategy = SideOfStreetMatchingStrategy;
|
|
4069
3524
|
exports.SnapToRoadsCommand = SnapToRoadsCommand;
|
|
4070
3525
|
exports.ThrottlingException = ThrottlingException$1;
|
|
4071
|
-
exports.TrafficUsage = TrafficUsage;
|
|
4072
3526
|
exports.ValidationException = ValidationException$1;
|
|
4073
|
-
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
4074
|
-
exports.WaypointOptimizationClusteringAlgorithm = WaypointOptimizationClusteringAlgorithm$1;
|
|
4075
|
-
exports.WaypointOptimizationConstraint = WaypointOptimizationConstraint$1;
|
|
4076
|
-
exports.WaypointOptimizationHazardousCargoType = WaypointOptimizationHazardousCargoType$1;
|
|
4077
|
-
exports.WaypointOptimizationSequencingObjective = WaypointOptimizationSequencingObjective;
|
|
4078
|
-
exports.WaypointOptimizationServiceTimeTreatment = WaypointOptimizationServiceTimeTreatment$1;
|
|
4079
|
-
exports.WaypointOptimizationTravelMode = WaypointOptimizationTravelMode;
|
|
4080
|
-
exports.WaypointOptimizationTruckType = WaypointOptimizationTruckType$1;
|
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { GeoRoutesServiceException as __BaseException } from "./GeoRoutesServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AccessDeniedException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class InternalServerException extends __BaseException {
|
|
17
|
+
name = "InternalServerException";
|
|
18
|
+
$fault = "server";
|
|
19
|
+
$retryable = {};
|
|
20
|
+
Message;
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "InternalServerException",
|
|
24
|
+
$fault: "server",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
28
|
+
this.Message = opts.Message;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
export class ThrottlingException extends __BaseException {
|
|
32
|
+
name = "ThrottlingException";
|
|
33
|
+
$fault = "client";
|
|
34
|
+
$retryable = {};
|
|
35
|
+
Message;
|
|
36
|
+
constructor(opts) {
|
|
37
|
+
super({
|
|
38
|
+
name: "ThrottlingException",
|
|
39
|
+
$fault: "client",
|
|
40
|
+
...opts,
|
|
41
|
+
});
|
|
42
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
43
|
+
this.Message = opts.Message;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
export class ValidationException extends __BaseException {
|
|
47
|
+
name = "ValidationException";
|
|
48
|
+
$fault = "client";
|
|
49
|
+
Message;
|
|
50
|
+
Reason;
|
|
51
|
+
FieldList;
|
|
52
|
+
constructor(opts) {
|
|
53
|
+
super({
|
|
54
|
+
name: "ValidationException",
|
|
55
|
+
$fault: "client",
|
|
56
|
+
...opts,
|
|
57
|
+
});
|
|
58
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
59
|
+
this.Message = opts.Message;
|
|
60
|
+
this.Reason = opts.Reason;
|
|
61
|
+
this.FieldList = opts.FieldList;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
import { GeoRoutesServiceException as __BaseException } from "./GeoRoutesServiceException";
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
Message;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AccessDeniedException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
-
this.Message = opts.Message;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
1
|
export const IsolineZoneCategory = {
|
|
17
2
|
CONGESTION_PRICING: "CongestionPricing",
|
|
18
3
|
ENVIRONMENTAL: "Environmental",
|
|
@@ -72,36 +57,6 @@ export const IsolineTruckType = {
|
|
|
72
57
|
STRAIGHT_TRUCK: "StraightTruck",
|
|
73
58
|
TRACTOR: "Tractor",
|
|
74
59
|
};
|
|
75
|
-
export class InternalServerException extends __BaseException {
|
|
76
|
-
name = "InternalServerException";
|
|
77
|
-
$fault = "server";
|
|
78
|
-
$retryable = {};
|
|
79
|
-
Message;
|
|
80
|
-
constructor(opts) {
|
|
81
|
-
super({
|
|
82
|
-
name: "InternalServerException",
|
|
83
|
-
$fault: "server",
|
|
84
|
-
...opts,
|
|
85
|
-
});
|
|
86
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
87
|
-
this.Message = opts.Message;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
export class ThrottlingException extends __BaseException {
|
|
91
|
-
name = "ThrottlingException";
|
|
92
|
-
$fault = "client";
|
|
93
|
-
$retryable = {};
|
|
94
|
-
Message;
|
|
95
|
-
constructor(opts) {
|
|
96
|
-
super({
|
|
97
|
-
name: "ThrottlingException",
|
|
98
|
-
$fault: "client",
|
|
99
|
-
...opts,
|
|
100
|
-
});
|
|
101
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
102
|
-
this.Message = opts.Message;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
60
|
export const ValidationExceptionReason = {
|
|
106
61
|
CANNOT_PARSE: "CannotParse",
|
|
107
62
|
FIELD_VALIDATION_FAILED: "FieldValidationFailed",
|
|
@@ -110,24 +65,6 @@ export const ValidationExceptionReason = {
|
|
|
110
65
|
UNKNOWN_FIELD: "UnknownField",
|
|
111
66
|
UNKNOWN_OPERATION: "UnknownOperation",
|
|
112
67
|
};
|
|
113
|
-
export class ValidationException extends __BaseException {
|
|
114
|
-
name = "ValidationException";
|
|
115
|
-
$fault = "client";
|
|
116
|
-
Message;
|
|
117
|
-
Reason;
|
|
118
|
-
FieldList;
|
|
119
|
-
constructor(opts) {
|
|
120
|
-
super({
|
|
121
|
-
name: "ValidationException",
|
|
122
|
-
$fault: "client",
|
|
123
|
-
...opts,
|
|
124
|
-
});
|
|
125
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
126
|
-
this.Message = opts.Message;
|
|
127
|
-
this.Reason = opts.Reason;
|
|
128
|
-
this.FieldList = opts.FieldList;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
68
|
export const RouteMatrixZoneCategory = {
|
|
132
69
|
CONGESTION_PRICING: "CongestionPricing",
|
|
133
70
|
ENVIRONMENTAL: "Environmental",
|
|
@@ -639,8 +639,8 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.georoutes";
|
|
|
639
639
|
const _xagpb = "x-amz-geo-pricing-bucket";
|
|
640
640
|
const n0 = "com.amazonaws.georoutes";
|
|
641
641
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
642
|
+
import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
642
643
|
import { GeoRoutesServiceException as __GeoRoutesServiceException } from "../models/GeoRoutesServiceException";
|
|
643
|
-
import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
|
|
644
644
|
export var ApiKey = [0, n0, _AK, 8, 0];
|
|
645
645
|
export var CountryCode = [0, n0, _CC, 8, 0];
|
|
646
646
|
export var CountryCode3 = [0, n0, _CCo, 8, 0];
|
package/dist-types/index.d.ts
CHANGED
|
@@ -9,5 +9,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
9
9
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
10
|
export type { GeoRoutesExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
|
-
export * from "./models";
|
|
12
|
+
export * from "./models/errors";
|
|
13
|
+
export type * from "./models/models_0";
|
|
13
14
|
export { GeoRoutesServiceException } from "./models/GeoRoutesServiceException";
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { GeoRoutesServiceException as __BaseException } from "./GeoRoutesServiceException";
|
|
3
|
+
import { ValidationExceptionField, ValidationExceptionReason } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>You don't have sufficient access to perform this action.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
+
readonly name: "AccessDeniedException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
Message: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export declare class InternalServerException extends __BaseException {
|
|
22
|
+
readonly name: "InternalServerException";
|
|
23
|
+
readonly $fault: "server";
|
|
24
|
+
$retryable: {};
|
|
25
|
+
Message: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* <p>The request was denied due to request throttling.</p>
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export declare class ThrottlingException extends __BaseException {
|
|
36
|
+
readonly name: "ThrottlingException";
|
|
37
|
+
readonly $fault: "client";
|
|
38
|
+
$retryable: {};
|
|
39
|
+
Message: string | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export declare class ValidationException extends __BaseException {
|
|
50
|
+
readonly name: "ValidationException";
|
|
51
|
+
readonly $fault: "client";
|
|
52
|
+
Message: string | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* <p>A message with the reason for the validation exception error.</p>
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
Reason: ValidationExceptionReason | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* <p>The field where the invalid entry was detected.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
FieldList: ValidationExceptionField[] | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
67
|
+
}
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { GeoRoutesServiceException as __BaseException } from "./GeoRoutesServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>You don't have sufficient access to perform this action.</p>
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
-
readonly name: "AccessDeniedException";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
Message: string | undefined;
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
-
}
|
|
16
1
|
/**
|
|
17
2
|
* <p>Features that are allowed while calculating an isoline.</p>
|
|
18
3
|
* @public
|
|
@@ -920,34 +905,6 @@ export interface CalculateIsolinesResponse {
|
|
|
920
905
|
*/
|
|
921
906
|
SnappedOrigin?: number[] | undefined;
|
|
922
907
|
}
|
|
923
|
-
/**
|
|
924
|
-
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
925
|
-
* @public
|
|
926
|
-
*/
|
|
927
|
-
export declare class InternalServerException extends __BaseException {
|
|
928
|
-
readonly name: "InternalServerException";
|
|
929
|
-
readonly $fault: "server";
|
|
930
|
-
$retryable: {};
|
|
931
|
-
Message: string | undefined;
|
|
932
|
-
/**
|
|
933
|
-
* @internal
|
|
934
|
-
*/
|
|
935
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
936
|
-
}
|
|
937
|
-
/**
|
|
938
|
-
* <p>The request was denied due to request throttling.</p>
|
|
939
|
-
* @public
|
|
940
|
-
*/
|
|
941
|
-
export declare class ThrottlingException extends __BaseException {
|
|
942
|
-
readonly name: "ThrottlingException";
|
|
943
|
-
readonly $fault: "client";
|
|
944
|
-
$retryable: {};
|
|
945
|
-
Message: string | undefined;
|
|
946
|
-
/**
|
|
947
|
-
* @internal
|
|
948
|
-
*/
|
|
949
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
950
|
-
}
|
|
951
908
|
/**
|
|
952
909
|
* <p>The input fails to satisfy the constraints specified by the Amazon Location service.</p>
|
|
953
910
|
* @public
|
|
@@ -1002,29 +959,6 @@ export declare const ValidationExceptionReason: {
|
|
|
1002
959
|
* @public
|
|
1003
960
|
*/
|
|
1004
961
|
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
1005
|
-
/**
|
|
1006
|
-
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
1007
|
-
* @public
|
|
1008
|
-
*/
|
|
1009
|
-
export declare class ValidationException extends __BaseException {
|
|
1010
|
-
readonly name: "ValidationException";
|
|
1011
|
-
readonly $fault: "client";
|
|
1012
|
-
Message: string | undefined;
|
|
1013
|
-
/**
|
|
1014
|
-
* <p>A message with the reason for the validation exception error.</p>
|
|
1015
|
-
* @public
|
|
1016
|
-
*/
|
|
1017
|
-
Reason: ValidationExceptionReason | undefined;
|
|
1018
|
-
/**
|
|
1019
|
-
* <p>The field where the invalid entry was detected.</p>
|
|
1020
|
-
* @public
|
|
1021
|
-
*/
|
|
1022
|
-
FieldList: ValidationExceptionField[] | undefined;
|
|
1023
|
-
/**
|
|
1024
|
-
* @internal
|
|
1025
|
-
*/
|
|
1026
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
1027
|
-
}
|
|
1028
962
|
/**
|
|
1029
963
|
* <p>Allow Options related to the route matrix.</p>
|
|
1030
964
|
* @public
|
|
@@ -4,5 +4,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { GeoRoutesExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
-
export * from "./models";
|
|
7
|
+
export * from "./models/errors";
|
|
8
|
+
export * from "./models/models_0";
|
|
8
9
|
export { GeoRoutesServiceException } from "./models/GeoRoutesServiceException";
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { GeoRoutesServiceException as __BaseException } from "./GeoRoutesServiceException";
|
|
3
|
+
import {
|
|
4
|
+
ValidationExceptionField,
|
|
5
|
+
ValidationExceptionReason,
|
|
6
|
+
} from "./models_0";
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
Message: string | undefined;
|
|
11
|
+
constructor(
|
|
12
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
13
|
+
);
|
|
14
|
+
}
|
|
15
|
+
export declare class InternalServerException extends __BaseException {
|
|
16
|
+
readonly name: "InternalServerException";
|
|
17
|
+
readonly $fault: "server";
|
|
18
|
+
$retryable: {};
|
|
19
|
+
Message: string | undefined;
|
|
20
|
+
constructor(
|
|
21
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
export declare class ThrottlingException extends __BaseException {
|
|
25
|
+
readonly name: "ThrottlingException";
|
|
26
|
+
readonly $fault: "client";
|
|
27
|
+
$retryable: {};
|
|
28
|
+
Message: string | undefined;
|
|
29
|
+
constructor(
|
|
30
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
export declare class ValidationException extends __BaseException {
|
|
34
|
+
readonly name: "ValidationException";
|
|
35
|
+
readonly $fault: "client";
|
|
36
|
+
Message: string | undefined;
|
|
37
|
+
Reason: ValidationExceptionReason | undefined;
|
|
38
|
+
FieldList: ValidationExceptionField[] | undefined;
|
|
39
|
+
constructor(
|
|
40
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
41
|
+
);
|
|
42
|
+
}
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { GeoRoutesServiceException as __BaseException } from "./GeoRoutesServiceException";
|
|
3
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
-
readonly name: "AccessDeniedException";
|
|
5
|
-
readonly $fault: "client";
|
|
6
|
-
Message: string | undefined;
|
|
7
|
-
constructor(
|
|
8
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
-
);
|
|
10
|
-
}
|
|
11
1
|
export interface IsolineAllowOptions {
|
|
12
2
|
Hot?: boolean | undefined;
|
|
13
3
|
Hov?: boolean | undefined;
|
|
@@ -262,24 +252,6 @@ export interface CalculateIsolinesResponse {
|
|
|
262
252
|
SnappedDestination?: number[] | undefined;
|
|
263
253
|
SnappedOrigin?: number[] | undefined;
|
|
264
254
|
}
|
|
265
|
-
export declare class InternalServerException extends __BaseException {
|
|
266
|
-
readonly name: "InternalServerException";
|
|
267
|
-
readonly $fault: "server";
|
|
268
|
-
$retryable: {};
|
|
269
|
-
Message: string | undefined;
|
|
270
|
-
constructor(
|
|
271
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
272
|
-
);
|
|
273
|
-
}
|
|
274
|
-
export declare class ThrottlingException extends __BaseException {
|
|
275
|
-
readonly name: "ThrottlingException";
|
|
276
|
-
readonly $fault: "client";
|
|
277
|
-
$retryable: {};
|
|
278
|
-
Message: string | undefined;
|
|
279
|
-
constructor(
|
|
280
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
281
|
-
);
|
|
282
|
-
}
|
|
283
255
|
export interface ValidationExceptionField {
|
|
284
256
|
Name: string | undefined;
|
|
285
257
|
Message: string | undefined;
|
|
@@ -294,16 +266,6 @@ export declare const ValidationExceptionReason: {
|
|
|
294
266
|
};
|
|
295
267
|
export type ValidationExceptionReason =
|
|
296
268
|
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
297
|
-
export declare class ValidationException extends __BaseException {
|
|
298
|
-
readonly name: "ValidationException";
|
|
299
|
-
readonly $fault: "client";
|
|
300
|
-
Message: string | undefined;
|
|
301
|
-
Reason: ValidationExceptionReason | undefined;
|
|
302
|
-
FieldList: ValidationExceptionField[] | undefined;
|
|
303
|
-
constructor(
|
|
304
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
305
|
-
);
|
|
306
|
-
}
|
|
307
269
|
export interface RouteMatrixAllowOptions {
|
|
308
270
|
Hot?: boolean | undefined;
|
|
309
271
|
Hov?: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-geo-routes",
|
|
3
3
|
"description": "AWS SDK for JavaScript Geo Routes Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-geo-routes",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|