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.

- *
*