@@ -490,8 +490,27 @@ export interface BatchGetDevicePositionResponse {
490
490
DevicePositions : DevicePosition [ ] | undefined ;
491
491
}
492
492
493
+ /**
494
+ * <p>A circle on the earth, as defined by a center point and a radius.</p>
495
+ */
496
+ export interface Circle {
497
+ /**
498
+ * <p>A single point geometry, specifying the center of the circle, using <a href="https://gisgeography.com/wgs84-world-geodetic-system/">WGS 84</a>
499
+ * coordinates, in the form <code>[longitude, latitude]</code>.</p>
500
+ */
501
+ Center : number [ ] | undefined ;
502
+
503
+ /**
504
+ * <p>The radius of the circle in meters. Must be greater than zero and no
505
+ * larger than 100,000 (100 kilometers).</p>
506
+ */
507
+ Radius : number | undefined ;
508
+ }
509
+
493
510
/**
494
511
* <p>Contains the geofence geometry details.</p>
512
+ * <p>A geofence geometry is made up of either a polygon or a circle. Can be either a
513
+ * polygon or a circle. Including both will return a validation error.</p>
495
514
* <note>
496
515
* <p>Amazon Location doesn't currently support polygons with holes, multipolygons, polygons
497
516
* that are wound clockwise, or that cross the antimeridian. </p>
@@ -507,8 +526,14 @@ export interface GeofenceGeometry {
507
526
* list their vertices in counter-clockwise order around the ring's center, where the left
508
527
* side is the polygon's exterior. Inner rings must list their vertices in clockwise order,
509
528
* where the left side is the polygon's interior.</p>
529
+ * <p>A geofence polygon can consist of between 4 and 1,000 vertices.</p>
510
530
*/
511
531
Polygon ?: number [ ] [ ] [ ] ;
532
+
533
+ /**
534
+ * <p>A circle on the earth, as defined by a center point and a radius.</p>
535
+ */
536
+ Circle ?: Circle ;
512
537
}
513
538
514
539
/**
@@ -521,9 +546,11 @@ export interface BatchPutGeofenceRequestEntry {
521
546
GeofenceId : string | undefined ;
522
547
523
548
/**
524
- * <p>Contains the polygon details to specify the position of the geofence.</p>
549
+ * <p>Contains the details of the position of the geofence. Can be either a
550
+ * polygon or a circle. Including both will return a validation error.</p>
525
551
* <note>
526
- * <p>Each <a href="https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html">geofence polygon</a> can have a maximum of 1,000 vertices.</p>
552
+ * <p>Each <a href="https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html">
553
+ * geofence polygon</a> can have a maximum of 1,000 vertices.</p>
527
554
* </note>
528
555
*/
529
556
Geometry : GeofenceGeometry | undefined ;
@@ -679,6 +706,11 @@ export interface TruckDimensions {
679
706
* <p>For example, <code>15.5</code>.</p>
680
707
* </li>
681
708
* </ul>
709
+ * <note>
710
+ * <p>
711
+ * For routes calculated with a HERE resource, this value must be between 0 and 300 meters.
712
+ * </p>
713
+ * </note>
682
714
*/
683
715
Length ?: number ;
684
716
@@ -689,6 +721,11 @@ export interface TruckDimensions {
689
721
* <p>For example, <code>4.5</code>.</p>
690
722
* </li>
691
723
* </ul>
724
+ * <note>
725
+ * <p>
726
+ * For routes calculated with a HERE resource, this value must be between 0 and 50 meters.
727
+ * </p>
728
+ * </note>
692
729
*/
693
730
Height ?: number ;
694
731
@@ -699,6 +736,11 @@ export interface TruckDimensions {
699
736
* <p>For example, <code>4.5</code>.</p>
700
737
* </li>
701
738
* </ul>
739
+ * <note>
740
+ * <p>
741
+ * For routes calculated with a HERE resource, this value must be between 0 and 50 meters.
742
+ * </p>
743
+ * </note>
702
744
*/
703
745
Width ?: number ;
704
746
@@ -847,7 +889,8 @@ export interface CalculateRouteRequest {
847
889
848
890
/**
849
891
* <p>Specifies the mode of transport when calculating a route. Used in estimating the speed
850
- * of travel and road compatibility.</p>
892
+ * of travel and road compatibility. You can choose <code>Car</code>, <code>Truck</code>,
893
+ * or <code>Walking</code> as options for the <code>TravelMode</code>.</p>
851
894
* <p>The <code>TravelMode</code> you specify also determines how you specify route
852
895
* preferences: </p>
853
896
* <ul>
@@ -1639,7 +1682,7 @@ export interface MapConfiguration {
1639
1682
* <ul>
1640
1683
* <li>
1641
1684
* <p>
1642
- * <code>VectorHereBerlin </code> – The HERE Berlin map style is a high contrast
1685
+ * <code>VectorHereContrast </code> – The HERE Contrast ( Berlin) map style is a high contrast
1643
1686
* detailed base map of the world that blends 3D and 2D rendering.</p>
1644
1687
* </li>
1645
1688
* <li>
@@ -1656,6 +1699,11 @@ export interface MapConfiguration {
1656
1699
* within transport and logistics.</p>
1657
1700
* </li>
1658
1701
* </ul>
1702
+ * <note>
1703
+ * <p>The <code>VectorHereContrast</code> style has been renamed from <code>VectorHereBerlin</code>.
1704
+ * <code>VectorHereBerlin</code> has been deprecated, but will continue to work in
1705
+ * applications that use it.</p>
1706
+ * </note>
1659
1707
*/
1660
1708
Style : string | undefined ;
1661
1709
}
@@ -2738,7 +2786,7 @@ export interface GetGeofenceResponse {
2738
2786
GeofenceId : string | undefined ;
2739
2787
2740
2788
/**
2741
- * <p>Contains the geofence geometry details describing a polygon.</p>
2789
+ * <p>Contains the geofence geometry details describing a polygon or a circle .</p>
2742
2790
*/
2743
2791
Geometry : GeofenceGeometry | undefined ;
2744
2792
@@ -2892,7 +2940,7 @@ export interface ListGeofenceResponseEntry {
2892
2940
GeofenceId : string | undefined ;
2893
2941
2894
2942
/**
2895
- * <p>Contains the geofence geometry details describing a polygon.</p>
2943
+ * <p>Contains the geofence geometry details describing a polygon or a circle .</p>
2896
2944
*/
2897
2945
Geometry : GeofenceGeometry | undefined ;
2898
2946
@@ -2966,9 +3014,11 @@ export interface PutGeofenceRequest {
2966
3014
GeofenceId : string | undefined ;
2967
3015
2968
3016
/**
2969
- * <p>Contains the polygon details to specify the position of the geofence.</p>
3017
+ * <p>Contains the details to specify the position of the geofence. Can be either a
3018
+ * polygon or a circle. Including both will return a validation error.</p>
2970
3019
* <note>
2971
- * <p>Each <a href="https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html">geofence polygon</a> can have a maximum of 1,000 vertices.</p>
3020
+ * <p>Each <a href="https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html">
3021
+ * geofence polygon</a> can have a maximum of 1,000 vertices.</p>
2972
3022
* </note>
2973
3023
*/
2974
3024
Geometry : GeofenceGeometry | undefined ;
@@ -3205,7 +3255,7 @@ export interface GetMapGlyphsRequest {
3205
3255
* <p>Valid font stacks for <a href="https://docs.aws.amazon.com/location/latest/developerguide/HERE.html">HERE Technologies</a> styles: </p>
3206
3256
* <ul>
3207
3257
* <li>
3208
- * <p>VectorHereBerlin – <code>Fira
3258
+ * <p>VectorHereContrast – <code>Fira
3209
3259
* GO Regular</code> | <code>Fira GO Bold</code>
3210
3260
* </p>
3211
3261
* </li>
@@ -4754,12 +4804,21 @@ export const BatchGetDevicePositionResponseFilterSensitiveLog = (obj: BatchGetDe
4754
4804
} ) ,
4755
4805
} ) ;
4756
4806
4807
+ /**
4808
+ * @internal
4809
+ */
4810
+ export const CircleFilterSensitiveLog = ( obj : Circle ) : any => ( {
4811
+ ...obj ,
4812
+ ...( obj . Center && { Center : SENSITIVE_STRING } ) ,
4813
+ } ) ;
4814
+
4757
4815
/**
4758
4816
* @internal
4759
4817
*/
4760
4818
export const GeofenceGeometryFilterSensitiveLog = ( obj : GeofenceGeometry ) : any => ( {
4761
4819
...obj ,
4762
4820
...( obj . Polygon && { Polygon : obj . Polygon . map ( ( item ) => SENSITIVE_STRING ) } ) ,
4821
+ ...( obj . Circle && { Circle : SENSITIVE_STRING } ) ,
4763
4822
} ) ;
4764
4823
4765
4824
/**
0 commit comments