@aws-sdk/client-location 3.42.0 → 3.47.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 +47 -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 +1 -0
- package/dist-cjs/models/models_0.js +44 -45
- package/dist-cjs/protocols/Aws_restJson1.js +227 -2
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- 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 +1 -0
- package/dist-es/models/models_0.js +24 -32
- package/dist-es/protocols/Aws_restJson1.js +234 -2
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/Location.d.ts +33 -4
- package/dist-types/LocationClient.d.ts +8 -3
- package/dist-types/commands/BatchEvaluateGeofencesCommand.d.ts +4 -0
- package/dist-types/commands/BatchUpdateDevicePositionCommand.d.ts +11 -3
- package/dist-types/commands/CreatePlaceIndexCommand.d.ts +2 -1
- package/dist-types/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +44 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +267 -54
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/Location.d.ts +5 -0
- package/dist-types/ts3.4/LocationClient.d.ts +6 -3
- 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 +98 -33
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
|
@@ -8,12 +8,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
8
8
|
$fault: "client";
|
|
9
9
|
Message: string | undefined;
|
|
10
10
|
}
|
|
11
|
-
export declare namespace AccessDeniedException {
|
|
12
|
-
/**
|
|
13
|
-
* @internal
|
|
14
|
-
*/
|
|
15
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
16
|
-
}
|
|
17
11
|
export interface AssociateTrackerConsumerRequest {
|
|
18
12
|
/**
|
|
19
13
|
* <p>The name of the tracker resource to be associated with a geofence collection.</p>
|
|
@@ -54,12 +48,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
54
48
|
$fault: "client";
|
|
55
49
|
Message: string | undefined;
|
|
56
50
|
}
|
|
57
|
-
export declare namespace ConflictException {
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
62
|
-
}
|
|
63
51
|
/**
|
|
64
52
|
* <p>The request has failed to process because of an unknown server error, exception, or failure.</p>
|
|
65
53
|
*/
|
|
@@ -69,12 +57,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
|
|
|
69
57
|
$retryable: {};
|
|
70
58
|
Message: string | undefined;
|
|
71
59
|
}
|
|
72
|
-
export declare namespace InternalServerException {
|
|
73
|
-
/**
|
|
74
|
-
* @internal
|
|
75
|
-
*/
|
|
76
|
-
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
77
|
-
}
|
|
78
60
|
/**
|
|
79
61
|
* <p>The resource that you've entered was not found in your AWS account.</p>
|
|
80
62
|
*/
|
|
@@ -83,12 +65,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
83
65
|
$fault: "client";
|
|
84
66
|
Message: string | undefined;
|
|
85
67
|
}
|
|
86
|
-
export declare namespace ResourceNotFoundException {
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
*/
|
|
90
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
91
|
-
}
|
|
92
68
|
/**
|
|
93
69
|
* <p>The operation was denied because the request would exceed the maximum <a href="https://docs.aws.amazon.com/location/latest/developerguide/location-quotas.html">quota</a>
|
|
94
70
|
* set for Amazon Location Service.</p>
|
|
@@ -101,12 +77,6 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
101
77
|
*/
|
|
102
78
|
Message: string | undefined;
|
|
103
79
|
}
|
|
104
|
-
export declare namespace ServiceQuotaExceededException {
|
|
105
|
-
/**
|
|
106
|
-
* @internal
|
|
107
|
-
*/
|
|
108
|
-
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
|
|
109
|
-
}
|
|
110
80
|
/**
|
|
111
81
|
* <p>The request was denied because of request throttling.</p>
|
|
112
82
|
*/
|
|
@@ -116,12 +86,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
116
86
|
$retryable: {};
|
|
117
87
|
Message: string | undefined;
|
|
118
88
|
}
|
|
119
|
-
export declare namespace ThrottlingException {
|
|
120
|
-
/**
|
|
121
|
-
* @internal
|
|
122
|
-
*/
|
|
123
|
-
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
124
|
-
}
|
|
125
89
|
/**
|
|
126
90
|
* <p>The input failed to meet the constraints specified by the AWS service in a specified
|
|
127
91
|
* field. </p>
|
|
@@ -159,12 +123,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
159
123
|
*/
|
|
160
124
|
FieldList: ValidationExceptionField[] | undefined;
|
|
161
125
|
}
|
|
162
|
-
export declare namespace ValidationException {
|
|
163
|
-
/**
|
|
164
|
-
* @internal
|
|
165
|
-
*/
|
|
166
|
-
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
167
|
-
}
|
|
168
126
|
export interface BatchDeleteDevicePositionHistoryRequest {
|
|
169
127
|
/**
|
|
170
128
|
* <p>The name of the tracker resource to delete the device position history from.</p>
|
|
@@ -287,6 +245,22 @@ export declare namespace BatchDeleteGeofenceResponse {
|
|
|
287
245
|
*/
|
|
288
246
|
const filterSensitiveLog: (obj: BatchDeleteGeofenceResponse) => any;
|
|
289
247
|
}
|
|
248
|
+
/**
|
|
249
|
+
* <p>Defines the level of certainty of the position.</p>
|
|
250
|
+
*/
|
|
251
|
+
export interface PositionalAccuracy {
|
|
252
|
+
/**
|
|
253
|
+
* <p>Estimated maximum distance, in meters, between the measured position and the true
|
|
254
|
+
* position of a device, along the Earth's surface.</p>
|
|
255
|
+
*/
|
|
256
|
+
Horizontal: number | undefined;
|
|
257
|
+
}
|
|
258
|
+
export declare namespace PositionalAccuracy {
|
|
259
|
+
/**
|
|
260
|
+
* @internal
|
|
261
|
+
*/
|
|
262
|
+
const filterSensitiveLog: (obj: PositionalAccuracy) => any;
|
|
263
|
+
}
|
|
290
264
|
/**
|
|
291
265
|
* <p>Contains the position update details for a device.</p>
|
|
292
266
|
*/
|
|
@@ -306,6 +280,20 @@ export interface DevicePositionUpdate {
|
|
|
306
280
|
* <code>[X or longitude, Y or latitude]</code>.</p>
|
|
307
281
|
*/
|
|
308
282
|
Position: number[] | undefined;
|
|
283
|
+
/**
|
|
284
|
+
* <p>The accuracy of the device position.</p>
|
|
285
|
+
*/
|
|
286
|
+
Accuracy?: PositionalAccuracy;
|
|
287
|
+
/**
|
|
288
|
+
* <p>Associates one of more properties with the position update. A property is a key-value
|
|
289
|
+
* pair stored with the position update and added to any geofence event the update may
|
|
290
|
+
* trigger.</p>
|
|
291
|
+
* <p>Format: <code>"key" : "value"</code>
|
|
292
|
+
* </p>
|
|
293
|
+
*/
|
|
294
|
+
PositionProperties?: {
|
|
295
|
+
[key: string]: string;
|
|
296
|
+
};
|
|
309
297
|
}
|
|
310
298
|
export declare namespace DevicePositionUpdate {
|
|
311
299
|
/**
|
|
@@ -415,6 +403,16 @@ export interface DevicePosition {
|
|
|
415
403
|
* <p>The last known device position.</p>
|
|
416
404
|
*/
|
|
417
405
|
Position: number[] | undefined;
|
|
406
|
+
/**
|
|
407
|
+
* <p>The accuracy of the device position.</p>
|
|
408
|
+
*/
|
|
409
|
+
Accuracy?: PositionalAccuracy;
|
|
410
|
+
/**
|
|
411
|
+
* <p>The properties associated with the position.</p>
|
|
412
|
+
*/
|
|
413
|
+
PositionProperties?: {
|
|
414
|
+
[key: string]: string;
|
|
415
|
+
};
|
|
418
416
|
}
|
|
419
417
|
export declare namespace DevicePosition {
|
|
420
418
|
/**
|
|
@@ -1216,11 +1214,12 @@ export interface CreateGeofenceCollectionRequest {
|
|
|
1216
1214
|
*/
|
|
1217
1215
|
CollectionName: string | undefined;
|
|
1218
1216
|
/**
|
|
1219
|
-
* <p>
|
|
1217
|
+
* <p>Optionally specifies the pricing plan for the geofence collection. Defaults to
|
|
1218
|
+
* <code>RequestBasedUsage</code>.</p>
|
|
1220
1219
|
* <p>For additional details and restrictions on each pricing plan option, see the <a href="https://aws.amazon.com/location/pricing/">Amazon Location Service pricing
|
|
1221
1220
|
* page</a>.</p>
|
|
1222
1221
|
*/
|
|
1223
|
-
PricingPlan
|
|
1222
|
+
PricingPlan?: PricingPlan | string;
|
|
1224
1223
|
/**
|
|
1225
1224
|
* <p>Specifies the data provider for the geofence collection.</p>
|
|
1226
1225
|
* <ul>
|
|
@@ -1410,10 +1409,11 @@ export interface CreateMapRequest {
|
|
|
1410
1409
|
*/
|
|
1411
1410
|
Configuration: MapConfiguration | undefined;
|
|
1412
1411
|
/**
|
|
1413
|
-
* <p>
|
|
1412
|
+
* <p>Optionally specifies the pricing plan for the map resource. Defaults to
|
|
1413
|
+
* <code>RequestBasedUsage</code>.</p>
|
|
1414
1414
|
* <p>For additional details and restrictions on each pricing plan option, see <a href="https://aws.amazon.com/location/pricing/">Amazon Location Service pricing</a>.</p>
|
|
1415
1415
|
*/
|
|
1416
|
-
PricingPlan
|
|
1416
|
+
PricingPlan?: PricingPlan | string;
|
|
1417
1417
|
/**
|
|
1418
1418
|
* <p>An optional description for the map resource.</p>
|
|
1419
1419
|
*/
|
|
@@ -1579,10 +1579,11 @@ export interface CreatePlaceIndexRequest {
|
|
|
1579
1579
|
*/
|
|
1580
1580
|
DataSource: string | undefined;
|
|
1581
1581
|
/**
|
|
1582
|
-
* <p>
|
|
1582
|
+
* <p>Optionally specifies the pricing plan for the place index resource. Defaults to
|
|
1583
|
+
* <code>RequestBasedUsage</code>.</p>
|
|
1583
1584
|
* <p>For additional details and restrictions on each pricing plan option, see <a href="https://aws.amazon.com/location/pricing/">Amazon Location Service pricing</a>.</p>
|
|
1584
1585
|
*/
|
|
1585
|
-
PricingPlan
|
|
1586
|
+
PricingPlan?: PricingPlan | string;
|
|
1586
1587
|
/**
|
|
1587
1588
|
* <p>The optional description for the place index resource.</p>
|
|
1588
1589
|
*/
|
|
@@ -1700,10 +1701,11 @@ export interface CreateRouteCalculatorRequest {
|
|
|
1700
1701
|
*/
|
|
1701
1702
|
DataSource: string | undefined;
|
|
1702
1703
|
/**
|
|
1703
|
-
* <p>
|
|
1704
|
+
* <p>Optionally specifies the pricing plan for the route calculator resource. Defaults to
|
|
1705
|
+
* <code>RequestBasedUsage</code>.</p>
|
|
1704
1706
|
* <p>For additional details and restrictions on each pricing plan option, see <a href="https://aws.amazon.com/location/pricing/">Amazon Location Service pricing</a>.</p>
|
|
1705
1707
|
*/
|
|
1706
|
-
PricingPlan
|
|
1708
|
+
PricingPlan?: PricingPlan | string;
|
|
1707
1709
|
/**
|
|
1708
1710
|
* <p>The optional description for the route calculator resource.</p>
|
|
1709
1711
|
*/
|
|
@@ -1811,10 +1813,11 @@ export interface CreateTrackerRequest {
|
|
|
1811
1813
|
*/
|
|
1812
1814
|
TrackerName: string | undefined;
|
|
1813
1815
|
/**
|
|
1814
|
-
* <p>
|
|
1816
|
+
* <p>Optionally specifies the pricing plan for the tracker resource. Defaults to
|
|
1817
|
+
* <code>RequestBasedUsage</code>.</p>
|
|
1815
1818
|
* <p>For additional details and restrictions on each pricing plan option, see <a href="https://aws.amazon.com/location/pricing/">Amazon Location Service pricing</a>.</p>
|
|
1816
1819
|
*/
|
|
1817
|
-
PricingPlan
|
|
1820
|
+
PricingPlan?: PricingPlan | string;
|
|
1818
1821
|
/**
|
|
1819
1822
|
* <p>A key identifier for an <a href="https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html">AWS KMS customer managed key</a>. Enter a key ID, key ARN, alias name, or alias ARN.</p>
|
|
1820
1823
|
*/
|
|
@@ -1891,6 +1894,17 @@ export interface CreateTrackerRequest {
|
|
|
1891
1894
|
* Distance-based filtering can also reduce the effects of GPS noise when displaying device trajectories on a map.
|
|
1892
1895
|
* </p>
|
|
1893
1896
|
* </li>
|
|
1897
|
+
* <li>
|
|
1898
|
+
* <p>
|
|
1899
|
+
* <code>AccuracyBased</code> - If the device has moved less than the measured accuracy,
|
|
1900
|
+
* location updates are ignored. For example, if two consecutive updates from a device
|
|
1901
|
+
* have a horizontal accuracy of 5 m and 10 m, the second update is ignored if the device
|
|
1902
|
+
* has moved less than 15 m. Ignored location updates are neither evaluated against
|
|
1903
|
+
* linked geofence collections, nor stored. This can reduce the effects of GPS noise
|
|
1904
|
+
* when displaying device trajectories on a map, and can help control your costs by reducing the
|
|
1905
|
+
* number of geofence evaluations.
|
|
1906
|
+
* </p>
|
|
1907
|
+
* </li>
|
|
1894
1908
|
* </ul>
|
|
1895
1909
|
* <p>This field is optional. If not specified, the default value is <code>TimeBased</code>.</p>
|
|
1896
1910
|
*/
|
|
@@ -2975,6 +2989,16 @@ export interface GetDevicePositionResponse {
|
|
|
2975
2989
|
* <p>The last known device position.</p>
|
|
2976
2990
|
*/
|
|
2977
2991
|
Position: number[] | undefined;
|
|
2992
|
+
/**
|
|
2993
|
+
* <p>The accuracy of the device position.</p>
|
|
2994
|
+
*/
|
|
2995
|
+
Accuracy?: PositionalAccuracy;
|
|
2996
|
+
/**
|
|
2997
|
+
* <p>The properties associated with the position.</p>
|
|
2998
|
+
*/
|
|
2999
|
+
PositionProperties?: {
|
|
3000
|
+
[key: string]: string;
|
|
3001
|
+
};
|
|
2978
3002
|
}
|
|
2979
3003
|
export declare namespace GetDevicePositionResponse {
|
|
2980
3004
|
/**
|
|
@@ -3294,6 +3318,16 @@ export interface ListDevicePositionsResponseEntry {
|
|
|
3294
3318
|
* <p>The last known device position. Empty if no positions currently stored.</p>
|
|
3295
3319
|
*/
|
|
3296
3320
|
Position: number[] | undefined;
|
|
3321
|
+
/**
|
|
3322
|
+
* <p>The accuracy of the device position.</p>
|
|
3323
|
+
*/
|
|
3324
|
+
Accuracy?: PositionalAccuracy;
|
|
3325
|
+
/**
|
|
3326
|
+
* <p>The properties associated with the position.</p>
|
|
3327
|
+
*/
|
|
3328
|
+
PositionProperties?: {
|
|
3329
|
+
[key: string]: string;
|
|
3330
|
+
};
|
|
3297
3331
|
}
|
|
3298
3332
|
export declare namespace ListDevicePositionsResponseEntry {
|
|
3299
3333
|
/**
|
|
@@ -3996,6 +4030,170 @@ export declare namespace SearchPlaceIndexForPositionResponse {
|
|
|
3996
4030
|
*/
|
|
3997
4031
|
const filterSensitiveLog: (obj: SearchPlaceIndexForPositionResponse) => any;
|
|
3998
4032
|
}
|
|
4033
|
+
export interface SearchPlaceIndexForSuggestionsRequest {
|
|
4034
|
+
/**
|
|
4035
|
+
* <p>The name of the place index resource you want to use for the search.</p>
|
|
4036
|
+
*/
|
|
4037
|
+
IndexName: string | undefined;
|
|
4038
|
+
/**
|
|
4039
|
+
* <p>The free-form partial text to use to generate place suggestions. For example,
|
|
4040
|
+
* <code>eiffel tow</code>.</p>
|
|
4041
|
+
*/
|
|
4042
|
+
Text: string | undefined;
|
|
4043
|
+
/**
|
|
4044
|
+
* <p>An optional parameter that indicates a preference for place suggestions that are closer to a specified position.</p>
|
|
4045
|
+
* <p>
|
|
4046
|
+
* If provided, this parameter must contain a pair of numbers. The first number represents the X coordinate, or longitude;
|
|
4047
|
+
* the second number represents the Y coordinate, or latitude.</p>
|
|
4048
|
+
* <p>For example, <code>[-123.1174, 49.2847]</code> represents the position with
|
|
4049
|
+
* longitude <code>-123.1174</code> and
|
|
4050
|
+
* latitude <code>49.2847</code>.</p>
|
|
4051
|
+
* <note>
|
|
4052
|
+
* <p>
|
|
4053
|
+
* <code>BiasPosition</code> and <code>FilterBBox</code> are mutually exclusive. Specifying both options results in an error.
|
|
4054
|
+
* </p>
|
|
4055
|
+
* </note>
|
|
4056
|
+
*/
|
|
4057
|
+
BiasPosition?: number[];
|
|
4058
|
+
/**
|
|
4059
|
+
* <p>An optional parameter that limits the search results by returning only suggestions within a specified bounding box.</p>
|
|
4060
|
+
* <p>
|
|
4061
|
+
* If provided, this parameter must contain a total of four consecutive numbers in two pairs.
|
|
4062
|
+
* The first pair of numbers represents the X and Y coordinates (longitude and latitude, respectively)
|
|
4063
|
+
* of the southwest corner of the bounding box; the second pair of numbers represents the X and Y coordinates (longitude and latitude, respectively)
|
|
4064
|
+
* of the northeast corner of the bounding box.</p>
|
|
4065
|
+
* <p>For example, <code>[-12.7935, -37.4835, -12.0684, -36.9542]</code> represents
|
|
4066
|
+
* a bounding box where the southwest corner has longitude <code>-12.7935</code> and latitude <code>-37.4835</code>,
|
|
4067
|
+
* and the northeast corner has longitude <code>-12.0684</code> and latitude <code>-36.9542</code>.</p>
|
|
4068
|
+
* <note>
|
|
4069
|
+
* <p>
|
|
4070
|
+
* <code>FilterBBox</code> and <code>BiasPosition</code> are mutually exclusive. Specifying both options results in an error.
|
|
4071
|
+
* </p>
|
|
4072
|
+
* </note>
|
|
4073
|
+
*/
|
|
4074
|
+
FilterBBox?: number[];
|
|
4075
|
+
/**
|
|
4076
|
+
* <p>An optional parameter that limits the search results by returning only suggestions within the provided list of countries.</p>
|
|
4077
|
+
* <ul>
|
|
4078
|
+
* <li>
|
|
4079
|
+
* <p>Use the <a href="https://www.iso.org/iso-3166-country-codes.html">ISO 3166</a> 3-digit
|
|
4080
|
+
* country code. For example, Australia uses three upper-case characters:
|
|
4081
|
+
* <code>AUS</code>.</p>
|
|
4082
|
+
* </li>
|
|
4083
|
+
* </ul>
|
|
4084
|
+
*/
|
|
4085
|
+
FilterCountries?: string[];
|
|
4086
|
+
/**
|
|
4087
|
+
* <p>An optional parameter. The maximum number of results returned per request. </p>
|
|
4088
|
+
* <p>The default: <code>5</code>
|
|
4089
|
+
* </p>
|
|
4090
|
+
*/
|
|
4091
|
+
MaxResults?: number;
|
|
4092
|
+
/**
|
|
4093
|
+
* <p>The preferred language used to return results. The value must be a valid <a href="https://tools.ietf.org/search/bcp47">BCP 47</a> language tag, for example,
|
|
4094
|
+
* <code>en</code> for English.</p>
|
|
4095
|
+
* <p>This setting affects the languages used in the results. It does not change which
|
|
4096
|
+
* results are returned. If the language is not specified, or not supported for a
|
|
4097
|
+
* particular result, the partner automatically chooses a language for the result.</p>
|
|
4098
|
+
* <p>Used only when the partner selected is Here.</p>
|
|
4099
|
+
*/
|
|
4100
|
+
Language?: string;
|
|
4101
|
+
}
|
|
4102
|
+
export declare namespace SearchPlaceIndexForSuggestionsRequest {
|
|
4103
|
+
/**
|
|
4104
|
+
* @internal
|
|
4105
|
+
*/
|
|
4106
|
+
const filterSensitiveLog: (obj: SearchPlaceIndexForSuggestionsRequest) => any;
|
|
4107
|
+
}
|
|
4108
|
+
/**
|
|
4109
|
+
* <p>Contains a place suggestion resulting from a place suggestion query that is run on a place index resource.</p>
|
|
4110
|
+
*/
|
|
4111
|
+
export interface SearchForSuggestionsResult {
|
|
4112
|
+
/**
|
|
4113
|
+
* <p>The text of the place suggestion, typically formatted as an address string.</p>
|
|
4114
|
+
*/
|
|
4115
|
+
Text: string | undefined;
|
|
4116
|
+
}
|
|
4117
|
+
export declare namespace SearchForSuggestionsResult {
|
|
4118
|
+
/**
|
|
4119
|
+
* @internal
|
|
4120
|
+
*/
|
|
4121
|
+
const filterSensitiveLog: (obj: SearchForSuggestionsResult) => any;
|
|
4122
|
+
}
|
|
4123
|
+
/**
|
|
4124
|
+
* <p>A summary of the request sent by using <code>SearchPlaceIndexForSuggestions</code>.</p>
|
|
4125
|
+
*/
|
|
4126
|
+
export interface SearchPlaceIndexForSuggestionsSummary {
|
|
4127
|
+
/**
|
|
4128
|
+
* <p>The free-form partial text input specified in the request.</p>
|
|
4129
|
+
*/
|
|
4130
|
+
Text: string | undefined;
|
|
4131
|
+
/**
|
|
4132
|
+
* <p>Contains the coordinates for the optional bias position specified in the request.</p>
|
|
4133
|
+
* <p>This parameter contains a pair of numbers. The first number represents the X
|
|
4134
|
+
* coordinate, or longitude; the second number represents the Y coordinate, or latitude.</p>
|
|
4135
|
+
* <p>For example, <code>[-123.1174, 49.2847]</code> represents the position with
|
|
4136
|
+
* longitude <code>-123.1174</code> and latitude <code>49.2847</code>.</p>
|
|
4137
|
+
*/
|
|
4138
|
+
BiasPosition?: number[];
|
|
4139
|
+
/**
|
|
4140
|
+
* <p>Contains the coordinates for the optional bounding box specified in the request.</p>
|
|
4141
|
+
*/
|
|
4142
|
+
FilterBBox?: number[];
|
|
4143
|
+
/**
|
|
4144
|
+
* <p>Contains the optional country filter specified in the request.</p>
|
|
4145
|
+
*/
|
|
4146
|
+
FilterCountries?: string[];
|
|
4147
|
+
/**
|
|
4148
|
+
* <p>Contains the optional result count limit specified in the request.</p>
|
|
4149
|
+
*/
|
|
4150
|
+
MaxResults?: number;
|
|
4151
|
+
/**
|
|
4152
|
+
* <p>The geospatial data provider attached to the place index resource specified in the request.
|
|
4153
|
+
* Values can be one of the following:</p>
|
|
4154
|
+
* <ul>
|
|
4155
|
+
* <li>
|
|
4156
|
+
* <p>Esri</p>
|
|
4157
|
+
* </li>
|
|
4158
|
+
* <li>
|
|
4159
|
+
* <p>Here</p>
|
|
4160
|
+
* </li>
|
|
4161
|
+
* </ul>
|
|
4162
|
+
* <p>For more information about data providers, see <a href="https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html">Amazon Location Service data providers</a>.</p>
|
|
4163
|
+
*/
|
|
4164
|
+
DataSource: string | undefined;
|
|
4165
|
+
/**
|
|
4166
|
+
* <p>The preferred language used to return results. Matches the language in the request.
|
|
4167
|
+
* The value is a valid <a href="https://tools.ietf.org/search/bcp47">BCP 47</a> language tag, for example,
|
|
4168
|
+
* <code>en</code> for English.</p>
|
|
4169
|
+
*/
|
|
4170
|
+
Language?: string;
|
|
4171
|
+
}
|
|
4172
|
+
export declare namespace SearchPlaceIndexForSuggestionsSummary {
|
|
4173
|
+
/**
|
|
4174
|
+
* @internal
|
|
4175
|
+
*/
|
|
4176
|
+
const filterSensitiveLog: (obj: SearchPlaceIndexForSuggestionsSummary) => any;
|
|
4177
|
+
}
|
|
4178
|
+
export interface SearchPlaceIndexForSuggestionsResponse {
|
|
4179
|
+
/**
|
|
4180
|
+
* <p>Contains a summary of the request. Echoes the input values for <code>BiasPosition</code>,
|
|
4181
|
+
* <code>FilterBBox</code>, <code>FilterCountries</code>, <code>Language</code>, <code>MaxResults</code>,
|
|
4182
|
+
* and <code>Text</code>. Also includes the <code>DataSource</code> of the place index.
|
|
4183
|
+
* </p>
|
|
4184
|
+
*/
|
|
4185
|
+
Summary: SearchPlaceIndexForSuggestionsSummary | undefined;
|
|
4186
|
+
/**
|
|
4187
|
+
* <p>A list of place suggestions that best match the search text.</p>
|
|
4188
|
+
*/
|
|
4189
|
+
Results: SearchForSuggestionsResult[] | undefined;
|
|
4190
|
+
}
|
|
4191
|
+
export declare namespace SearchPlaceIndexForSuggestionsResponse {
|
|
4192
|
+
/**
|
|
4193
|
+
* @internal
|
|
4194
|
+
*/
|
|
4195
|
+
const filterSensitiveLog: (obj: SearchPlaceIndexForSuggestionsResponse) => any;
|
|
4196
|
+
}
|
|
3999
4197
|
export interface SearchPlaceIndexForTextRequest {
|
|
4000
4198
|
/**
|
|
4001
4199
|
* <p>The name of the place index resource you want to use for the search.</p>
|
|
@@ -4114,6 +4312,10 @@ export interface SearchPlaceIndexForTextSummary {
|
|
|
4114
4312
|
Text: string | undefined;
|
|
4115
4313
|
/**
|
|
4116
4314
|
* <p>Contains the coordinates for the optional bias position specified in the request.</p>
|
|
4315
|
+
* <p>This parameter contains a pair of numbers. The first number represents the X
|
|
4316
|
+
* coordinate, or longitude; the second number represents the Y coordinate, or latitude.</p>
|
|
4317
|
+
* <p>For example, <code>[-123.1174, 49.2847]</code> represents the position with
|
|
4318
|
+
* longitude <code>-123.1174</code> and latitude <code>49.2847</code>.</p>
|
|
4117
4319
|
*/
|
|
4118
4320
|
BiasPosition?: number[];
|
|
4119
4321
|
/**
|
|
@@ -4334,8 +4536,19 @@ export interface UpdateTrackerRequest {
|
|
|
4334
4536
|
* <p>
|
|
4335
4537
|
* <code>DistanceBased</code> - If the device has moved less than 30 m (98.4 ft), location updates are
|
|
4336
4538
|
* ignored. Location updates within this distance are neither evaluated against linked geofence collections, nor stored.
|
|
4337
|
-
* This helps control costs by reducing the number of geofence evaluations and device positions to
|
|
4338
|
-
* Distance-based filtering can also reduce the
|
|
4539
|
+
* This helps control costs by reducing the number of geofence evaluations and historical device positions to paginate through.
|
|
4540
|
+
* Distance-based filtering can also reduce the effects of GPS noise when displaying device trajectories on a map.
|
|
4541
|
+
* </p>
|
|
4542
|
+
* </li>
|
|
4543
|
+
* <li>
|
|
4544
|
+
* <p>
|
|
4545
|
+
* <code>AccuracyBased</code> - If the device has moved less than the measured accuracy,
|
|
4546
|
+
* location updates are ignored. For example, if two consecutive updates from a device
|
|
4547
|
+
* have a horizontal accuracy of 5 m and 10 m, the second update is ignored if the device
|
|
4548
|
+
* has moved less than 15 m. Ignored location updates are neither evaluated against
|
|
4549
|
+
* linked geofence collections, nor stored. This helps educe the effects of GPS noise
|
|
4550
|
+
* when displaying device trajectories on a map, and can help control costs by reducing the
|
|
4551
|
+
* number of geofence evaluations.
|
|
4339
4552
|
* </p>
|
|
4340
4553
|
* </li>
|
|
4341
4554
|
* </ul>
|
|
@@ -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>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { LocationClientConfig } from "./LocationClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: LocationClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: LocationClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { LocationClientConfig } from "./LocationClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: LocationClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: LocationClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -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;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateTrackerConsumerCommandInput, AssociateTrackerConsumerCommandOutput } from "./commands/AssociateTrackerConsumerCommand";
|
|
10
10
|
import { BatchDeleteDevicePositionHistoryCommandInput, BatchDeleteDevicePositionHistoryCommandOutput } from "./commands/BatchDeleteDevicePositionHistoryCommand";
|
|
@@ -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;
|
|
@@ -101,6 +102,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
101
102
|
regionInfoProvider?: RegionInfoProvider;
|
|
102
103
|
|
|
103
104
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
105
|
+
|
|
106
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
104
107
|
}
|
|
105
108
|
declare type LocationClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
106
109
|
|
|
@@ -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
|
+
}
|