@aws-sdk/client-location 3.40.0 → 3.45.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/CHANGELOG.md +41 -0
- package/dist-cjs/Location.js +15 -0
- package/dist-cjs/commands/SearchPlaceIndexForSuggestionsCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoints.js +9 -0
- package/dist-cjs/models/models_0.js +50 -3
- package/dist-cjs/protocols/Aws_restJson1.js +244 -2
- package/dist-es/Location.js +15 -0
- package/dist-es/commands/SearchPlaceIndexForSuggestionsCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoints.js +9 -0
- package/dist-es/models/models_0.js +28 -4
- package/dist-es/protocols/Aws_restJson1.js +253 -6
- package/dist-types/Location.d.ts +40 -10
- package/dist-types/LocationClient.d.ts +3 -2
- package/dist-types/commands/AssociateTrackerConsumerCommand.d.ts +1 -1
- package/dist-types/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +1 -1
- package/dist-types/commands/BatchDeleteGeofenceCommand.d.ts +1 -1
- package/dist-types/commands/BatchEvaluateGeofencesCommand.d.ts +5 -1
- package/dist-types/commands/BatchGetDevicePositionCommand.d.ts +1 -1
- package/dist-types/commands/BatchPutGeofenceCommand.d.ts +1 -1
- package/dist-types/commands/BatchUpdateDevicePositionCommand.d.ts +12 -4
- package/dist-types/commands/CalculateRouteCommand.d.ts +3 -4
- package/dist-types/commands/CreateGeofenceCollectionCommand.d.ts +1 -1
- package/dist-types/commands/CreateMapCommand.d.ts +1 -1
- package/dist-types/commands/CreatePlaceIndexCommand.d.ts +5 -3
- package/dist-types/commands/CreateRouteCalculatorCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrackerCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGeofenceCollectionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMapCommand.d.ts +1 -1
- package/dist-types/commands/DeletePlaceIndexCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRouteCalculatorCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTrackerCommand.d.ts +1 -1
- package/dist-types/commands/DescribeGeofenceCollectionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMapCommand.d.ts +1 -1
- package/dist-types/commands/DescribePlaceIndexCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRouteCalculatorCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrackerCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTrackerConsumerCommand.d.ts +1 -1
- package/dist-types/commands/GetDevicePositionCommand.d.ts +1 -1
- package/dist-types/commands/GetDevicePositionHistoryCommand.d.ts +1 -1
- package/dist-types/commands/GetGeofenceCommand.d.ts +1 -1
- package/dist-types/commands/GetMapGlyphsCommand.d.ts +1 -1
- package/dist-types/commands/GetMapSpritesCommand.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/ListDevicePositionsCommand.d.ts +1 -1
- package/dist-types/commands/ListGeofenceCollectionsCommand.d.ts +1 -1
- package/dist-types/commands/ListGeofencesCommand.d.ts +1 -1
- package/dist-types/commands/ListMapsCommand.d.ts +1 -1
- package/dist-types/commands/ListPlaceIndexesCommand.d.ts +1 -1
- package/dist-types/commands/ListRouteCalculatorsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTrackerConsumersCommand.d.ts +1 -1
- package/dist-types/commands/ListTrackersCommand.d.ts +1 -1
- package/dist-types/commands/PutGeofenceCommand.d.ts +1 -1
- package/dist-types/commands/SearchPlaceIndexForPositionCommand.d.ts +1 -1
- package/dist-types/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +44 -0
- package/dist-types/commands/SearchPlaceIndexForTextCommand.d.ts +4 -3
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGeofenceCollectionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMapCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePlaceIndexCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRouteCalculatorCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTrackerCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +488 -117
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/Location.d.ts +5 -0
- package/dist-types/ts3.4/LocationClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +128 -6
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/package.json +6 -6
|
@@ -42,6 +42,7 @@ import { ListTrackerConsumersCommandInput, ListTrackerConsumersCommandOutput } f
|
|
|
42
42
|
import { ListTrackersCommandInput, ListTrackersCommandOutput } from "../commands/ListTrackersCommand";
|
|
43
43
|
import { PutGeofenceCommandInput, PutGeofenceCommandOutput } from "../commands/PutGeofenceCommand";
|
|
44
44
|
import { SearchPlaceIndexForPositionCommandInput, SearchPlaceIndexForPositionCommandOutput } from "../commands/SearchPlaceIndexForPositionCommand";
|
|
45
|
+
import { SearchPlaceIndexForSuggestionsCommandInput, SearchPlaceIndexForSuggestionsCommandOutput } from "../commands/SearchPlaceIndexForSuggestionsCommand";
|
|
45
46
|
import { SearchPlaceIndexForTextCommandInput, SearchPlaceIndexForTextCommandOutput } from "../commands/SearchPlaceIndexForTextCommand";
|
|
46
47
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
47
48
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
@@ -92,6 +93,7 @@ export declare const serializeAws_restJson1ListTrackerConsumersCommand: (input:
|
|
|
92
93
|
export declare const serializeAws_restJson1ListTrackersCommand: (input: ListTrackersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
93
94
|
export declare const serializeAws_restJson1PutGeofenceCommand: (input: PutGeofenceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
94
95
|
export declare const serializeAws_restJson1SearchPlaceIndexForPositionCommand: (input: SearchPlaceIndexForPositionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
96
|
+
export declare const serializeAws_restJson1SearchPlaceIndexForSuggestionsCommand: (input: SearchPlaceIndexForSuggestionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
95
97
|
export declare const serializeAws_restJson1SearchPlaceIndexForTextCommand: (input: SearchPlaceIndexForTextCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
96
98
|
export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
97
99
|
export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -142,6 +144,7 @@ export declare const deserializeAws_restJson1ListTrackerConsumersCommand: (outpu
|
|
|
142
144
|
export declare const deserializeAws_restJson1ListTrackersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTrackersCommandOutput>;
|
|
143
145
|
export declare const deserializeAws_restJson1PutGeofenceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutGeofenceCommandOutput>;
|
|
144
146
|
export declare const deserializeAws_restJson1SearchPlaceIndexForPositionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchPlaceIndexForPositionCommandOutput>;
|
|
147
|
+
export declare const deserializeAws_restJson1SearchPlaceIndexForSuggestionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchPlaceIndexForSuggestionsCommandOutput>;
|
|
145
148
|
export declare const deserializeAws_restJson1SearchPlaceIndexForTextCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchPlaceIndexForTextCommandOutput>;
|
|
146
149
|
export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
147
150
|
export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
@@ -41,6 +41,7 @@ import { ListTrackerConsumersCommandInput, ListTrackerConsumersCommandOutput } f
|
|
|
41
41
|
import { ListTrackersCommandInput, ListTrackersCommandOutput } from "./commands/ListTrackersCommand";
|
|
42
42
|
import { PutGeofenceCommandInput, PutGeofenceCommandOutput } from "./commands/PutGeofenceCommand";
|
|
43
43
|
import { SearchPlaceIndexForPositionCommandInput, SearchPlaceIndexForPositionCommandOutput } from "./commands/SearchPlaceIndexForPositionCommand";
|
|
44
|
+
import { SearchPlaceIndexForSuggestionsCommandInput, SearchPlaceIndexForSuggestionsCommandOutput } from "./commands/SearchPlaceIndexForSuggestionsCommand";
|
|
44
45
|
import { SearchPlaceIndexForTextCommandInput, SearchPlaceIndexForTextCommandOutput } from "./commands/SearchPlaceIndexForTextCommand";
|
|
45
46
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
46
47
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
@@ -221,6 +222,10 @@ export declare class Location extends LocationClient {
|
|
|
221
222
|
searchPlaceIndexForPosition(args: SearchPlaceIndexForPositionCommandInput, cb: (err: any, data?: SearchPlaceIndexForPositionCommandOutput) => void): void;
|
|
222
223
|
searchPlaceIndexForPosition(args: SearchPlaceIndexForPositionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchPlaceIndexForPositionCommandOutput) => void): void;
|
|
223
224
|
|
|
225
|
+
searchPlaceIndexForSuggestions(args: SearchPlaceIndexForSuggestionsCommandInput, options?: __HttpHandlerOptions): Promise<SearchPlaceIndexForSuggestionsCommandOutput>;
|
|
226
|
+
searchPlaceIndexForSuggestions(args: SearchPlaceIndexForSuggestionsCommandInput, cb: (err: any, data?: SearchPlaceIndexForSuggestionsCommandOutput) => void): void;
|
|
227
|
+
searchPlaceIndexForSuggestions(args: SearchPlaceIndexForSuggestionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchPlaceIndexForSuggestionsCommandOutput) => void): void;
|
|
228
|
+
|
|
224
229
|
searchPlaceIndexForText(args: SearchPlaceIndexForTextCommandInput, options?: __HttpHandlerOptions): Promise<SearchPlaceIndexForTextCommandOutput>;
|
|
225
230
|
searchPlaceIndexForText(args: SearchPlaceIndexForTextCommandInput, cb: (err: any, data?: SearchPlaceIndexForTextCommandOutput) => void): void;
|
|
226
231
|
searchPlaceIndexForText(args: SearchPlaceIndexForTextCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchPlaceIndexForTextCommandOutput) => void): void;
|
|
@@ -48,6 +48,7 @@ import { ListTrackerConsumersCommandInput, ListTrackerConsumersCommandOutput } f
|
|
|
48
48
|
import { ListTrackersCommandInput, ListTrackersCommandOutput } from "./commands/ListTrackersCommand";
|
|
49
49
|
import { PutGeofenceCommandInput, PutGeofenceCommandOutput } from "./commands/PutGeofenceCommand";
|
|
50
50
|
import { SearchPlaceIndexForPositionCommandInput, SearchPlaceIndexForPositionCommandOutput } from "./commands/SearchPlaceIndexForPositionCommand";
|
|
51
|
+
import { SearchPlaceIndexForSuggestionsCommandInput, SearchPlaceIndexForSuggestionsCommandOutput } from "./commands/SearchPlaceIndexForSuggestionsCommand";
|
|
51
52
|
import { SearchPlaceIndexForTextCommandInput, SearchPlaceIndexForTextCommandOutput } from "./commands/SearchPlaceIndexForTextCommand";
|
|
52
53
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
53
54
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
@@ -56,8 +57,8 @@ import { UpdateMapCommandInput, UpdateMapCommandOutput } from "./commands/Update
|
|
|
56
57
|
import { UpdatePlaceIndexCommandInput, UpdatePlaceIndexCommandOutput } from "./commands/UpdatePlaceIndexCommand";
|
|
57
58
|
import { UpdateRouteCalculatorCommandInput, UpdateRouteCalculatorCommandOutput } from "./commands/UpdateRouteCalculatorCommand";
|
|
58
59
|
import { UpdateTrackerCommandInput, UpdateTrackerCommandOutput } from "./commands/UpdateTrackerCommand";
|
|
59
|
-
export declare type ServiceInputTypes = AssociateTrackerConsumerCommandInput | BatchDeleteDevicePositionHistoryCommandInput | BatchDeleteGeofenceCommandInput | BatchEvaluateGeofencesCommandInput | BatchGetDevicePositionCommandInput | BatchPutGeofenceCommandInput | BatchUpdateDevicePositionCommandInput | CalculateRouteCommandInput | CreateGeofenceCollectionCommandInput | CreateMapCommandInput | CreatePlaceIndexCommandInput | CreateRouteCalculatorCommandInput | CreateTrackerCommandInput | DeleteGeofenceCollectionCommandInput | DeleteMapCommandInput | DeletePlaceIndexCommandInput | DeleteRouteCalculatorCommandInput | DeleteTrackerCommandInput | DescribeGeofenceCollectionCommandInput | DescribeMapCommandInput | DescribePlaceIndexCommandInput | DescribeRouteCalculatorCommandInput | DescribeTrackerCommandInput | DisassociateTrackerConsumerCommandInput | GetDevicePositionCommandInput | GetDevicePositionHistoryCommandInput | GetGeofenceCommandInput | GetMapGlyphsCommandInput | GetMapSpritesCommandInput | GetMapStyleDescriptorCommandInput | GetMapTileCommandInput | ListDevicePositionsCommandInput | ListGeofenceCollectionsCommandInput | ListGeofencesCommandInput | ListMapsCommandInput | ListPlaceIndexesCommandInput | ListRouteCalculatorsCommandInput | ListTagsForResourceCommandInput | ListTrackerConsumersCommandInput | ListTrackersCommandInput | PutGeofenceCommandInput | SearchPlaceIndexForPositionCommandInput | SearchPlaceIndexForTextCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGeofenceCollectionCommandInput | UpdateMapCommandInput | UpdatePlaceIndexCommandInput | UpdateRouteCalculatorCommandInput | UpdateTrackerCommandInput;
|
|
60
|
-
export declare type ServiceOutputTypes = AssociateTrackerConsumerCommandOutput | BatchDeleteDevicePositionHistoryCommandOutput | BatchDeleteGeofenceCommandOutput | BatchEvaluateGeofencesCommandOutput | BatchGetDevicePositionCommandOutput | BatchPutGeofenceCommandOutput | BatchUpdateDevicePositionCommandOutput | CalculateRouteCommandOutput | CreateGeofenceCollectionCommandOutput | CreateMapCommandOutput | CreatePlaceIndexCommandOutput | CreateRouteCalculatorCommandOutput | CreateTrackerCommandOutput | DeleteGeofenceCollectionCommandOutput | DeleteMapCommandOutput | DeletePlaceIndexCommandOutput | DeleteRouteCalculatorCommandOutput | DeleteTrackerCommandOutput | DescribeGeofenceCollectionCommandOutput | DescribeMapCommandOutput | DescribePlaceIndexCommandOutput | DescribeRouteCalculatorCommandOutput | DescribeTrackerCommandOutput | DisassociateTrackerConsumerCommandOutput | GetDevicePositionCommandOutput | GetDevicePositionHistoryCommandOutput | GetGeofenceCommandOutput | GetMapGlyphsCommandOutput | GetMapSpritesCommandOutput | GetMapStyleDescriptorCommandOutput | GetMapTileCommandOutput | ListDevicePositionsCommandOutput | ListGeofenceCollectionsCommandOutput | ListGeofencesCommandOutput | ListMapsCommandOutput | ListPlaceIndexesCommandOutput | ListRouteCalculatorsCommandOutput | ListTagsForResourceCommandOutput | ListTrackerConsumersCommandOutput | ListTrackersCommandOutput | PutGeofenceCommandOutput | SearchPlaceIndexForPositionCommandOutput | SearchPlaceIndexForTextCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGeofenceCollectionCommandOutput | UpdateMapCommandOutput | UpdatePlaceIndexCommandOutput | UpdateRouteCalculatorCommandOutput | UpdateTrackerCommandOutput;
|
|
60
|
+
export declare type ServiceInputTypes = AssociateTrackerConsumerCommandInput | BatchDeleteDevicePositionHistoryCommandInput | BatchDeleteGeofenceCommandInput | BatchEvaluateGeofencesCommandInput | BatchGetDevicePositionCommandInput | BatchPutGeofenceCommandInput | BatchUpdateDevicePositionCommandInput | CalculateRouteCommandInput | CreateGeofenceCollectionCommandInput | CreateMapCommandInput | CreatePlaceIndexCommandInput | CreateRouteCalculatorCommandInput | CreateTrackerCommandInput | DeleteGeofenceCollectionCommandInput | DeleteMapCommandInput | DeletePlaceIndexCommandInput | DeleteRouteCalculatorCommandInput | DeleteTrackerCommandInput | DescribeGeofenceCollectionCommandInput | DescribeMapCommandInput | DescribePlaceIndexCommandInput | DescribeRouteCalculatorCommandInput | DescribeTrackerCommandInput | DisassociateTrackerConsumerCommandInput | GetDevicePositionCommandInput | GetDevicePositionHistoryCommandInput | GetGeofenceCommandInput | GetMapGlyphsCommandInput | GetMapSpritesCommandInput | GetMapStyleDescriptorCommandInput | GetMapTileCommandInput | ListDevicePositionsCommandInput | ListGeofenceCollectionsCommandInput | ListGeofencesCommandInput | ListMapsCommandInput | ListPlaceIndexesCommandInput | ListRouteCalculatorsCommandInput | ListTagsForResourceCommandInput | ListTrackerConsumersCommandInput | ListTrackersCommandInput | PutGeofenceCommandInput | SearchPlaceIndexForPositionCommandInput | SearchPlaceIndexForSuggestionsCommandInput | SearchPlaceIndexForTextCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGeofenceCollectionCommandInput | UpdateMapCommandInput | UpdatePlaceIndexCommandInput | UpdateRouteCalculatorCommandInput | UpdateTrackerCommandInput;
|
|
61
|
+
export declare type ServiceOutputTypes = AssociateTrackerConsumerCommandOutput | BatchDeleteDevicePositionHistoryCommandOutput | BatchDeleteGeofenceCommandOutput | BatchEvaluateGeofencesCommandOutput | BatchGetDevicePositionCommandOutput | BatchPutGeofenceCommandOutput | BatchUpdateDevicePositionCommandOutput | CalculateRouteCommandOutput | CreateGeofenceCollectionCommandOutput | CreateMapCommandOutput | CreatePlaceIndexCommandOutput | CreateRouteCalculatorCommandOutput | CreateTrackerCommandOutput | DeleteGeofenceCollectionCommandOutput | DeleteMapCommandOutput | DeletePlaceIndexCommandOutput | DeleteRouteCalculatorCommandOutput | DeleteTrackerCommandOutput | DescribeGeofenceCollectionCommandOutput | DescribeMapCommandOutput | DescribePlaceIndexCommandOutput | DescribeRouteCalculatorCommandOutput | DescribeTrackerCommandOutput | DisassociateTrackerConsumerCommandOutput | GetDevicePositionCommandOutput | GetDevicePositionHistoryCommandOutput | GetGeofenceCommandOutput | GetMapGlyphsCommandOutput | GetMapSpritesCommandOutput | GetMapStyleDescriptorCommandOutput | GetMapTileCommandOutput | ListDevicePositionsCommandOutput | ListGeofenceCollectionsCommandOutput | ListGeofencesCommandOutput | ListMapsCommandOutput | ListPlaceIndexesCommandOutput | ListRouteCalculatorsCommandOutput | ListTagsForResourceCommandOutput | ListTrackerConsumersCommandOutput | ListTrackersCommandOutput | PutGeofenceCommandOutput | SearchPlaceIndexForPositionCommandOutput | SearchPlaceIndexForSuggestionsCommandOutput | SearchPlaceIndexForTextCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGeofenceCollectionCommandOutput | UpdateMapCommandOutput | UpdatePlaceIndexCommandOutput | UpdateRouteCalculatorCommandOutput | UpdateTrackerCommandOutput;
|
|
61
62
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
62
63
|
|
|
63
64
|
requestHandler?: __HttpHandler;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
|
|
4
|
+
import { SearchPlaceIndexForSuggestionsRequest, SearchPlaceIndexForSuggestionsResponse } from "../models/models_0";
|
|
5
|
+
export interface SearchPlaceIndexForSuggestionsCommandInput extends SearchPlaceIndexForSuggestionsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface SearchPlaceIndexForSuggestionsCommandOutput extends SearchPlaceIndexForSuggestionsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class SearchPlaceIndexForSuggestionsCommand extends $Command<SearchPlaceIndexForSuggestionsCommandInput, SearchPlaceIndexForSuggestionsCommandOutput, LocationClientResolvedConfig> {
|
|
11
|
+
readonly input: SearchPlaceIndexForSuggestionsCommandInput;
|
|
12
|
+
constructor(input: SearchPlaceIndexForSuggestionsCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SearchPlaceIndexForSuggestionsCommandInput, SearchPlaceIndexForSuggestionsCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -40,6 +40,7 @@ export * from "./ListTrackerConsumersCommand";
|
|
|
40
40
|
export * from "./ListTrackersCommand";
|
|
41
41
|
export * from "./PutGeofenceCommand";
|
|
42
42
|
export * from "./SearchPlaceIndexForPositionCommand";
|
|
43
|
+
export * from "./SearchPlaceIndexForSuggestionsCommand";
|
|
43
44
|
export * from "./SearchPlaceIndexForTextCommand";
|
|
44
45
|
export * from "./TagResourceCommand";
|
|
45
46
|
export * from "./UntagResourceCommand";
|
|
@@ -175,6 +175,15 @@ export declare namespace BatchDeleteGeofenceResponse {
|
|
|
175
175
|
const filterSensitiveLog: (obj: BatchDeleteGeofenceResponse) => any;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
+
export interface PositionalAccuracy {
|
|
179
|
+
|
|
180
|
+
Horizontal: number | undefined;
|
|
181
|
+
}
|
|
182
|
+
export declare namespace PositionalAccuracy {
|
|
183
|
+
|
|
184
|
+
const filterSensitiveLog: (obj: PositionalAccuracy) => any;
|
|
185
|
+
}
|
|
186
|
+
|
|
178
187
|
export interface DevicePositionUpdate {
|
|
179
188
|
|
|
180
189
|
DeviceId: string | undefined;
|
|
@@ -182,6 +191,12 @@ export interface DevicePositionUpdate {
|
|
|
182
191
|
SampleTime: Date | undefined;
|
|
183
192
|
|
|
184
193
|
Position: number[] | undefined;
|
|
194
|
+
|
|
195
|
+
Accuracy?: PositionalAccuracy;
|
|
196
|
+
|
|
197
|
+
PositionProperties?: {
|
|
198
|
+
[key: string]: string;
|
|
199
|
+
};
|
|
185
200
|
}
|
|
186
201
|
export declare namespace DevicePositionUpdate {
|
|
187
202
|
|
|
@@ -238,6 +253,12 @@ export interface DevicePosition {
|
|
|
238
253
|
ReceivedTime: Date | undefined;
|
|
239
254
|
|
|
240
255
|
Position: number[] | undefined;
|
|
256
|
+
|
|
257
|
+
Accuracy?: PositionalAccuracy;
|
|
258
|
+
|
|
259
|
+
PositionProperties?: {
|
|
260
|
+
[key: string]: string;
|
|
261
|
+
};
|
|
241
262
|
}
|
|
242
263
|
export declare namespace DevicePosition {
|
|
243
264
|
|
|
@@ -521,7 +542,7 @@ export interface CreateGeofenceCollectionRequest {
|
|
|
521
542
|
|
|
522
543
|
CollectionName: string | undefined;
|
|
523
544
|
|
|
524
|
-
PricingPlan
|
|
545
|
+
PricingPlan?: PricingPlan | string;
|
|
525
546
|
|
|
526
547
|
PricingPlanDataSource?: string;
|
|
527
548
|
|
|
@@ -564,7 +585,7 @@ export interface CreateMapRequest {
|
|
|
564
585
|
|
|
565
586
|
Configuration: MapConfiguration | undefined;
|
|
566
587
|
|
|
567
|
-
PricingPlan
|
|
588
|
+
PricingPlan?: PricingPlan | string;
|
|
568
589
|
|
|
569
590
|
Description?: string;
|
|
570
591
|
|
|
@@ -604,7 +625,7 @@ export interface CreatePlaceIndexRequest {
|
|
|
604
625
|
|
|
605
626
|
DataSource: string | undefined;
|
|
606
627
|
|
|
607
|
-
PricingPlan
|
|
628
|
+
PricingPlan?: PricingPlan | string;
|
|
608
629
|
|
|
609
630
|
Description?: string;
|
|
610
631
|
|
|
@@ -636,7 +657,7 @@ export interface CreateRouteCalculatorRequest {
|
|
|
636
657
|
|
|
637
658
|
DataSource: string | undefined;
|
|
638
659
|
|
|
639
|
-
PricingPlan
|
|
660
|
+
PricingPlan?: PricingPlan | string;
|
|
640
661
|
|
|
641
662
|
Description?: string;
|
|
642
663
|
|
|
@@ -660,12 +681,12 @@ export declare namespace CreateRouteCalculatorResponse {
|
|
|
660
681
|
|
|
661
682
|
const filterSensitiveLog: (obj: CreateRouteCalculatorResponse) => any;
|
|
662
683
|
}
|
|
663
|
-
export declare type PositionFiltering = "DistanceBased" | "TimeBased";
|
|
684
|
+
export declare type PositionFiltering = "AccuracyBased" | "DistanceBased" | "TimeBased";
|
|
664
685
|
export interface CreateTrackerRequest {
|
|
665
686
|
|
|
666
687
|
TrackerName: string | undefined;
|
|
667
688
|
|
|
668
|
-
PricingPlan
|
|
689
|
+
PricingPlan?: PricingPlan | string;
|
|
669
690
|
|
|
670
691
|
KmsKeyId?: string;
|
|
671
692
|
|
|
@@ -1174,6 +1195,12 @@ export interface GetDevicePositionResponse {
|
|
|
1174
1195
|
ReceivedTime: Date | undefined;
|
|
1175
1196
|
|
|
1176
1197
|
Position: number[] | undefined;
|
|
1198
|
+
|
|
1199
|
+
Accuracy?: PositionalAccuracy;
|
|
1200
|
+
|
|
1201
|
+
PositionProperties?: {
|
|
1202
|
+
[key: string]: string;
|
|
1203
|
+
};
|
|
1177
1204
|
}
|
|
1178
1205
|
export declare namespace GetDevicePositionResponse {
|
|
1179
1206
|
|
|
@@ -1309,6 +1336,12 @@ export interface ListDevicePositionsResponseEntry {
|
|
|
1309
1336
|
SampleTime: Date | undefined;
|
|
1310
1337
|
|
|
1311
1338
|
Position: number[] | undefined;
|
|
1339
|
+
|
|
1340
|
+
Accuracy?: PositionalAccuracy;
|
|
1341
|
+
|
|
1342
|
+
PositionProperties?: {
|
|
1343
|
+
[key: string]: string;
|
|
1344
|
+
};
|
|
1312
1345
|
}
|
|
1313
1346
|
export declare namespace ListDevicePositionsResponseEntry {
|
|
1314
1347
|
|
|
@@ -1533,6 +1566,8 @@ export interface SearchPlaceIndexForPositionRequest {
|
|
|
1533
1566
|
Position: number[] | undefined;
|
|
1534
1567
|
|
|
1535
1568
|
MaxResults?: number;
|
|
1569
|
+
|
|
1570
|
+
Language?: string;
|
|
1536
1571
|
}
|
|
1537
1572
|
export declare namespace SearchPlaceIndexForPositionRequest {
|
|
1538
1573
|
|
|
@@ -1548,6 +1583,17 @@ export declare namespace PlaceGeometry {
|
|
|
1548
1583
|
const filterSensitiveLog: (obj: PlaceGeometry) => any;
|
|
1549
1584
|
}
|
|
1550
1585
|
|
|
1586
|
+
export interface TimeZone {
|
|
1587
|
+
|
|
1588
|
+
Name: string | undefined;
|
|
1589
|
+
|
|
1590
|
+
Offset?: number;
|
|
1591
|
+
}
|
|
1592
|
+
export declare namespace TimeZone {
|
|
1593
|
+
|
|
1594
|
+
const filterSensitiveLog: (obj: TimeZone) => any;
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1551
1597
|
export interface Place {
|
|
1552
1598
|
|
|
1553
1599
|
Label?: string;
|
|
@@ -1569,6 +1615,10 @@ export interface Place {
|
|
|
1569
1615
|
Country?: string;
|
|
1570
1616
|
|
|
1571
1617
|
PostalCode?: string;
|
|
1618
|
+
|
|
1619
|
+
Interpolated?: boolean;
|
|
1620
|
+
|
|
1621
|
+
TimeZone?: TimeZone;
|
|
1572
1622
|
}
|
|
1573
1623
|
export declare namespace Place {
|
|
1574
1624
|
|
|
@@ -1578,6 +1628,8 @@ export declare namespace Place {
|
|
|
1578
1628
|
export interface SearchForPositionResult {
|
|
1579
1629
|
|
|
1580
1630
|
Place: Place | undefined;
|
|
1631
|
+
|
|
1632
|
+
Distance: number | undefined;
|
|
1581
1633
|
}
|
|
1582
1634
|
export declare namespace SearchForPositionResult {
|
|
1583
1635
|
|
|
@@ -1591,6 +1643,8 @@ export interface SearchPlaceIndexForPositionSummary {
|
|
|
1591
1643
|
MaxResults?: number;
|
|
1592
1644
|
|
|
1593
1645
|
DataSource: string | undefined;
|
|
1646
|
+
|
|
1647
|
+
Language?: string;
|
|
1594
1648
|
}
|
|
1595
1649
|
export declare namespace SearchPlaceIndexForPositionSummary {
|
|
1596
1650
|
|
|
@@ -1606,6 +1660,66 @@ export declare namespace SearchPlaceIndexForPositionResponse {
|
|
|
1606
1660
|
|
|
1607
1661
|
const filterSensitiveLog: (obj: SearchPlaceIndexForPositionResponse) => any;
|
|
1608
1662
|
}
|
|
1663
|
+
export interface SearchPlaceIndexForSuggestionsRequest {
|
|
1664
|
+
|
|
1665
|
+
IndexName: string | undefined;
|
|
1666
|
+
|
|
1667
|
+
Text: string | undefined;
|
|
1668
|
+
|
|
1669
|
+
BiasPosition?: number[];
|
|
1670
|
+
|
|
1671
|
+
FilterBBox?: number[];
|
|
1672
|
+
|
|
1673
|
+
FilterCountries?: string[];
|
|
1674
|
+
|
|
1675
|
+
MaxResults?: number;
|
|
1676
|
+
|
|
1677
|
+
Language?: string;
|
|
1678
|
+
}
|
|
1679
|
+
export declare namespace SearchPlaceIndexForSuggestionsRequest {
|
|
1680
|
+
|
|
1681
|
+
const filterSensitiveLog: (obj: SearchPlaceIndexForSuggestionsRequest) => any;
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1684
|
+
export interface SearchForSuggestionsResult {
|
|
1685
|
+
|
|
1686
|
+
Text: string | undefined;
|
|
1687
|
+
}
|
|
1688
|
+
export declare namespace SearchForSuggestionsResult {
|
|
1689
|
+
|
|
1690
|
+
const filterSensitiveLog: (obj: SearchForSuggestionsResult) => any;
|
|
1691
|
+
}
|
|
1692
|
+
|
|
1693
|
+
export interface SearchPlaceIndexForSuggestionsSummary {
|
|
1694
|
+
|
|
1695
|
+
Text: string | undefined;
|
|
1696
|
+
|
|
1697
|
+
BiasPosition?: number[];
|
|
1698
|
+
|
|
1699
|
+
FilterBBox?: number[];
|
|
1700
|
+
|
|
1701
|
+
FilterCountries?: string[];
|
|
1702
|
+
|
|
1703
|
+
MaxResults?: number;
|
|
1704
|
+
|
|
1705
|
+
DataSource: string | undefined;
|
|
1706
|
+
|
|
1707
|
+
Language?: string;
|
|
1708
|
+
}
|
|
1709
|
+
export declare namespace SearchPlaceIndexForSuggestionsSummary {
|
|
1710
|
+
|
|
1711
|
+
const filterSensitiveLog: (obj: SearchPlaceIndexForSuggestionsSummary) => any;
|
|
1712
|
+
}
|
|
1713
|
+
export interface SearchPlaceIndexForSuggestionsResponse {
|
|
1714
|
+
|
|
1715
|
+
Summary: SearchPlaceIndexForSuggestionsSummary | undefined;
|
|
1716
|
+
|
|
1717
|
+
Results: SearchForSuggestionsResult[] | undefined;
|
|
1718
|
+
}
|
|
1719
|
+
export declare namespace SearchPlaceIndexForSuggestionsResponse {
|
|
1720
|
+
|
|
1721
|
+
const filterSensitiveLog: (obj: SearchPlaceIndexForSuggestionsResponse) => any;
|
|
1722
|
+
}
|
|
1609
1723
|
export interface SearchPlaceIndexForTextRequest {
|
|
1610
1724
|
|
|
1611
1725
|
IndexName: string | undefined;
|
|
@@ -1619,6 +1733,8 @@ export interface SearchPlaceIndexForTextRequest {
|
|
|
1619
1733
|
FilterCountries?: string[];
|
|
1620
1734
|
|
|
1621
1735
|
MaxResults?: number;
|
|
1736
|
+
|
|
1737
|
+
Language?: string;
|
|
1622
1738
|
}
|
|
1623
1739
|
export declare namespace SearchPlaceIndexForTextRequest {
|
|
1624
1740
|
|
|
@@ -1628,6 +1744,10 @@ export declare namespace SearchPlaceIndexForTextRequest {
|
|
|
1628
1744
|
export interface SearchForTextResult {
|
|
1629
1745
|
|
|
1630
1746
|
Place: Place | undefined;
|
|
1747
|
+
|
|
1748
|
+
Distance?: number;
|
|
1749
|
+
|
|
1750
|
+
Relevance?: number;
|
|
1631
1751
|
}
|
|
1632
1752
|
export declare namespace SearchForTextResult {
|
|
1633
1753
|
|
|
@@ -1649,6 +1769,8 @@ export interface SearchPlaceIndexForTextSummary {
|
|
|
1649
1769
|
ResultBBox?: number[];
|
|
1650
1770
|
|
|
1651
1771
|
DataSource: string | undefined;
|
|
1772
|
+
|
|
1773
|
+
Language?: string;
|
|
1652
1774
|
}
|
|
1653
1775
|
export declare namespace SearchPlaceIndexForTextSummary {
|
|
1654
1776
|
|
|
@@ -42,6 +42,7 @@ import { ListTrackerConsumersCommandInput, ListTrackerConsumersCommandOutput } f
|
|
|
42
42
|
import { ListTrackersCommandInput, ListTrackersCommandOutput } from "../commands/ListTrackersCommand";
|
|
43
43
|
import { PutGeofenceCommandInput, PutGeofenceCommandOutput } from "../commands/PutGeofenceCommand";
|
|
44
44
|
import { SearchPlaceIndexForPositionCommandInput, SearchPlaceIndexForPositionCommandOutput } from "../commands/SearchPlaceIndexForPositionCommand";
|
|
45
|
+
import { SearchPlaceIndexForSuggestionsCommandInput, SearchPlaceIndexForSuggestionsCommandOutput } from "../commands/SearchPlaceIndexForSuggestionsCommand";
|
|
45
46
|
import { SearchPlaceIndexForTextCommandInput, SearchPlaceIndexForTextCommandOutput } from "../commands/SearchPlaceIndexForTextCommand";
|
|
46
47
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
47
48
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
@@ -92,6 +93,7 @@ export declare const serializeAws_restJson1ListTrackerConsumersCommand: (input:
|
|
|
92
93
|
export declare const serializeAws_restJson1ListTrackersCommand: (input: ListTrackersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
93
94
|
export declare const serializeAws_restJson1PutGeofenceCommand: (input: PutGeofenceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
94
95
|
export declare const serializeAws_restJson1SearchPlaceIndexForPositionCommand: (input: SearchPlaceIndexForPositionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
96
|
+
export declare const serializeAws_restJson1SearchPlaceIndexForSuggestionsCommand: (input: SearchPlaceIndexForSuggestionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
95
97
|
export declare const serializeAws_restJson1SearchPlaceIndexForTextCommand: (input: SearchPlaceIndexForTextCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
96
98
|
export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
97
99
|
export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -142,6 +144,7 @@ export declare const deserializeAws_restJson1ListTrackerConsumersCommand: (outpu
|
|
|
142
144
|
export declare const deserializeAws_restJson1ListTrackersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTrackersCommandOutput>;
|
|
143
145
|
export declare const deserializeAws_restJson1PutGeofenceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutGeofenceCommandOutput>;
|
|
144
146
|
export declare const deserializeAws_restJson1SearchPlaceIndexForPositionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchPlaceIndexForPositionCommandOutput>;
|
|
147
|
+
export declare const deserializeAws_restJson1SearchPlaceIndexForSuggestionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchPlaceIndexForSuggestionsCommandOutput>;
|
|
145
148
|
export declare const deserializeAws_restJson1SearchPlaceIndexForTextCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchPlaceIndexForTextCommandOutput>;
|
|
146
149
|
export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
147
150
|
export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
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.45.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.45.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.45.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.45.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.40.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.40.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.40.0",
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
"@aws-sdk/middleware-logger": "3.40.0",
|
|
33
33
|
"@aws-sdk/middleware-retry": "3.40.0",
|
|
34
34
|
"@aws-sdk/middleware-serde": "3.40.0",
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.45.0",
|
|
36
36
|
"@aws-sdk/middleware-stack": "3.40.0",
|
|
37
37
|
"@aws-sdk/middleware-user-agent": "3.40.0",
|
|
38
38
|
"@aws-sdk/node-config-provider": "3.40.0",
|
|
39
39
|
"@aws-sdk/node-http-handler": "3.40.0",
|
|
40
40
|
"@aws-sdk/protocol-http": "3.40.0",
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
+
"@aws-sdk/smithy-client": "3.41.0",
|
|
42
42
|
"@aws-sdk/types": "3.40.0",
|
|
43
43
|
"@aws-sdk/url-parser": "3.40.0",
|
|
44
44
|
"@aws-sdk/util-base64-browser": "3.37.0",
|