You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/client-location/src/Location.ts
+65-54
Original file line number
Diff line number
Diff line change
@@ -362,6 +362,10 @@ export class Location extends LocationClient {
362
362
* <p>Geofence evaluation uses the given device position. It does not account for the
363
363
* optional <code>Accuracy</code> of a <code>DevicePositionUpdate</code>.</p>
364
364
* </note>
365
+
* <note>
366
+
* <p>The <code>DeviceID</code> is used as a string to represent the device. You do not
367
+
* need to have a <code>Tracker</code> associated with the <code>DeviceID</code>.</p>
368
+
* </note>
365
369
*/
366
370
publicbatchEvaluateGeofences(
367
371
args: BatchEvaluateGeofencesCommandInput,
@@ -519,8 +523,9 @@ export class Location extends LocationClient {
519
523
* <ul>
520
524
* <li>
521
525
* <p>
522
-
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/departure-time.html">Specifying a departure time</a> using either <code>DepartureTime</code>
523
-
* or <code>DepartNow</code>. This calculates a route based on predictive traffic
526
+
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/departure-time.html">Specifying a
527
+
* departure time</a> using either <code>DepartureTime</code> or
528
+
* <code>DepartNow</code>. This calculates a route based on predictive traffic
524
529
* data at the given time. </p>
525
530
* <note>
526
531
* <p>You can't specify both <code>DepartureTime</code> and
@@ -530,9 +535,10 @@ export class Location extends LocationClient {
530
535
* </li>
531
536
* <li>
532
537
* <p>
533
-
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/travel-mode.html">Specifying a travel mode</a> using TravelMode sets the transportation
534
-
* mode used to calculate the routes. This also lets you specify additional route
535
-
* preferences in <code>CarModeOptions</code> if traveling by <code>Car</code>, or
538
+
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/travel-mode.html">Specifying a travel
539
+
* mode</a> using TravelMode sets the transportation mode used to calculate
540
+
* the routes. This also lets you specify additional route preferences in
541
+
* <code>CarModeOptions</code> if traveling by <code>Car</code>, or
536
542
* <code>TruckModeOptions</code> if traveling by <code>Truck</code>.</p>
537
543
* </li>
538
544
* </ul>
@@ -568,30 +574,31 @@ export class Location extends LocationClient {
568
574
569
575
/**
570
576
* <p>
571
-
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/calculate-route-matrix.html"> Calculates a
572
-
* route matrix</a> given the following required parameters:
573
-
* <code>DeparturePositions</code> and <code>DestinationPositions</code>.
574
-
* <code>CalculateRouteMatrix</code> calculates routes and returns the travel time and
577
+
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/calculate-route-matrix.html"> Calculates a route
578
+
* matrix</a> given the following required parameters:
579
+
* <code>DeparturePositions</code> and <code>DestinationPositions</code>.
580
+
* <code>CalculateRouteMatrix</code> calculates routes and returns the travel time and
575
581
* travel distance from each departure position to each destination position in the
576
-
* request. For example, given departure positions A and B, and destination positions
577
-
* X and Y, <code>CalculateRouteMatrix</code> will return time and distance for routes
578
-
* from A to X, A to Y, B to X, and B to Y (in that order). The number of results returned
579
-
* (and routes calculated) will be the number of <code>DeparturePositions</code>
580
-
* times the number of <code>DestinationPositions</code>.</p>
582
+
* request. For example, given departure positions A and B, and destination positions X and
583
+
* Y, <code>CalculateRouteMatrix</code> will return time and distance for routes from A to
584
+
* X, A to Y, B to X, and B to Y (in that order). The number of results returned (and
585
+
* routes calculated) will be the number of <code>DeparturePositions</code> times the
586
+
* number of <code>DestinationPositions</code>.</p>
581
587
* <note>
582
-
* <p>Your account is charged for each route calculated, not the number of requests.</p>
588
+
* <p>Your account is charged for each route calculated, not the number of
589
+
* requests.</p>
583
590
* </note>
584
591
* <p>Requires that you first <a href="https://docs.aws.amazon.com/location-routes/latest/APIReference/API_CreateRouteCalculator.html">create a
585
-
* route calculator resource</a>.</p>
592
+
* route calculator resource</a>.</p>
586
593
* <p>By default, a request that doesn't specify a departure time uses the best time of day
587
594
* to travel with the best traffic conditions when calculating routes.</p>
* Specifying a departure time</a> using either <code>DepartureTime</code>
594
-
* or <code>DepartNow</code>. This calculates routes based on predictive traffic
599
+
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/departure-time.html"> Specifying a
600
+
* departure time</a> using either <code>DepartureTime</code> or
601
+
* <code>DepartNow</code>. This calculates routes based on predictive traffic
595
602
* data at the given time. </p>
596
603
* <note>
597
604
* <p>You can't specify both <code>DepartureTime</code> and
@@ -601,9 +608,10 @@ export class Location extends LocationClient {
601
608
* </li>
602
609
* <li>
603
610
* <p>
604
-
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/travel-mode.html">Specifying a travel mode</a> using TravelMode sets the transportation
605
-
* mode used to calculate the routes. This also lets you specify additional route
606
-
* preferences in <code>CarModeOptions</code> if traveling by <code>Car</code>, or
611
+
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/travel-mode.html">Specifying a travel
612
+
* mode</a> using TravelMode sets the transportation mode used to calculate
613
+
* the routes. This also lets you specify additional route preferences in
614
+
* <code>CarModeOptions</code> if traveling by <code>Car</code>, or
607
615
* <code>TruckModeOptions</code> if traveling by <code>Truck</code>.</p>
608
616
* </li>
609
617
* </ul>
@@ -704,15 +712,16 @@ export class Location extends LocationClient {
704
712
705
713
/**
706
714
* <p>Creates a place index resource in your AWS account. Use a place index resource to
707
-
* geocode addresses and other text queries by using the <code>SearchPlaceIndexForText</code> operation,
708
-
* and reverse geocode coordinates by using the <code>SearchPlaceIndexForPosition</code> operation, and
709
-
* enable autosuggestions by using the <code>SearchPlaceIndexForSuggestions</code> operation.</p>
710
-
* <note>
715
+
* geocode addresses and other text queries by using the
716
+
* <code>SearchPlaceIndexForText</code> operation, and reverse geocode coordinates by
717
+
* using the <code>SearchPlaceIndexForPosition</code> operation, and enable autosuggestions
718
+
* by using the <code>SearchPlaceIndexForSuggestions</code> operation.</p>
719
+
* <note>
711
720
* <p>If your application is tracking or routing assets you use in your business, such
712
-
* as delivery vehicles or employees, you may only use HERE as your geolocation
713
-
* provider. See section 82 of the <a href="http://aws.amazon.com/service-terms">AWS
714
-
* service terms</a> for more details.</p>
715
-
* </note>
721
+
* as delivery vehicles or employees, you may only use HERE as your geolocation
722
+
* provider. See section 82 of the <a href="http://aws.amazon.com/service-terms">AWS
723
+
* service terms</a> for more details.</p>
724
+
* </note>
716
725
*/
717
726
publiccreatePlaceIndex(
718
727
args: CreatePlaceIndexCommandInput,
@@ -752,7 +761,7 @@ export class Location extends LocationClient {
752
761
* <p>If your application is tracking or routing assets you use in your business, such
753
762
* as delivery vehicles or employees, you may only use HERE as your geolocation
754
763
* provider. See section 82 of the <a href="http://aws.amazon.com/service-terms">AWS
755
-
* service terms</a> for more details.</p>
764
+
* service terms</a> for more details.</p>
756
765
* </note>
757
766
*/
758
767
publiccreateRouteCalculator(
@@ -885,9 +894,9 @@ export class Location extends LocationClient {
885
894
886
895
/**
887
896
* <p>Deletes a place index resource from your AWS account.</p>
888
-
* <note>
897
+
* <note>
889
898
* <p>This operation deletes the resource permanently.</p>
890
-
* </note>
899
+
* </note>
891
900
*/
892
901
publicdeletePlaceIndex(
893
902
args: DeletePlaceIndexCommandInput,
@@ -922,7 +931,7 @@ export class Location extends LocationClient {
922
931
* <p>Deletes a route calculator resource from your AWS account.</p>
923
932
* <note>
924
933
* <p>This operation deletes the resource permanently.</p>
925
-
* </note>
934
+
* </note>
926
935
*/
927
936
publicdeleteRouteCalculator(
928
937
args: DeleteRouteCalculatorCommandInput,
@@ -1713,8 +1722,8 @@ export class Location extends LocationClient {
1713
1722
}
1714
1723
1715
1724
/**
1716
-
* <p>Reverse geocodes a given coordinate and returns a legible address. Allows you to search
1717
-
* for Places or points of interest near a given position.</p>
1725
+
* <p>Reverse geocodes a given coordinate and returns a legible address. Allows you to
1726
+
* search for Places or points of interest near a given position.</p>
1718
1727
*/
1719
1728
publicsearchPlaceIndexForPosition(
1720
1729
args: SearchPlaceIndexForPositionCommandInput,
@@ -1747,15 +1756,17 @@ export class Location extends LocationClient {
1747
1756
1748
1757
/**
1749
1758
* <p>Generates suggestions for addresses and points of interest based on partial or
1750
-
* misspelled free-form text. This operation is also known as autocomplete, autosuggest,
1751
-
* or fuzzy matching.</p>
1752
-
* <p>Optional parameters let you narrow your search results by bounding box or
1753
-
* country, or bias your search toward a specific position on the globe.</p>
1754
-
* <note>
1755
-
* <p>You can search for suggested place names near a specified position by using <code>BiasPosition</code>, or
1756
-
* filter results within a bounding box by using <code>FilterBBox</code>. These parameters are mutually exclusive;
1757
-
* using both <code>BiasPosition</code> and <code>FilterBBox</code> in the same command returns an error.</p>
1758
-
* </note>
1759
+
* misspelled free-form text. This operation is also known as autocomplete, autosuggest, or
1760
+
* fuzzy matching.</p>
1761
+
* <p>Optional parameters let you narrow your search results by bounding box or country, or
1762
+
* bias your search toward a specific position on the globe.</p>
1763
+
* <note>
1764
+
* <p>You can search for suggested place names near a specified position by using
1765
+
* <code>BiasPosition</code>, or filter results within a bounding box by using
1766
+
* <code>FilterBBox</code>. These parameters are mutually exclusive; using both
1767
+
* <code>BiasPosition</code> and <code>FilterBBox</code> in the same command
1768
+
* returns an error.</p>
1769
+
* </note>
1759
1770
*/
1760
1771
publicsearchPlaceIndexForSuggestions(
1761
1772
args: SearchPlaceIndexForSuggestionsCommandInput,
@@ -1788,15 +1799,15 @@ export class Location extends LocationClient {
1788
1799
1789
1800
/**
1790
1801
* <p>Geocodes free-form text, such as an address, name, city, or region to allow you to
1791
-
* search for Places or points of interest. </p>
1792
-
* <p>Optional parameters let you narrow your search results by bounding box or
1793
-
* country, or bias your search toward a specific position on the globe.</p>
1794
-
* <note>
1795
-
* <p>You can search for places near a given position using <code>BiasPosition</code>, or
1796
-
* filter results within a bounding box using <code>FilterBBox</code>. Providing both
1797
-
* parameters simultaneously returns an error.</p>
1798
-
* </note>
1799
-
* <p>Search results are returned in order of highest to lowest relevance.</p>
1802
+
* search for Places or points of interest. </p>
1803
+
* <p>Optional parameters let you narrow your search results by bounding box or country, or
1804
+
* bias your search toward a specific position on the globe.</p>
1805
+
* <note>
1806
+
* <p>You can search for places near a given position using <code>BiasPosition</code>,
1807
+
* or filter results within a bounding box using <code>FilterBBox</code>. Providing
1808
+
* both parameters simultaneously returns an error.</p>
1809
+
* </note>
1810
+
* <p>Search results are returned in order of highest to lowest relevance.</p>
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/departure-time.html">Specifying a departure time</a> using either <code>DepartureTime</code>
38
-
* or <code>DepartNow</code>. This calculates a route based on predictive traffic
37
+
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/departure-time.html">Specifying a
38
+
* departure time</a> using either <code>DepartureTime</code> or
39
+
* <code>DepartNow</code>. This calculates a route based on predictive traffic
39
40
* data at the given time. </p>
40
41
* <note>
41
42
* <p>You can't specify both <code>DepartureTime</code> and
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/travel-mode.html">Specifying a travel mode</a> using TravelMode sets the transportation
49
-
* mode used to calculate the routes. This also lets you specify additional route
50
-
* preferences in <code>CarModeOptions</code> if traveling by <code>Car</code>, or
49
+
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/travel-mode.html">Specifying a travel
50
+
* mode</a> using TravelMode sets the transportation mode used to calculate
51
+
* the routes. This also lets you specify additional route preferences in
52
+
* <code>CarModeOptions</code> if traveling by <code>Car</code>, or
51
53
* <code>TruckModeOptions</code> if traveling by <code>Truck</code>.</p>
0 commit comments