@aws-sdk/client-geo-routes 3.1020.0 → 3.1022.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 -3
- package/dist-cjs/schemas/schemas_0.js +3 -5
- package/dist-es/models/enums.js +0 -3
- package/dist-es/schemas/schemas_0.js +3 -5
- package/dist-types/commands/CalculateIsolinesCommand.d.ts +1 -1
- package/dist-types/commands/CalculateRouteMatrixCommand.d.ts +1 -1
- package/dist-types/commands/CalculateRoutesCommand.d.ts +1 -1
- package/dist-types/commands/OptimizeWaypointsCommand.d.ts +1 -1
- package/dist-types/commands/SnapToRoadsCommand.d.ts +1 -1
- package/dist-types/models/enums.d.ts +0 -3
- package/dist-types/models/models_0.d.ts +307 -307
- package/dist-types/ts3.4/models/enums.d.ts +0 -3
- package/dist-types/ts3.4/models/models_0.d.ts +1 -1
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -460,14 +460,11 @@ const RoutePedestrianTravelStepType = {
|
|
|
460
460
|
ARRIVE: "Arrive",
|
|
461
461
|
CONTINUE: "Continue",
|
|
462
462
|
DEPART: "Depart",
|
|
463
|
-
EXIT: "Exit",
|
|
464
463
|
KEEP: "Keep",
|
|
465
|
-
RAMP: "Ramp",
|
|
466
464
|
ROUNDABOUT_ENTER: "RoundaboutEnter",
|
|
467
465
|
ROUNDABOUT_EXIT: "RoundaboutExit",
|
|
468
466
|
ROUNDABOUT_PASS: "RoundaboutPass",
|
|
469
467
|
TURN: "Turn",
|
|
470
|
-
U_TURN: "UTurn",
|
|
471
468
|
};
|
|
472
469
|
const RouteLegTravelMode = {
|
|
473
470
|
CAR: "Car",
|
|
@@ -364,7 +364,6 @@ const _RPTOS = "RoutePedestrianTravelOnlySummary";
|
|
|
364
364
|
const _RPTP = "RoutePassThroughPlace";
|
|
365
365
|
const _RPTS = "RoutePedestrianTravelStep";
|
|
366
366
|
const _RPTSL = "RoutePedestrianTravelStepList";
|
|
367
|
-
const _RPTST = "RoutePedestrianTravelStepType";
|
|
368
367
|
const _RPTW = "RoutePassThroughWaypoint";
|
|
369
368
|
const _RPTWL = "RoutePassThroughWaypointList";
|
|
370
369
|
const _RR = "RouteRoad";
|
|
@@ -706,7 +705,6 @@ var RouteLegType = [0, n0, _RLT, 8, 0];
|
|
|
706
705
|
var RouteMatrixHazardousCargoType = [0, n0, _RMHCT, 8, 0];
|
|
707
706
|
var RouteMatrixTruckType = [0, n0, _RMTT, 8, 0];
|
|
708
707
|
var RouteMatrixZoneCategory = [0, n0, _RMZC, 8, 0];
|
|
709
|
-
var RoutePedestrianTravelStepType = [0, n0, _RPTST, 8, 0];
|
|
710
708
|
var RouteRoadType = [0, n0, _RRT, 8, 0];
|
|
711
709
|
var RouteSideOfStreet = [0, n0, _RSOS, 8, 0];
|
|
712
710
|
var RouteSpanCarAccessAttribute = [0, n0, _RSCAA, 8, 0];
|
|
@@ -753,8 +751,8 @@ exports.CalculateIsolinesResponse$ = [3, n0, _CIRa,
|
|
|
753
751
|
];
|
|
754
752
|
exports.CalculateRouteMatrixRequest$ = [3, n0, _CRMR,
|
|
755
753
|
0,
|
|
756
|
-
[_De, _Or,
|
|
757
|
-
[[() => RouteMatrixDestinationList, 0], [() => RouteMatrixOriginList, 0], [() => exports.
|
|
754
|
+
[_De, _Or, _A, _Av, _DN, _DT, _E, _K, _ORF, _RB, _Tr, _TM, _TMO],
|
|
755
|
+
[[() => RouteMatrixDestinationList, 0], [() => RouteMatrixOriginList, 0], [() => exports.RouteMatrixAllowOptions$, 0], [() => exports.RouteMatrixAvoidanceOptions$, 0], [() => SensitiveBoolean, 0], [() => TimestampWithTimezoneOffset, 0], [() => exports.RouteMatrixExclusionOptions$, 0], [() => ApiKey, { [_hQ]: _k }], 0, [() => exports.RouteMatrixBoundary$, 0], [() => exports.RouteMatrixTrafficOptions$, 0], 0, [() => exports.RouteMatrixTravelModeOptions$, 0]], 2
|
|
758
756
|
];
|
|
759
757
|
exports.CalculateRouteMatrixResponse$ = [3, n0, _CRMRa,
|
|
760
758
|
0,
|
|
@@ -1304,7 +1302,7 @@ exports.RoutePedestrianTravelOnlySummary$ = [3, n0, _RPTOS,
|
|
|
1304
1302
|
exports.RoutePedestrianTravelStep$ = [3, n0, _RPTS,
|
|
1305
1303
|
0,
|
|
1306
1304
|
[_Du, _Ty, _CSD, _CR, _Di, _EN, _GO, _Ins, _KSD, _NR, _RESDo, _RESDou, _RPSD, _Si, _TSD],
|
|
1307
|
-
[[() => DurationSeconds, 0],
|
|
1305
|
+
[[() => DurationSeconds, 0], 0, [() => exports.RouteContinueStepDetails$, 0], [() => exports.RouteRoad$, 0], [() => DistanceMeters, 0], [() => LocalizedStringList, 0], 1, [() => SensitiveString, 0], [() => exports.RouteKeepStepDetails$, 0], [() => exports.RouteRoad$, 0], [() => exports.RouteRoundaboutEnterStepDetails$, 0], [() => exports.RouteRoundaboutExitStepDetails$, 0], [() => exports.RouteRoundaboutPassStepDetails$, 0], [() => exports.RouteSignpost$, 0], [() => exports.RouteTurnStepDetails$, 0]], 2
|
|
1308
1306
|
];
|
|
1309
1307
|
exports.RouteRampStepDetails$ = [3, n0, _RRSD,
|
|
1310
1308
|
0,
|
package/dist-es/models/enums.js
CHANGED
|
@@ -274,14 +274,11 @@ export const RoutePedestrianTravelStepType = {
|
|
|
274
274
|
ARRIVE: "Arrive",
|
|
275
275
|
CONTINUE: "Continue",
|
|
276
276
|
DEPART: "Depart",
|
|
277
|
-
EXIT: "Exit",
|
|
278
277
|
KEEP: "Keep",
|
|
279
|
-
RAMP: "Ramp",
|
|
280
278
|
ROUNDABOUT_ENTER: "RoundaboutEnter",
|
|
281
279
|
ROUNDABOUT_EXIT: "RoundaboutExit",
|
|
282
280
|
ROUNDABOUT_PASS: "RoundaboutPass",
|
|
283
281
|
TURN: "Turn",
|
|
284
|
-
U_TURN: "UTurn",
|
|
285
282
|
};
|
|
286
283
|
export const RouteLegTravelMode = {
|
|
287
284
|
CAR: "Car",
|
|
@@ -357,7 +357,6 @@ const _RPTOS = "RoutePedestrianTravelOnlySummary";
|
|
|
357
357
|
const _RPTP = "RoutePassThroughPlace";
|
|
358
358
|
const _RPTS = "RoutePedestrianTravelStep";
|
|
359
359
|
const _RPTSL = "RoutePedestrianTravelStepList";
|
|
360
|
-
const _RPTST = "RoutePedestrianTravelStepType";
|
|
361
360
|
const _RPTW = "RoutePassThroughWaypoint";
|
|
362
361
|
const _RPTWL = "RoutePassThroughWaypointList";
|
|
363
362
|
const _RR = "RouteRoad";
|
|
@@ -699,7 +698,6 @@ var RouteLegType = [0, n0, _RLT, 8, 0];
|
|
|
699
698
|
var RouteMatrixHazardousCargoType = [0, n0, _RMHCT, 8, 0];
|
|
700
699
|
var RouteMatrixTruckType = [0, n0, _RMTT, 8, 0];
|
|
701
700
|
var RouteMatrixZoneCategory = [0, n0, _RMZC, 8, 0];
|
|
702
|
-
var RoutePedestrianTravelStepType = [0, n0, _RPTST, 8, 0];
|
|
703
701
|
var RouteRoadType = [0, n0, _RRT, 8, 0];
|
|
704
702
|
var RouteSideOfStreet = [0, n0, _RSOS, 8, 0];
|
|
705
703
|
var RouteSpanCarAccessAttribute = [0, n0, _RSCAA, 8, 0];
|
|
@@ -746,8 +744,8 @@ export var CalculateIsolinesResponse$ = [3, n0, _CIRa,
|
|
|
746
744
|
];
|
|
747
745
|
export var CalculateRouteMatrixRequest$ = [3, n0, _CRMR,
|
|
748
746
|
0,
|
|
749
|
-
[_De, _Or,
|
|
750
|
-
[[() => RouteMatrixDestinationList, 0], [() => RouteMatrixOriginList, 0], [() =>
|
|
747
|
+
[_De, _Or, _A, _Av, _DN, _DT, _E, _K, _ORF, _RB, _Tr, _TM, _TMO],
|
|
748
|
+
[[() => RouteMatrixDestinationList, 0], [() => RouteMatrixOriginList, 0], [() => RouteMatrixAllowOptions$, 0], [() => RouteMatrixAvoidanceOptions$, 0], [() => SensitiveBoolean, 0], [() => TimestampWithTimezoneOffset, 0], [() => RouteMatrixExclusionOptions$, 0], [() => ApiKey, { [_hQ]: _k }], 0, [() => RouteMatrixBoundary$, 0], [() => RouteMatrixTrafficOptions$, 0], 0, [() => RouteMatrixTravelModeOptions$, 0]], 2
|
|
751
749
|
];
|
|
752
750
|
export var CalculateRouteMatrixResponse$ = [3, n0, _CRMRa,
|
|
753
751
|
0,
|
|
@@ -1297,7 +1295,7 @@ export var RoutePedestrianTravelOnlySummary$ = [3, n0, _RPTOS,
|
|
|
1297
1295
|
export var RoutePedestrianTravelStep$ = [3, n0, _RPTS,
|
|
1298
1296
|
0,
|
|
1299
1297
|
[_Du, _Ty, _CSD, _CR, _Di, _EN, _GO, _Ins, _KSD, _NR, _RESDo, _RESDou, _RPSD, _Si, _TSD],
|
|
1300
|
-
[[() => DurationSeconds, 0],
|
|
1298
|
+
[[() => DurationSeconds, 0], 0, [() => RouteContinueStepDetails$, 0], [() => RouteRoad$, 0], [() => DistanceMeters, 0], [() => LocalizedStringList, 0], 1, [() => SensitiveString, 0], [() => RouteKeepStepDetails$, 0], [() => RouteRoad$, 0], [() => RouteRoundaboutEnterStepDetails$, 0], [() => RouteRoundaboutExitStepDetails$, 0], [() => RouteRoundaboutPassStepDetails$, 0], [() => RouteSignpost$, 0], [() => RouteTurnStepDetails$, 0]], 2
|
|
1301
1299
|
];
|
|
1302
1300
|
export var RouteRampStepDetails$ = [3, n0, _RRSD,
|
|
1303
1301
|
0,
|
|
@@ -27,7 +27,7 @@ declare const CalculateIsolinesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>Calculates areas that can be reached within specified time or distance thresholds from a given point. For example, you can use this operation to determine the area within a 30-minute drive of a store location, find neighborhoods within walking distance of a school, or identify delivery zones based on drive time.</p> <p>Isolines (also known as isochrones for time-based calculations) are useful for various applications including:</p> <ul> <li> <p>Service area visualization - Show customers the area you can serve within promised delivery times</p> </li> <li> <p>Site selection - Analyze potential business locations based on population within travel distance</p> </li> <li> <p>Site selection - Determine areas that can be reached within specified response times</p> </li> </ul> <note> <p>Route preferences such as avoiding toll roads or ferries are treated as preferences rather than absolute restrictions. If a viable route cannot be calculated while honoring all preferences, some may be ignored.</p> </note> <p>For more information, see <a href="https://docs.aws.amazon.com/location/latest/developerguide/calculate-isolines.html">Calculate isolines</a> in the <i>Amazon Location Service Developer Guide</i>.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const CalculateRouteMatrixCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p> Use <code>CalculateRouteMatrix</code> to compute results for all pairs of Origins to Destinations. Each row corresponds to one entry in Origins. Each entry in the row corresponds to the route from that entry in Origins to an entry in Destinations positions.</p>
|
|
30
|
+
* <p> Use <code>CalculateRouteMatrix</code> to compute results for all pairs of Origins to Destinations. Each row corresponds to one entry in Origins. Each entry in the row corresponds to the route from that entry in Origins to an entry in Destinations positions.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/location/latest/developerguide/calculate-route-matrix.html">Calculate route matrix</a> in the <i>Amazon Location Service Developer Guide</i>.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const CalculateRoutesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p> <code>CalculateRoutes</code> computes routes given the following required parameters: <code>Origin</code> and <code>Destination</code>.</p>
|
|
30
|
+
* <p> <code>CalculateRoutes</code> computes routes given the following required parameters: <code>Origin</code> and <code>Destination</code>.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/location/latest/developerguide/calculate-routes.html">Calculate routes</a> in the <i>Amazon Location Service Developer Guide</i>.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const OptimizeWaypointsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p> <code>OptimizeWaypoints</code> calculates the optimal order to travel between a set of waypoints to minimize either the travel time or the distance travelled during the journey, based on road network restrictions and the traffic pattern data.</p>
|
|
30
|
+
* <p> <code>OptimizeWaypoints</code> calculates the optimal order to travel between a set of waypoints to minimize either the travel time or the distance travelled during the journey, based on road network restrictions and the traffic pattern data.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/location/latest/developerguide/actions-optimize-waypoints.html">Optimize waypoints</a> in the <i>Amazon Location Service Developer Guide</i>.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const SnapToRoadsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p> <code>SnapToRoads</code> matches GPS trace to roads most likely traveled on.</p>
|
|
30
|
+
* <p> <code>SnapToRoads</code> matches GPS trace to roads most likely traveled on.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/location/latest/developerguide/snap-to-roads.html">Snap to Roads</a> in the <i>Amazon Location Service Developer Guide</i>.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -628,14 +628,11 @@ export declare const RoutePedestrianTravelStepType: {
|
|
|
628
628
|
readonly ARRIVE: "Arrive";
|
|
629
629
|
readonly CONTINUE: "Continue";
|
|
630
630
|
readonly DEPART: "Depart";
|
|
631
|
-
readonly EXIT: "Exit";
|
|
632
631
|
readonly KEEP: "Keep";
|
|
633
|
-
readonly RAMP: "Ramp";
|
|
634
632
|
readonly ROUNDABOUT_ENTER: "RoundaboutEnter";
|
|
635
633
|
readonly ROUNDABOUT_EXIT: "RoundaboutExit";
|
|
636
634
|
readonly ROUNDABOUT_PASS: "RoundaboutPass";
|
|
637
635
|
readonly TURN: "Turn";
|
|
638
|
-
readonly U_TURN: "UTurn";
|
|
639
636
|
};
|
|
640
637
|
/**
|
|
641
638
|
* @public
|