@aws-sdk/client-geo-routes 3.738.0 → 3.741.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.
@@ -827,6 +827,7 @@ export declare const RouteFerryNoticeCode: {
827
827
  readonly ACCURATE_POLYLINE_UNAVAILABLE: "AccuratePolylineUnavailable";
828
828
  readonly NO_SCHEDULE: "NoSchedule";
829
829
  readonly OTHER: "Other";
830
+ readonly SEASONAL_CLOSURE: "SeasonalClosure";
830
831
  readonly VIOLATED_AVOID_FERRY: "ViolatedAvoidFerry";
831
832
  readonly VIOLATED_AVOID_RAIL_FERRY: "ViolatedAvoidRailFerry";
832
833
  };
@@ -1117,6 +1118,7 @@ export interface RoutePedestrianLegDetails {
1117
1118
  }
1118
1119
  export declare const RouteLegTravelMode: {
1119
1120
  readonly CAR: "Car";
1121
+ readonly CAR_SHUTTLE_TRAIN: "CarShuttleTrain";
1120
1122
  readonly FERRY: "Ferry";
1121
1123
  readonly PEDESTRIAN: "Pedestrian";
1122
1124
  readonly SCOOTER: "Scooter";
@@ -1548,6 +1550,21 @@ export interface WaypointOptimizationAvoidanceOptions {
1548
1550
  Tunnels?: boolean | undefined;
1549
1551
  UTurns?: boolean | undefined;
1550
1552
  }
1553
+ export declare const WaypointOptimizationClusteringAlgorithm: {
1554
+ readonly DRIVING_DISTANCE: "DrivingDistance";
1555
+ readonly TOPOLOGY_SEGMENT: "TopologySegment";
1556
+ };
1557
+ export type WaypointOptimizationClusteringAlgorithm =
1558
+ (typeof WaypointOptimizationClusteringAlgorithm)[keyof typeof WaypointOptimizationClusteringAlgorithm];
1559
+ export interface WaypointOptimizationDrivingDistanceOptions {
1560
+ DrivingDistance: number | undefined;
1561
+ }
1562
+ export interface WaypointOptimizationClusteringOptions {
1563
+ Algorithm: WaypointOptimizationClusteringAlgorithm | undefined;
1564
+ DrivingDistanceOptions?:
1565
+ | WaypointOptimizationDrivingDistanceOptions
1566
+ | undefined;
1567
+ }
1551
1568
  export interface WaypointOptimizationAccessHoursEntry {
1552
1569
  DayOfWeek: DayOfWeek | undefined;
1553
1570
  TimeOfDay: string | undefined;
@@ -1667,6 +1684,7 @@ export interface WaypointOptimizationWaypoint {
1667
1684
  }
1668
1685
  export interface OptimizeWaypointsRequest {
1669
1686
  Avoid?: WaypointOptimizationAvoidanceOptions | undefined;
1687
+ Clustering?: WaypointOptimizationClusteringOptions | undefined;
1670
1688
  DepartureTime?: string | undefined;
1671
1689
  Destination?: number[] | undefined;
1672
1690
  DestinationOptions?: WaypointOptimizationDestinationOptions | undefined;
@@ -1710,6 +1728,7 @@ export interface WaypointOptimizationImpedingWaypoint {
1710
1728
  }
1711
1729
  export interface WaypointOptimizationOptimizedWaypoint {
1712
1730
  ArrivalTime?: string | undefined;
1731
+ ClusterIndex?: number | undefined;
1713
1732
  DepartureTime: string | undefined;
1714
1733
  Id: string | undefined;
1715
1734
  Position: number[] | 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.738.0",
4
+ "version": "3.741.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.734.0",
24
- "@aws-sdk/credential-provider-node": "3.738.0",
24
+ "@aws-sdk/credential-provider-node": "3.741.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.734.0",