diff --git a/clients/client-location/src/commands/CalculateRouteCommand.ts b/clients/client-location/src/commands/CalculateRouteCommand.ts index 264b4bc33bd6..f90df91682b2 100644 --- a/clients/client-location/src/commands/CalculateRouteCommand.ts +++ b/clients/client-location/src/commands/CalculateRouteCommand.ts @@ -118,6 +118,8 @@ export interface CalculateRouteCommandOutput extends CalculateRouteResponse, __M * Unit: "STRING_VALUE", * }, * }, + * ArrivalTime: new Date("TIMESTAMP"), + * OptimizeFor: "STRING_VALUE", * Key: "STRING_VALUE", * }; * const command = new CalculateRouteCommand(input); diff --git a/clients/client-location/src/commands/GetPlaceCommand.ts b/clients/client-location/src/commands/GetPlaceCommand.ts index e006158e2651..3a82480a2c6c 100644 --- a/clients/client-location/src/commands/GetPlaceCommand.ts +++ b/clients/client-location/src/commands/GetPlaceCommand.ts @@ -102,6 +102,7 @@ export interface GetPlaceCommandOutput extends GetPlaceResponse, __MetadataBeare * // SupplementalCategories: [ // PlaceSupplementalCategoryList * // "STRING_VALUE", * // ], + * // SubMunicipality: "STRING_VALUE", * // }, * // }; * diff --git a/clients/client-location/src/commands/SearchPlaceIndexForPositionCommand.ts b/clients/client-location/src/commands/SearchPlaceIndexForPositionCommand.ts index dd72f390305e..5676c38494a9 100644 --- a/clients/client-location/src/commands/SearchPlaceIndexForPositionCommand.ts +++ b/clients/client-location/src/commands/SearchPlaceIndexForPositionCommand.ts @@ -105,6 +105,7 @@ export interface SearchPlaceIndexForPositionCommandOutput * // SupplementalCategories: [ // PlaceSupplementalCategoryList * // "STRING_VALUE", * // ], + * // SubMunicipality: "STRING_VALUE", * // }, * // Distance: Number("double"), // required * // PlaceId: "STRING_VALUE", diff --git a/clients/client-location/src/commands/SearchPlaceIndexForTextCommand.ts b/clients/client-location/src/commands/SearchPlaceIndexForTextCommand.ts index 5804f4903c04..9fe1a914a48e 100644 --- a/clients/client-location/src/commands/SearchPlaceIndexForTextCommand.ts +++ b/clients/client-location/src/commands/SearchPlaceIndexForTextCommand.ts @@ -131,6 +131,7 @@ export interface SearchPlaceIndexForTextCommandOutput extends SearchPlaceIndexFo * // SupplementalCategories: [ // PlaceSupplementalCategoryList * // "STRING_VALUE", * // ], + * // SubMunicipality: "STRING_VALUE", * // }, * // Distance: Number("double"), * // Relevance: Number("double"), diff --git a/clients/client-location/src/models/models_0.ts b/clients/client-location/src/models/models_0.ts index dbbb7bbfafd5..91f3414ee424 100644 --- a/clients/client-location/src/models/models_0.ts +++ b/clients/client-location/src/models/models_0.ts @@ -1392,6 +1392,11 @@ export interface CalculateRouteCarModeOptions { */ export type DistanceUnit = "Kilometers" | "Miles"; +/** + * @public + */ +export type OptimizationMode = "FastestRoute" | "ShortestRoute"; + /** * @public */ @@ -1656,10 +1661,6 @@ export interface CalculateRouteRequest { *
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
@@ -1719,6 +1720,22 @@ export interface CalculateRouteRequest {
*/
TruckModeOptions?: CalculateRouteTruckModeOptions;
+ /**
+ * @public
+ * 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. Specifies the distance to optimize for when calculating a route. The optional API key to authorize
@@ -5124,6 +5141,16 @@ export interface Place {
* to any Amazon Location categories. An area that's part of a larger municipality. For example, This property supported by Esri and OpenData. The Esri property is The geomerty used to filter device positions. The geometry used to filter device positions. Specifies the desired time of departure. Uses the given time to calculate the route.\n Otherwise, the best time of day to travel with the best traffic conditions is used to\n calculate the route. Setting a departure time in the past returns a In ISO\n 8601 format: Specifies the desired time of departure. Uses the given time to calculate the route.\n Otherwise, the best time of day to travel with the best traffic conditions is used to\n calculate the route. In ISO\n 8601 format: Specifies route preferences when traveling by Requirements: Specifies the desired time of arrival. Uses the given time to calculate the route. \n Otherwise, the best time of day to travel with the best traffic conditions is used to calculate the route. ArrivalTime is not supported Esri. Specifies the distance to optimize for when calculating a route. The geomerty used to filter device positions. The geometry used to filter device positions. Categories from the data provider that describe the Place that are not mapped\n to any Amazon Location categories. An area that's part of a larger municipality. For example, This property supported by Esri and OpenData. The Esri property is Blissville
+ * is a submunicipality in the Queen County in New York.district
, and the OpenData property is borough
.400\n ValidationException
error.\n
"
+ "smithy.api#documentation": "YYYY-MM-DDThh:mm:ss.sssZ
. For example,\n 2020–07-2T12:15:20.000Z+01:00
\n \n
"
}
},
"DepartNow": {
@@ -1315,6 +1315,18 @@
"smithy.api#documentation": "YYYY-MM-DDThh:mm:ss.sssZ
. For example,\n 2020–07-2T12:15:20.000Z+01:00
\n Truck
, such as avoiding\n routes that use ferries or tolls, and truck specifications to consider when choosing an\n optimal road.TravelMode
must be specified as Truck
.Blissville
\n is a submunicipality in the Queen County in New York.district
, and the OpenData property is borough
.