@aws-sdk/client-geo-routes 3.738.0 → 3.740.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/README.md +8 -6
- package/dist-cjs/models/models_0.js +8 -2
- package/dist-cjs/protocols/Aws_restJson1.js +2 -0
- package/dist-es/models/models_0.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-types/GeoRoutes.d.ts +8 -6
- package/dist-types/GeoRoutesClient.d.ts +8 -6
- package/dist-types/commands/CalculateIsolinesCommand.d.ts +2 -1
- package/dist-types/commands/CalculateRouteMatrixCommand.d.ts +6 -4
- package/dist-types/commands/CalculateRoutesCommand.d.ts +5 -3
- package/dist-types/commands/OptimizeWaypointsCommand.d.ts +13 -4
- package/dist-types/commands/SnapToRoadsCommand.d.ts +4 -2
- package/dist-types/index.d.ts +8 -6
- package/dist-types/models/models_0.d.ts +588 -281
- package/dist-types/ts3.4/models/models_0.d.ts +19 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,13 +6,14 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript GeoRoutes Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>With the Amazon Location Routes API you can calculate
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
<p>With the Amazon Location Routes API you can calculate routes and estimate travel time
|
|
10
|
+
based on up-to-date road network and live traffic information.</p>
|
|
11
|
+
<p>Calculate optimal travel routes and estimate travel times using up-to-date road network
|
|
12
|
+
and traffic data. Key features include:</p>
|
|
13
13
|
<ul>
|
|
14
14
|
<li>
|
|
15
|
-
<p>Point-to-point routing with estimated travel time, distance, and turn-by-turn
|
|
15
|
+
<p>Point-to-point routing with estimated travel time, distance, and turn-by-turn
|
|
16
|
+
directions</p>
|
|
16
17
|
</li>
|
|
17
18
|
<li>
|
|
18
19
|
<p>Multi-point route optimization to minimize travel time or distance</p>
|
|
@@ -21,7 +22,8 @@ traffic information.</p>
|
|
|
21
22
|
<p>Route matrices for efficient multi-destination planning</p>
|
|
22
23
|
</li>
|
|
23
24
|
<li>
|
|
24
|
-
<p>Isoline calculations to determine reachable areas within specified time or
|
|
25
|
+
<p>Isoline calculations to determine reachable areas within specified time or
|
|
26
|
+
distance thresholds</p>
|
|
25
27
|
</li>
|
|
26
28
|
<li>
|
|
27
29
|
<p>Map-matching to align GPS traces with the road network</p>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RouteVehicleIncidentType = exports.RouteVehicleIncidentSeverity = exports.RouteLegType = exports.RouteLegTravelMode = exports.RoutePedestrianTravelStepType = exports.RouteTurnIntensity = exports.RouteSteeringDirection = exports.RouteRoadType = exports.RouteDirection = exports.RouteSpanRoadAttribute = exports.RouteSpanPedestrianAccessAttribute = exports.RoutePedestrianNoticeCode = exports.RouteSideOfStreet = exports.RouteFerryTravelStepType = exports.RouteFerryNoticeCode = exports.RouteFerryBeforeTravelStepType = exports.RouteFerryAfterTravelStepType = exports.RouteNoticeImpact = exports.RouteResponseNoticeCode = exports.RouteTravelStepType = exports.RouteTruckType = exports.RouteHazardousCargoType = exports.RouteEngineType = exports.RouteTravelMode = exports.RouteTollVehicleCategory = exports.RouteSpanAdditionalFeature = exports.RouteLegAdditionalFeature = exports.MeasurementSystem = exports.RouteZoneCategory = exports.RouteMatrixErrorCode = exports.RouteMatrixTruckType = exports.RouteMatrixHazardousCargoType = exports.RouteMatrixTravelMode = exports.RouteMatrixZoneCategory = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.InternalServerException = exports.IsolineTruckType = exports.IsolineHazardousCargoType = exports.IsolineEngineType = exports.IsolineTravelMode = exports.TrafficUsage = exports.RoutingObjective = exports.IsolineOptimizationObjective = exports.GeometryFormat = exports.SideOfStreetMatchingStrategy = exports.MatchingStrategy = exports.IsolineZoneCategory = exports.AccessDeniedException = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.SnapToRoadsResponseFilterSensitiveLog = exports.RoadSnapSnappedTracePointFilterSensitiveLog = exports.RoadSnapSnappedGeometryFilterSensitiveLog = exports.SnapToRoadsRequestFilterSensitiveLog = exports.RoadSnapTracePointFilterSensitiveLog = exports.OptimizeWaypointsResponseFilterSensitiveLog = exports.WaypointOptimizationOptimizedWaypointFilterSensitiveLog = exports.WaypointOptimizationImpedingWaypointFilterSensitiveLog = exports.OptimizeWaypointsRequestFilterSensitiveLog = exports.WaypointOptimizationWaypointFilterSensitiveLog = exports.WaypointOptimizationDestinationOptionsFilterSensitiveLog = exports.WaypointOptimizationSideOfStreetOptionsFilterSensitiveLog = exports.WaypointOptimizationAvoidanceOptionsFilterSensitiveLog = exports.WaypointOptimizationAvoidanceAreaFilterSensitiveLog = exports.WaypointOptimizationAvoidanceAreaGeometryFilterSensitiveLog = exports.CalculateRoutesResponseFilterSensitiveLog = exports.RouteFilterSensitiveLog = exports.RouteLegFilterSensitiveLog = exports.RouteVehicleLegDetailsFilterSensitiveLog = exports.RouteTollFilterSensitiveLog = exports.RouteTollPaymentSiteFilterSensitiveLog = exports.RouteVehicleDepartureFilterSensitiveLog = exports.RouteVehicleArrivalFilterSensitiveLog = exports.RouteVehiclePlaceFilterSensitiveLog = exports.RoutePedestrianLegDetailsFilterSensitiveLog = exports.RoutePedestrianDepartureFilterSensitiveLog = exports.RoutePedestrianArrivalFilterSensitiveLog = exports.RoutePedestrianPlaceFilterSensitiveLog = exports.RouteLegGeometryFilterSensitiveLog = exports.RouteFerryLegDetailsFilterSensitiveLog = exports.RoutePassThroughWaypointFilterSensitiveLog = exports.RoutePassThroughPlaceFilterSensitiveLog = exports.RouteFerryDepartureFilterSensitiveLog = exports.RouteFerryArrivalFilterSensitiveLog = exports.RouteFerryPlaceFilterSensitiveLog = exports.CalculateRoutesRequestFilterSensitiveLog = exports.RouteWaypointFilterSensitiveLog = exports.RouteOriginOptionsFilterSensitiveLog = exports.RouteDestinationOptionsFilterSensitiveLog = exports.RouteSideOfStreetOptionsFilterSensitiveLog = exports.RouteMatchingOptionsFilterSensitiveLog = exports.RouteAvoidanceOptionsFilterSensitiveLog = exports.RouteAvoidanceAreaFilterSensitiveLog = void 0;
|
|
4
|
+
exports.CalculateRouteMatrixResponseFilterSensitiveLog = exports.CalculateRouteMatrixRequestFilterSensitiveLog = exports.RouteMatrixBoundaryFilterSensitiveLog = exports.RouteMatrixBoundaryGeometryFilterSensitiveLog = exports.CircleFilterSensitiveLog = exports.RouteMatrixOriginFilterSensitiveLog = exports.RouteMatrixOriginOptionsFilterSensitiveLog = exports.RouteMatrixDestinationFilterSensitiveLog = exports.RouteMatrixDestinationOptionsFilterSensitiveLog = exports.RouteMatrixSideOfStreetOptionsFilterSensitiveLog = exports.RouteMatrixMatchingOptionsFilterSensitiveLog = exports.RouteMatrixAvoidanceOptionsFilterSensitiveLog = exports.RouteMatrixAvoidanceAreaFilterSensitiveLog = exports.RouteMatrixAvoidanceAreaGeometryFilterSensitiveLog = exports.CalculateIsolinesResponseFilterSensitiveLog = exports.IsolineFilterSensitiveLog = exports.IsolineShapeGeometryFilterSensitiveLog = exports.IsolineConnectionFilterSensitiveLog = exports.IsolineConnectionGeometryFilterSensitiveLog = exports.CalculateIsolinesRequestFilterSensitiveLog = exports.IsolineOriginOptionsFilterSensitiveLog = exports.IsolineDestinationOptionsFilterSensitiveLog = exports.IsolineSideOfStreetOptionsFilterSensitiveLog = exports.IsolineMatchingOptionsFilterSensitiveLog = exports.IsolineAvoidanceOptionsFilterSensitiveLog = exports.IsolineAvoidanceAreaFilterSensitiveLog = exports.IsolineAvoidanceAreaGeometryFilterSensitiveLog = exports.PolylineCorridorFilterSensitiveLog = exports.CorridorFilterSensitiveLog = exports.RoadSnapNoticeCode = exports.RoadSnapHazardousCargoType = exports.RoadSnapTravelMode = exports.WaypointOptimizationConstraint = exports.WaypointOptimizationTruckType = exports.WaypointOptimizationHazardousCargoType = exports.WaypointOptimizationTravelMode = exports.WaypointOptimizationSequencingObjective = exports.WaypointOptimizationServiceTimeTreatment = exports.WaypointOptimizationClusteringAlgorithm = exports.DayOfWeek = exports.RouteVehicleTravelStepType = exports.RouteTollPaymentMethod = exports.RouteTollPassValidityPeriodType = exports.RouteSpanTruckAccessAttribute = exports.RouteSpanScooterAccessAttribute = exports.RouteSpanRailwayCrossingAttribute = exports.RouteSpanGateAttribute = exports.RouteSpanCarAccessAttribute = exports.RouteWeightConstraintType = exports.RouteVehicleNoticeCode = void 0;
|
|
5
|
+
exports.SnapToRoadsResponseFilterSensitiveLog = exports.RoadSnapSnappedTracePointFilterSensitiveLog = exports.RoadSnapSnappedGeometryFilterSensitiveLog = exports.SnapToRoadsRequestFilterSensitiveLog = exports.RoadSnapTracePointFilterSensitiveLog = exports.OptimizeWaypointsResponseFilterSensitiveLog = exports.WaypointOptimizationOptimizedWaypointFilterSensitiveLog = exports.WaypointOptimizationImpedingWaypointFilterSensitiveLog = exports.OptimizeWaypointsRequestFilterSensitiveLog = exports.WaypointOptimizationWaypointFilterSensitiveLog = exports.WaypointOptimizationDestinationOptionsFilterSensitiveLog = exports.WaypointOptimizationSideOfStreetOptionsFilterSensitiveLog = exports.WaypointOptimizationAvoidanceOptionsFilterSensitiveLog = exports.WaypointOptimizationAvoidanceAreaFilterSensitiveLog = exports.WaypointOptimizationAvoidanceAreaGeometryFilterSensitiveLog = exports.CalculateRoutesResponseFilterSensitiveLog = exports.RouteFilterSensitiveLog = exports.RouteLegFilterSensitiveLog = exports.RouteVehicleLegDetailsFilterSensitiveLog = exports.RouteTollFilterSensitiveLog = exports.RouteTollPaymentSiteFilterSensitiveLog = exports.RouteVehicleDepartureFilterSensitiveLog = exports.RouteVehicleArrivalFilterSensitiveLog = exports.RouteVehiclePlaceFilterSensitiveLog = exports.RoutePedestrianLegDetailsFilterSensitiveLog = exports.RoutePedestrianDepartureFilterSensitiveLog = exports.RoutePedestrianArrivalFilterSensitiveLog = exports.RoutePedestrianPlaceFilterSensitiveLog = exports.RouteLegGeometryFilterSensitiveLog = exports.RouteFerryLegDetailsFilterSensitiveLog = exports.RoutePassThroughWaypointFilterSensitiveLog = exports.RoutePassThroughPlaceFilterSensitiveLog = exports.RouteFerryDepartureFilterSensitiveLog = exports.RouteFerryArrivalFilterSensitiveLog = exports.RouteFerryPlaceFilterSensitiveLog = exports.CalculateRoutesRequestFilterSensitiveLog = exports.RouteWaypointFilterSensitiveLog = exports.RouteOriginOptionsFilterSensitiveLog = exports.RouteDestinationOptionsFilterSensitiveLog = exports.RouteSideOfStreetOptionsFilterSensitiveLog = exports.RouteMatchingOptionsFilterSensitiveLog = exports.RouteAvoidanceOptionsFilterSensitiveLog = exports.RouteAvoidanceAreaFilterSensitiveLog = exports.RouteAvoidanceAreaGeometryFilterSensitiveLog = void 0;
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
const GeoRoutesServiceException_1 = require("./GeoRoutesServiceException");
|
|
8
8
|
class AccessDeniedException extends GeoRoutesServiceException_1.GeoRoutesServiceException {
|
|
@@ -279,6 +279,7 @@ exports.RouteFerryNoticeCode = {
|
|
|
279
279
|
ACCURATE_POLYLINE_UNAVAILABLE: "AccuratePolylineUnavailable",
|
|
280
280
|
NO_SCHEDULE: "NoSchedule",
|
|
281
281
|
OTHER: "Other",
|
|
282
|
+
SEASONAL_CLOSURE: "SeasonalClosure",
|
|
282
283
|
VIOLATED_AVOID_FERRY: "ViolatedAvoidFerry",
|
|
283
284
|
VIOLATED_AVOID_RAIL_FERRY: "ViolatedAvoidRailFerry",
|
|
284
285
|
};
|
|
@@ -356,6 +357,7 @@ exports.RoutePedestrianTravelStepType = {
|
|
|
356
357
|
};
|
|
357
358
|
exports.RouteLegTravelMode = {
|
|
358
359
|
CAR: "Car",
|
|
360
|
+
CAR_SHUTTLE_TRAIN: "CarShuttleTrain",
|
|
359
361
|
FERRY: "Ferry",
|
|
360
362
|
PEDESTRIAN: "Pedestrian",
|
|
361
363
|
SCOOTER: "Scooter",
|
|
@@ -484,6 +486,10 @@ exports.DayOfWeek = {
|
|
|
484
486
|
TUESDAY: "Tuesday",
|
|
485
487
|
WEDNESDAY: "Wednesday",
|
|
486
488
|
};
|
|
489
|
+
exports.WaypointOptimizationClusteringAlgorithm = {
|
|
490
|
+
DRIVING_DISTANCE: "DrivingDistance",
|
|
491
|
+
TOPOLOGY_SEGMENT: "TopologySegment",
|
|
492
|
+
};
|
|
487
493
|
exports.WaypointOptimizationServiceTimeTreatment = {
|
|
488
494
|
REST: "Rest",
|
|
489
495
|
WORK: "Work",
|
|
@@ -119,6 +119,7 @@ const se_OptimizeWaypointsCommand = async (input, context) => {
|
|
|
119
119
|
let body;
|
|
120
120
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
121
121
|
Avoid: (_) => se_WaypointOptimizationAvoidanceOptions(_, context),
|
|
122
|
+
Clustering: (_) => (0, smithy_client_1._json)(_),
|
|
122
123
|
DepartureTime: [],
|
|
123
124
|
Destination: (_) => se_Position(_, context),
|
|
124
125
|
DestinationOptions: (_) => se_WaypointOptimizationDestinationOptions(_, context),
|
|
@@ -1503,6 +1504,7 @@ const de_WaypointOptimizationImpedingWaypointList = (output, context) => {
|
|
|
1503
1504
|
const de_WaypointOptimizationOptimizedWaypoint = (output, context) => {
|
|
1504
1505
|
return (0, smithy_client_1.take)(output, {
|
|
1505
1506
|
ArrivalTime: smithy_client_1.expectString,
|
|
1507
|
+
ClusterIndex: smithy_client_1.expectInt32,
|
|
1506
1508
|
DepartureTime: smithy_client_1.expectString,
|
|
1507
1509
|
Id: smithy_client_1.expectString,
|
|
1508
1510
|
Position: (_) => de_Position(_, context),
|
|
@@ -270,6 +270,7 @@ export const RouteFerryNoticeCode = {
|
|
|
270
270
|
ACCURATE_POLYLINE_UNAVAILABLE: "AccuratePolylineUnavailable",
|
|
271
271
|
NO_SCHEDULE: "NoSchedule",
|
|
272
272
|
OTHER: "Other",
|
|
273
|
+
SEASONAL_CLOSURE: "SeasonalClosure",
|
|
273
274
|
VIOLATED_AVOID_FERRY: "ViolatedAvoidFerry",
|
|
274
275
|
VIOLATED_AVOID_RAIL_FERRY: "ViolatedAvoidRailFerry",
|
|
275
276
|
};
|
|
@@ -347,6 +348,7 @@ export const RoutePedestrianTravelStepType = {
|
|
|
347
348
|
};
|
|
348
349
|
export const RouteLegTravelMode = {
|
|
349
350
|
CAR: "Car",
|
|
351
|
+
CAR_SHUTTLE_TRAIN: "CarShuttleTrain",
|
|
350
352
|
FERRY: "Ferry",
|
|
351
353
|
PEDESTRIAN: "Pedestrian",
|
|
352
354
|
SCOOTER: "Scooter",
|
|
@@ -475,6 +477,10 @@ export const DayOfWeek = {
|
|
|
475
477
|
TUESDAY: "Tuesday",
|
|
476
478
|
WEDNESDAY: "Wednesday",
|
|
477
479
|
};
|
|
480
|
+
export const WaypointOptimizationClusteringAlgorithm = {
|
|
481
|
+
DRIVING_DISTANCE: "DrivingDistance",
|
|
482
|
+
TOPOLOGY_SEGMENT: "TopologySegment",
|
|
483
|
+
};
|
|
478
484
|
export const WaypointOptimizationServiceTimeTreatment = {
|
|
479
485
|
REST: "Rest",
|
|
480
486
|
WORK: "Work",
|
|
@@ -113,6 +113,7 @@ export const se_OptimizeWaypointsCommand = async (input, context) => {
|
|
|
113
113
|
let body;
|
|
114
114
|
body = JSON.stringify(take(input, {
|
|
115
115
|
Avoid: (_) => se_WaypointOptimizationAvoidanceOptions(_, context),
|
|
116
|
+
Clustering: (_) => _json(_),
|
|
116
117
|
DepartureTime: [],
|
|
117
118
|
Destination: (_) => se_Position(_, context),
|
|
118
119
|
DestinationOptions: (_) => se_WaypointOptimizationDestinationOptions(_, context),
|
|
@@ -1490,6 +1491,7 @@ const de_WaypointOptimizationImpedingWaypointList = (output, context) => {
|
|
|
1490
1491
|
const de_WaypointOptimizationOptimizedWaypoint = (output, context) => {
|
|
1491
1492
|
return take(output, {
|
|
1492
1493
|
ArrivalTime: __expectString,
|
|
1494
|
+
ClusterIndex: __expectInt32,
|
|
1493
1495
|
DepartureTime: __expectString,
|
|
1494
1496
|
Id: __expectString,
|
|
1495
1497
|
Position: (_) => de_Position(_, context),
|
|
@@ -38,13 +38,14 @@ export interface GeoRoutes {
|
|
|
38
38
|
snapToRoads(args: SnapToRoadsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SnapToRoadsCommandOutput) => void): void;
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
|
-
* <p>With the Amazon Location Routes API you can calculate
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
41
|
+
* <p>With the Amazon Location Routes API you can calculate routes and estimate travel time
|
|
42
|
+
* based on up-to-date road network and live traffic information.</p>
|
|
43
|
+
* <p>Calculate optimal travel routes and estimate travel times using up-to-date road network
|
|
44
|
+
* and traffic data. Key features include:</p>
|
|
45
45
|
* <ul>
|
|
46
46
|
* <li>
|
|
47
|
-
* <p>Point-to-point routing with estimated travel time, distance, and turn-by-turn
|
|
47
|
+
* <p>Point-to-point routing with estimated travel time, distance, and turn-by-turn
|
|
48
|
+
* directions</p>
|
|
48
49
|
* </li>
|
|
49
50
|
* <li>
|
|
50
51
|
* <p>Multi-point route optimization to minimize travel time or distance</p>
|
|
@@ -53,7 +54,8 @@ export interface GeoRoutes {
|
|
|
53
54
|
* <p>Route matrices for efficient multi-destination planning</p>
|
|
54
55
|
* </li>
|
|
55
56
|
* <li>
|
|
56
|
-
* <p>Isoline calculations to determine reachable areas within specified time or
|
|
57
|
+
* <p>Isoline calculations to determine reachable areas within specified time or
|
|
58
|
+
* distance thresholds</p>
|
|
57
59
|
* </li>
|
|
58
60
|
* <li>
|
|
59
61
|
* <p>Map-matching to align GPS traces with the road network</p>
|
|
@@ -174,13 +174,14 @@ export type GeoRoutesClientResolvedConfigType = __SmithyResolvedConfiguration<__
|
|
|
174
174
|
export interface GeoRoutesClientResolvedConfig extends GeoRoutesClientResolvedConfigType {
|
|
175
175
|
}
|
|
176
176
|
/**
|
|
177
|
-
* <p>With the Amazon Location Routes API you can calculate
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
*
|
|
177
|
+
* <p>With the Amazon Location Routes API you can calculate routes and estimate travel time
|
|
178
|
+
* based on up-to-date road network and live traffic information.</p>
|
|
179
|
+
* <p>Calculate optimal travel routes and estimate travel times using up-to-date road network
|
|
180
|
+
* and traffic data. Key features include:</p>
|
|
181
181
|
* <ul>
|
|
182
182
|
* <li>
|
|
183
|
-
* <p>Point-to-point routing with estimated travel time, distance, and turn-by-turn
|
|
183
|
+
* <p>Point-to-point routing with estimated travel time, distance, and turn-by-turn
|
|
184
|
+
* directions</p>
|
|
184
185
|
* </li>
|
|
185
186
|
* <li>
|
|
186
187
|
* <p>Multi-point route optimization to minimize travel time or distance</p>
|
|
@@ -189,7 +190,8 @@ export interface GeoRoutesClientResolvedConfig extends GeoRoutesClientResolvedCo
|
|
|
189
190
|
* <p>Route matrices for efficient multi-destination planning</p>
|
|
190
191
|
* </li>
|
|
191
192
|
* <li>
|
|
192
|
-
* <p>Isoline calculations to determine reachable areas within specified time or
|
|
193
|
+
* <p>Isoline calculations to determine reachable areas within specified time or
|
|
194
|
+
* distance thresholds</p>
|
|
193
195
|
* </li>
|
|
194
196
|
* <li>
|
|
195
197
|
* <p>Map-matching to align GPS traces with the road network</p>
|
|
@@ -287,7 +287,8 @@ declare const CalculateIsolinesCommand_base: {
|
|
|
287
287
|
* <p>You don't have sufficient access to perform this action.</p>
|
|
288
288
|
*
|
|
289
289
|
* @throws {@link InternalServerException} (server fault)
|
|
290
|
-
* <p>The request processing has failed because of an unknown error, exception or
|
|
290
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
291
|
+
* failure.</p>
|
|
291
292
|
*
|
|
292
293
|
* @throws {@link ThrottlingException} (client fault)
|
|
293
294
|
* <p>The request was denied due to request throttling.</p>
|
|
@@ -27,9 +27,10 @@ declare const CalculateRouteMatrixCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
*
|
|
32
|
-
*
|
|
30
|
+
* <p> Use <code>CalculateRouteMatrix</code> to compute results for all pairs of Origins to
|
|
31
|
+
* Destinations. Each row corresponds to one entry in Origins. Each entry in the row
|
|
32
|
+
* corresponds to the route from that entry in Origins to an entry in Destinations
|
|
33
|
+
* positions.</p>
|
|
33
34
|
* @example
|
|
34
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
36
|
* ```javascript
|
|
@@ -253,7 +254,8 @@ declare const CalculateRouteMatrixCommand_base: {
|
|
|
253
254
|
* <p>You don't have sufficient access to perform this action.</p>
|
|
254
255
|
*
|
|
255
256
|
* @throws {@link InternalServerException} (server fault)
|
|
256
|
-
* <p>The request processing has failed because of an unknown error, exception or
|
|
257
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
258
|
+
* failure.</p>
|
|
257
259
|
*
|
|
258
260
|
* @throws {@link ThrottlingException} (client fault)
|
|
259
261
|
* <p>The request was denied due to request throttling.</p>
|
|
@@ -27,8 +27,9 @@ declare const CalculateRoutesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
*
|
|
30
|
+
* <p>
|
|
31
|
+
* <code>CalculateRoutes</code> computes routes given the following required parameters:
|
|
32
|
+
* <code>Origin</code> and <code>Destination</code>.</p>
|
|
32
33
|
* @example
|
|
33
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
35
|
* ```javascript
|
|
@@ -941,7 +942,8 @@ declare const CalculateRoutesCommand_base: {
|
|
|
941
942
|
* <p>You don't have sufficient access to perform this action.</p>
|
|
942
943
|
*
|
|
943
944
|
* @throws {@link InternalServerException} (server fault)
|
|
944
|
-
* <p>The request processing has failed because of an unknown error, exception or
|
|
945
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
946
|
+
* failure.</p>
|
|
945
947
|
*
|
|
946
948
|
* @throws {@link ThrottlingException} (client fault)
|
|
947
949
|
* <p>The request was denied due to request throttling.</p>
|
|
@@ -27,9 +27,10 @@ declare const OptimizeWaypointsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
*
|
|
32
|
-
*
|
|
30
|
+
* <p>
|
|
31
|
+
* <code>OptimizeWaypoints</code> calculates the optimal order to travel between a set of
|
|
32
|
+
* waypoints to minimize either the travel time or the distance travelled during the journey,
|
|
33
|
+
* based on road network restrictions and the traffic pattern data.</p>
|
|
33
34
|
* @example
|
|
34
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
36
|
* ```javascript
|
|
@@ -55,6 +56,12 @@ declare const OptimizeWaypointsCommand_base: {
|
|
|
55
56
|
* Tunnels: true || false,
|
|
56
57
|
* UTurns: true || false,
|
|
57
58
|
* },
|
|
59
|
+
* Clustering: { // WaypointOptimizationClusteringOptions
|
|
60
|
+
* Algorithm: "STRING_VALUE", // required
|
|
61
|
+
* DrivingDistanceOptions: { // WaypointOptimizationDrivingDistanceOptions
|
|
62
|
+
* DrivingDistance: Number("long"), // required
|
|
63
|
+
* },
|
|
64
|
+
* },
|
|
58
65
|
* DepartureTime: "STRING_VALUE",
|
|
59
66
|
* Destination: [ // Position
|
|
60
67
|
* Number("double"),
|
|
@@ -195,6 +202,7 @@ declare const OptimizeWaypointsCommand_base: {
|
|
|
195
202
|
* // OptimizedWaypoints: [ // WaypointOptimizationOptimizedWaypointList // required
|
|
196
203
|
* // { // WaypointOptimizationOptimizedWaypoint
|
|
197
204
|
* // ArrivalTime: "STRING_VALUE",
|
|
205
|
+
* // ClusterIndex: Number("int"),
|
|
198
206
|
* // DepartureTime: "STRING_VALUE", // required
|
|
199
207
|
* // Id: "STRING_VALUE", // required
|
|
200
208
|
* // Position: [ // required
|
|
@@ -223,7 +231,8 @@ declare const OptimizeWaypointsCommand_base: {
|
|
|
223
231
|
* <p>You don't have sufficient access to perform this action.</p>
|
|
224
232
|
*
|
|
225
233
|
* @throws {@link InternalServerException} (server fault)
|
|
226
|
-
* <p>The request processing has failed because of an unknown error, exception or
|
|
234
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
235
|
+
* failure.</p>
|
|
227
236
|
*
|
|
228
237
|
* @throws {@link ThrottlingException} (client fault)
|
|
229
238
|
* <p>The request was denied due to request throttling.</p>
|
|
@@ -27,7 +27,8 @@ declare const SnapToRoadsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>
|
|
31
|
+
* <code>SnapToRoads</code> matches GPS trace to roads most likely traveled on.</p>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -112,7 +113,8 @@ declare const SnapToRoadsCommand_base: {
|
|
|
112
113
|
* <p>You don't have sufficient access to perform this action.</p>
|
|
113
114
|
*
|
|
114
115
|
* @throws {@link InternalServerException} (server fault)
|
|
115
|
-
* <p>The request processing has failed because of an unknown error, exception or
|
|
116
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
117
|
+
* failure.</p>
|
|
116
118
|
*
|
|
117
119
|
* @throws {@link ThrottlingException} (client fault)
|
|
118
120
|
* <p>The request was denied due to request throttling.</p>
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p>With the Amazon Location Routes API you can calculate
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
2
|
+
* <p>With the Amazon Location Routes API you can calculate routes and estimate travel time
|
|
3
|
+
* based on up-to-date road network and live traffic information.</p>
|
|
4
|
+
* <p>Calculate optimal travel routes and estimate travel times using up-to-date road network
|
|
5
|
+
* and traffic data. Key features include:</p>
|
|
6
6
|
* <ul>
|
|
7
7
|
* <li>
|
|
8
|
-
* <p>Point-to-point routing with estimated travel time, distance, and turn-by-turn
|
|
8
|
+
* <p>Point-to-point routing with estimated travel time, distance, and turn-by-turn
|
|
9
|
+
* directions</p>
|
|
9
10
|
* </li>
|
|
10
11
|
* <li>
|
|
11
12
|
* <p>Multi-point route optimization to minimize travel time or distance</p>
|
|
@@ -14,7 +15,8 @@
|
|
|
14
15
|
* <p>Route matrices for efficient multi-destination planning</p>
|
|
15
16
|
* </li>
|
|
16
17
|
* <li>
|
|
17
|
-
* <p>Isoline calculations to determine reachable areas within specified time or
|
|
18
|
+
* <p>Isoline calculations to determine reachable areas within specified time or
|
|
19
|
+
* distance thresholds</p>
|
|
18
20
|
* </li>
|
|
19
21
|
* <li>
|
|
20
22
|
* <p>Map-matching to align GPS traces with the road network</p>
|