cdk-lambda-subminute 2.0.323 → 2.0.325

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.
@@ -836,6 +836,10 @@ declare namespace Location {
836
836
  export type CalculateRouteMatrixSummaryErrorCountInteger = number;
837
837
  export type CalculateRouteMatrixSummaryRouteCountInteger = number;
838
838
  export interface CalculateRouteRequest {
839
+ /**
840
+ * Specifies the desired time of arrival. Uses the given time to calculate the route. Otherwise, the best time of day to travel with the best traffic conditions is used to calculate the route. ArrivalTime is not supported Esri.
841
+ */
842
+ ArrivalTime?: Timestamp;
839
843
  /**
840
844
  * The name of the route calculator resource that you want to use to calculate the route.
841
845
  */
@@ -853,7 +857,7 @@ declare namespace Location {
853
857
  */
854
858
  DeparturePosition: Position;
855
859
  /**
856
- * Specifies the desired time of departure. Uses the given time to calculate the route. Otherwise, the best time of day to travel with the best traffic conditions is used to calculate the route. Setting a departure time in the past returns a 400 ValidationException error. In ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ. For example, 2020–07-2T12:15:20.000Z+01:00
860
+ * Specifies the desired time of departure. Uses the given time to calculate the route. Otherwise, the best time of day to travel with the best traffic conditions is used to calculate the route. In ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ. For example, 2020–07-2T12:15:20.000Z+01:00
857
861
  */
858
862
  DepartureTime?: Timestamp;
859
863
  /**
@@ -872,6 +876,10 @@ declare namespace Location {
872
876
  * The optional API key to authorize the request.
873
877
  */
874
878
  Key?: ApiKey;
879
+ /**
880
+ * Specifies the distance to optimize for when calculating a route.
881
+ */
882
+ OptimizeFor?: OptimizationMode;
875
883
  /**
876
884
  * Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility. You can choose Car, Truck, Walking, Bicycle or Motorcycle as options for the TravelMode. Bicycle and Motorcycle are only valid when using Grab as a data provider, and only within Southeast Asia. Truck is not available for Grab. For more details on the using Grab for routing, including areas of coverage, see GrabMaps in the Amazon Location Service Developer Guide. The TravelMode you specify also determines how you specify route preferences: If traveling by Car use the CarModeOptions parameter. If traveling by Truck use the TruckModeOptions parameter. Default Value: Car
877
885
  */
@@ -1907,7 +1915,7 @@ declare namespace Location {
1907
1915
  export type LinearRings = LinearRing[];
1908
1916
  export interface ListDevicePositionsRequest {
1909
1917
  /**
1910
- * The geomerty used to filter device positions.
1918
+ * The geometry used to filter device positions.
1911
1919
  */
1912
1920
  FilterGeometry?: TrackingFilterGeometry;
1913
1921
  /**
@@ -2352,6 +2360,7 @@ declare namespace Location {
2352
2360
  PoliticalView?: CountryCode3OrEmpty;
2353
2361
  }
2354
2362
  export type MapStyle = string;
2363
+ export type OptimizationMode = "FastestRoute"|"ShortestRoute"|string;
2355
2364
  export interface Place {
2356
2365
  /**
2357
2366
  * The numerical portion of an address, such as a building number.
@@ -2394,6 +2403,10 @@ declare namespace Location {
2394
2403
  * The name for a street or a road to identify a location. For example, Main Street.
2395
2404
  */
2396
2405
  Street?: String;
2406
+ /**
2407
+ * An area that's part of a larger municipality. For example, Blissville is a submunicipality in the Queen County in New York. This property supported by Esri and OpenData. The Esri property is district, and the OpenData property is borough.
2408
+ */
2409
+ SubMunicipality?: String;
2397
2410
  /**
2398
2411
  * A county, or an area that's part of a larger region. For example, Metro Vancouver.
2399
2412
  */
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.1516.0',
86
+ VERSION: '2.1518.0',
87
87
 
88
88
  /**
89
89
  * @api private