@aws-sdk/client-location 3.245.0 → 3.252.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/protocols/Aws_restJson1.js +12 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +12 -0
- package/dist-types/Location.d.ts +76 -79
- package/dist-types/commands/AssociateTrackerConsumerCommand.d.ts +3 -3
- package/dist-types/commands/BatchDeleteGeofenceCommand.d.ts +2 -2
- package/dist-types/commands/BatchEvaluateGeofencesCommand.d.ts +10 -10
- package/dist-types/commands/BatchUpdateDevicePositionCommand.d.ts +1 -1
- package/dist-types/commands/CalculateRouteCommand.d.ts +9 -9
- package/dist-types/commands/CalculateRouteMatrixCommand.d.ts +11 -11
- package/dist-types/commands/CreateMapCommand.d.ts +3 -3
- package/dist-types/commands/CreatePlaceIndexCommand.d.ts +3 -3
- package/dist-types/commands/CreateRouteCalculatorCommand.d.ts +4 -4
- package/dist-types/commands/DeleteGeofenceCollectionCommand.d.ts +2 -2
- package/dist-types/commands/DeleteMapCommand.d.ts +1 -1
- package/dist-types/commands/DeletePlaceIndexCommand.d.ts +2 -2
- package/dist-types/commands/DeleteRouteCalculatorCommand.d.ts +2 -2
- package/dist-types/commands/DisassociateTrackerConsumerCommand.d.ts +2 -2
- package/dist-types/commands/GetDevicePositionHistoryCommand.d.ts +1 -1
- package/dist-types/commands/GetMapStyleDescriptorCommand.d.ts +1 -1
- package/dist-types/commands/GetMapTileCommand.d.ts +1 -1
- package/dist-types/commands/GetPlaceCommand.d.ts +8 -8
- package/dist-types/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +3 -3
- package/dist-types/commands/SearchPlaceIndexForTextCommand.d.ts +4 -4
- package/dist-types/commands/TagResourceCommand.d.ts +3 -6
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +586 -485
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +6 -1
- package/package.json +4 -4
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
|
@@ -194,7 +194,12 @@ export interface CalculateRouteCarModeOptions {
|
|
|
194
194
|
AvoidTolls?: boolean;
|
|
195
195
|
}
|
|
196
196
|
export declare type DistanceUnit = "Kilometers" | "Miles";
|
|
197
|
-
export declare type TravelMode =
|
|
197
|
+
export declare type TravelMode =
|
|
198
|
+
| "Bicycle"
|
|
199
|
+
| "Car"
|
|
200
|
+
| "Motorcycle"
|
|
201
|
+
| "Truck"
|
|
202
|
+
| "Walking";
|
|
198
203
|
export declare type DimensionUnit = "Feet" | "Meters";
|
|
199
204
|
export interface TruckDimensions {
|
|
200
205
|
Length?: number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-location",
|
|
3
3
|
"description": "AWS SDK for JavaScript Location Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.252.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
12
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
|
-
"generate:client": "
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo location"
|
|
15
15
|
},
|
|
16
16
|
"main": "./dist-cjs/index.js",
|
|
17
17
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.252.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.234.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.252.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.226.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.226.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.226.0",
|