AWS location: Update CalculateRouteMatrix links and add latest-API note
Summary
Adds a note recommending the latest CalculateRouteMatrix operation under geo-routes for new code, and updates API reference links to the previous-version paths.
Security assessment
Pure documentation/link maintenance for a previous-version API with no security content.
Evidence
For new code, use the latest [`CalculateRouteMatrix`](https://docs.aws.amazon.com/location/latest/APIReference/API_CalculateRouteMatrix.html) operation under `geo-routes`, which does not require a route calculator resource.
Diff
diff --git a/location/previous/developerguide/calculate-route-matrix.md b/location/previous/developerguide/calculate-route-matrix.md index 7b23781a7..0e33d6781 100644 --- a//location/previous/developerguide/calculate-route-matrix.md +++ b//location/previous/developerguide/calculate-route-matrix.md @@ -12,0 +13,4 @@ You can use Amazon Location Service to create inputs to your route planning and +###### Note + +For new code, use the latest [`CalculateRouteMatrix`](https://docs.aws.amazon.com/location/latest/APIReference/API_CalculateRouteMatrix.html) operation under `geo-routes`, which does not require a route calculator resource. See the latest [Amazon Location Service Routes](https://docs.aws.amazon.com/location/latest/developerguide/routes.html) developer guide. + @@ -30 +34 @@ You can calculate a matrix of routes between a set of departure positions and a -Submit a request by using the `[CalculateRouteMatrix](https://docs.aws.amazon.com/location-routes/latest/APIReference/API_CalculateRouteMatrix.html)` operation. A minimal request contains the following required fields: +Submit a request by using the `[CalculateRouteMatrix](https://docs.aws.amazon.com/location/previous/APIReference/API_CalculateRouteMatrix.html)` operation. A minimal request contains the following required fields: @@ -145 +149 @@ When calculating longer routes, keep these points in mind: -The following is an example request with the corresponding response when calling the `[CalculateRouteMatrix](https://docs.aws.amazon.com/location-routes/latest/APIReference/API_CalculateRouteMatrix.html)` operation from the Amazon Location Routes API. +The following is an example request with the corresponding response when calling the `[CalculateRouteMatrix](https://docs.aws.amazon.com/location/previous/APIReference/API_CalculateRouteMatrix.html)` operation from the Amazon Location Routes API.