@aws-sdk/client-geo-places 3.683.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/LICENSE +201 -0
- package/README.md +297 -0
- package/dist-cjs/GeoPlaces.js +25 -0
- package/dist-cjs/GeoPlacesClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/AutocompleteCommand.js +27 -0
- package/dist-cjs/commands/GeocodeCommand.js +27 -0
- package/dist-cjs/commands/GetPlaceCommand.js +27 -0
- package/dist-cjs/commands/ReverseGeocodeCommand.js +27 -0
- package/dist-cjs/commands/SearchNearbyCommand.js +27 -0
- package/dist-cjs/commands/SearchTextCommand.js +27 -0
- package/dist-cjs/commands/SuggestCommand.js +27 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +10 -0
- package/dist-cjs/models/GeoPlacesServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +379 -0
- package/dist-cjs/protocols/Aws_restJson1.js +690 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/GeoPlaces.js +21 -0
- package/dist-es/GeoPlacesClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/AutocompleteCommand.js +23 -0
- package/dist-es/commands/GeocodeCommand.js +23 -0
- package/dist-es/commands/GetPlaceCommand.js +23 -0
- package/dist-es/commands/ReverseGeocodeCommand.js +23 -0
- package/dist-es/commands/SearchNearbyCommand.js +23 -0
- package/dist-es/commands/SearchTextCommand.js +23 -0
- package/dist-es/commands/SuggestCommand.js +23 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/GeoPlacesServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +345 -0
- package/dist-es/protocols/Aws_restJson1.js +673 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/GeoPlaces.d.ts +97 -0
- package/dist-types/GeoPlacesClient.d.ts +212 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/AutocompleteCommand.d.ts +204 -0
- package/dist-types/commands/GeocodeCommand.d.ts +231 -0
- package/dist-types/commands/GetPlaceCommand.d.ts +312 -0
- package/dist-types/commands/ReverseGeocodeCommand.d.ts +196 -0
- package/dist-types/commands/SearchNearbyCommand.d.ts +335 -0
- package/dist-types/commands/SearchTextCommand.d.ts +326 -0
- package/dist-types/commands/SuggestCommand.d.ts +289 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +49 -0
- package/dist-types/models/GeoPlacesServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2871 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +65 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/GeoPlaces.d.ts +126 -0
- package/dist-types/ts3.4/GeoPlacesClient.d.ts +160 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/AutocompleteCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GeocodeCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/GetPlaceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ReverseGeocodeCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/SearchNearbyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/SearchTextCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/SuggestCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +8 -0
- package/dist-types/ts3.4/models/GeoPlacesServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +786 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
+
import { GeoPlacesServiceException as __BaseException } from "./GeoPlacesServiceException";
|
|
3
|
+
export class AccessDeniedException extends __BaseException {
|
|
4
|
+
constructor(opts) {
|
|
5
|
+
super({
|
|
6
|
+
name: "AccessDeniedException",
|
|
7
|
+
$fault: "client",
|
|
8
|
+
...opts,
|
|
9
|
+
});
|
|
10
|
+
this.name = "AccessDeniedException";
|
|
11
|
+
this.$fault = "client";
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export const TypePlacement = {
|
|
17
|
+
AFTER_BASE_NAME: "AfterBaseName",
|
|
18
|
+
BEFORE_BASE_NAME: "BeforeBaseName",
|
|
19
|
+
};
|
|
20
|
+
export const AutocompleteAdditionalFeature = {
|
|
21
|
+
CORE: "Core",
|
|
22
|
+
};
|
|
23
|
+
export const AutocompleteFilterPlaceType = {
|
|
24
|
+
LOCALITY: "Locality",
|
|
25
|
+
POSTAL_CODE: "PostalCode",
|
|
26
|
+
};
|
|
27
|
+
export const AutocompleteIntendedUse = {
|
|
28
|
+
SINGLE_USE: "SingleUse",
|
|
29
|
+
};
|
|
30
|
+
export const PostalCodeMode = {
|
|
31
|
+
ENUMERATE_SPANNED_LOCALITIES: "EnumerateSpannedLocalities",
|
|
32
|
+
MERGE_ALL_SPANNED_LOCALITIES: "MergeAllSpannedLocalities",
|
|
33
|
+
};
|
|
34
|
+
export const PlaceType = {
|
|
35
|
+
BLOCK: "Block",
|
|
36
|
+
COUNTRY: "Country",
|
|
37
|
+
DISTRICT: "District",
|
|
38
|
+
INTERPOLATED_ADDRESS: "InterpolatedAddress",
|
|
39
|
+
INTERSECTION: "Intersection",
|
|
40
|
+
LOCALITY: "Locality",
|
|
41
|
+
POINT_ADDRESS: "PointAddress",
|
|
42
|
+
POINT_OF_INTEREST: "PointOfInterest",
|
|
43
|
+
POSTAL_CODE: "PostalCode",
|
|
44
|
+
REGION: "Region",
|
|
45
|
+
STREET: "Street",
|
|
46
|
+
SUB_BLOCK: "SubBlock",
|
|
47
|
+
SUB_DISTRICT: "SubDistrict",
|
|
48
|
+
SUB_REGION: "SubRegion",
|
|
49
|
+
};
|
|
50
|
+
export class InternalServerException extends __BaseException {
|
|
51
|
+
constructor(opts) {
|
|
52
|
+
super({
|
|
53
|
+
name: "InternalServerException",
|
|
54
|
+
$fault: "server",
|
|
55
|
+
...opts,
|
|
56
|
+
});
|
|
57
|
+
this.name = "InternalServerException";
|
|
58
|
+
this.$fault = "server";
|
|
59
|
+
this.$retryable = {};
|
|
60
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
61
|
+
this.Message = opts.Message;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
export class ThrottlingException extends __BaseException {
|
|
65
|
+
constructor(opts) {
|
|
66
|
+
super({
|
|
67
|
+
name: "ThrottlingException",
|
|
68
|
+
$fault: "client",
|
|
69
|
+
...opts,
|
|
70
|
+
});
|
|
71
|
+
this.name = "ThrottlingException";
|
|
72
|
+
this.$fault = "client";
|
|
73
|
+
this.$retryable = {};
|
|
74
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
75
|
+
this.Message = opts.Message;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
export const ValidationExceptionReason = {
|
|
79
|
+
CANNOT_PARSE: "CannotParse",
|
|
80
|
+
FIELD_VALIDATION_FAILED: "FieldValidationFailed",
|
|
81
|
+
MISSING: "Missing",
|
|
82
|
+
OTHER: "Other",
|
|
83
|
+
UNKNOWN_FIELD: "UnknownField",
|
|
84
|
+
UNKNOWN_OPERATION: "UnknownOperation",
|
|
85
|
+
};
|
|
86
|
+
export class ValidationException extends __BaseException {
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "ValidationException",
|
|
90
|
+
$fault: "client",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
this.name = "ValidationException";
|
|
94
|
+
this.$fault = "client";
|
|
95
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
96
|
+
this.Message = opts.Message;
|
|
97
|
+
this.Reason = opts.Reason;
|
|
98
|
+
this.FieldList = opts.FieldList;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
export const GeocodeAdditionalFeature = {
|
|
102
|
+
ACCESS: "Access",
|
|
103
|
+
TIME_ZONE: "TimeZone",
|
|
104
|
+
};
|
|
105
|
+
export const GeocodeFilterPlaceType = {
|
|
106
|
+
INTERPOLATED_ADDRESS: "InterpolatedAddress",
|
|
107
|
+
INTERSECTION: "Intersection",
|
|
108
|
+
LOCALITY: "Locality",
|
|
109
|
+
POINT_ADDRESS: "PointAddress",
|
|
110
|
+
POSTAL_CODE: "PostalCode",
|
|
111
|
+
STREET: "Street",
|
|
112
|
+
};
|
|
113
|
+
export const GeocodeIntendedUse = {
|
|
114
|
+
SINGLE_USE: "SingleUse",
|
|
115
|
+
STORAGE: "Storage",
|
|
116
|
+
};
|
|
117
|
+
export const PostalAuthority = {
|
|
118
|
+
USPS: "Usps",
|
|
119
|
+
};
|
|
120
|
+
export const PostalCodeType = {
|
|
121
|
+
USPS_ZIP: "UspsZip",
|
|
122
|
+
USPS_ZIP_PLUS_4: "UspsZipPlus4",
|
|
123
|
+
};
|
|
124
|
+
export const ZipClassificationCode = {
|
|
125
|
+
MILITARY: "Military",
|
|
126
|
+
POST_OFFICE_BOXES: "PostOfficeBoxes",
|
|
127
|
+
UNIQUE: "Unique",
|
|
128
|
+
};
|
|
129
|
+
export const RecordTypeCode = {
|
|
130
|
+
FIRM: "Firm",
|
|
131
|
+
GENERAL: "General",
|
|
132
|
+
HIGH_RISE: "HighRise",
|
|
133
|
+
POST_OFFICE_BOX: "PostOfficeBox",
|
|
134
|
+
RURAL: "Rural",
|
|
135
|
+
STREET: "Street",
|
|
136
|
+
};
|
|
137
|
+
export const GetPlaceAdditionalFeature = {
|
|
138
|
+
ACCESS: "Access",
|
|
139
|
+
CONTACT: "Contact",
|
|
140
|
+
PHONEMES: "Phonemes",
|
|
141
|
+
TIME_ZONE: "TimeZone",
|
|
142
|
+
};
|
|
143
|
+
export const GetPlaceIntendedUse = {
|
|
144
|
+
SINGLE_USE: "SingleUse",
|
|
145
|
+
STORAGE: "Storage",
|
|
146
|
+
};
|
|
147
|
+
export const ReverseGeocodeAdditionalFeature = {
|
|
148
|
+
ACCESS: "Access",
|
|
149
|
+
TIME_ZONE: "TimeZone",
|
|
150
|
+
};
|
|
151
|
+
export const ReverseGeocodeFilterPlaceType = {
|
|
152
|
+
INTERPOLATED_ADDRESS: "InterpolatedAddress",
|
|
153
|
+
INTERSECTION: "Intersection",
|
|
154
|
+
LOCALITY: "Locality",
|
|
155
|
+
POINT_ADDRESS: "PointAddress",
|
|
156
|
+
STREET: "Street",
|
|
157
|
+
};
|
|
158
|
+
export const ReverseGeocodeIntendedUse = {
|
|
159
|
+
SINGLE_USE: "SingleUse",
|
|
160
|
+
STORAGE: "Storage",
|
|
161
|
+
};
|
|
162
|
+
export const SearchNearbyAdditionalFeature = {
|
|
163
|
+
ACCESS: "Access",
|
|
164
|
+
CONTACT: "Contact",
|
|
165
|
+
PHONEMES: "Phonemes",
|
|
166
|
+
TIME_ZONE: "TimeZone",
|
|
167
|
+
};
|
|
168
|
+
export const SearchNearbyIntendedUse = {
|
|
169
|
+
SINGLE_USE: "SingleUse",
|
|
170
|
+
STORAGE: "Storage",
|
|
171
|
+
};
|
|
172
|
+
export const SearchTextAdditionalFeature = {
|
|
173
|
+
ACCESS: "Access",
|
|
174
|
+
CONTACT: "Contact",
|
|
175
|
+
PHONEMES: "Phonemes",
|
|
176
|
+
TIME_ZONE: "TimeZone",
|
|
177
|
+
};
|
|
178
|
+
export const SearchTextIntendedUse = {
|
|
179
|
+
SINGLE_USE: "SingleUse",
|
|
180
|
+
STORAGE: "Storage",
|
|
181
|
+
};
|
|
182
|
+
export const SuggestAdditionalFeature = {
|
|
183
|
+
ACCESS: "Access",
|
|
184
|
+
CORE: "Core",
|
|
185
|
+
PHONEMES: "Phonemes",
|
|
186
|
+
TIME_ZONE: "TimeZone",
|
|
187
|
+
};
|
|
188
|
+
export const SuggestIntendedUse = {
|
|
189
|
+
SINGLE_USE: "SingleUse",
|
|
190
|
+
};
|
|
191
|
+
export const QueryType = {
|
|
192
|
+
BUSINESS_CHAIN: "BusinessChain",
|
|
193
|
+
CATEGORY: "Category",
|
|
194
|
+
};
|
|
195
|
+
export const SuggestResultItemType = {
|
|
196
|
+
PLACE: "Place",
|
|
197
|
+
QUERY: "Query",
|
|
198
|
+
};
|
|
199
|
+
export const AccessPointFilterSensitiveLog = (obj) => ({
|
|
200
|
+
...obj,
|
|
201
|
+
...(obj.Position && { Position: SENSITIVE_STRING }),
|
|
202
|
+
});
|
|
203
|
+
export const FilterCircleFilterSensitiveLog = (obj) => ({
|
|
204
|
+
...obj,
|
|
205
|
+
...(obj.Center && { Center: SENSITIVE_STRING }),
|
|
206
|
+
});
|
|
207
|
+
export const AutocompleteFilterFilterSensitiveLog = (obj) => ({
|
|
208
|
+
...obj,
|
|
209
|
+
...(obj.BoundingBox && { BoundingBox: SENSITIVE_STRING }),
|
|
210
|
+
...(obj.Circle && { Circle: SENSITIVE_STRING }),
|
|
211
|
+
});
|
|
212
|
+
export const AutocompleteRequestFilterSensitiveLog = (obj) => ({
|
|
213
|
+
...obj,
|
|
214
|
+
...(obj.QueryText && { QueryText: SENSITIVE_STRING }),
|
|
215
|
+
...(obj.BiasPosition && { BiasPosition: SENSITIVE_STRING }),
|
|
216
|
+
...(obj.Filter && { Filter: AutocompleteFilterFilterSensitiveLog(obj.Filter) }),
|
|
217
|
+
...(obj.Key && { Key: SENSITIVE_STRING }),
|
|
218
|
+
});
|
|
219
|
+
export const GeocodeQueryComponentsFilterSensitiveLog = (obj) => ({
|
|
220
|
+
...obj,
|
|
221
|
+
...(obj.Country && { Country: SENSITIVE_STRING }),
|
|
222
|
+
...(obj.Region && { Region: SENSITIVE_STRING }),
|
|
223
|
+
...(obj.SubRegion && { SubRegion: SENSITIVE_STRING }),
|
|
224
|
+
...(obj.Locality && { Locality: SENSITIVE_STRING }),
|
|
225
|
+
...(obj.District && { District: SENSITIVE_STRING }),
|
|
226
|
+
...(obj.Street && { Street: SENSITIVE_STRING }),
|
|
227
|
+
...(obj.AddressNumber && { AddressNumber: SENSITIVE_STRING }),
|
|
228
|
+
...(obj.PostalCode && { PostalCode: SENSITIVE_STRING }),
|
|
229
|
+
});
|
|
230
|
+
export const GeocodeRequestFilterSensitiveLog = (obj) => ({
|
|
231
|
+
...obj,
|
|
232
|
+
...(obj.QueryText && { QueryText: SENSITIVE_STRING }),
|
|
233
|
+
...(obj.QueryComponents && { QueryComponents: GeocodeQueryComponentsFilterSensitiveLog(obj.QueryComponents) }),
|
|
234
|
+
...(obj.BiasPosition && { BiasPosition: SENSITIVE_STRING }),
|
|
235
|
+
...(obj.Key && { Key: SENSITIVE_STRING }),
|
|
236
|
+
});
|
|
237
|
+
export const GeocodeResultItemFilterSensitiveLog = (obj) => ({
|
|
238
|
+
...obj,
|
|
239
|
+
...(obj.Position && { Position: SENSITIVE_STRING }),
|
|
240
|
+
...(obj.MapView && { MapView: SENSITIVE_STRING }),
|
|
241
|
+
...(obj.AccessPoints && { AccessPoints: obj.AccessPoints.map((item) => AccessPointFilterSensitiveLog(item)) }),
|
|
242
|
+
});
|
|
243
|
+
export const GeocodeResponseFilterSensitiveLog = (obj) => ({
|
|
244
|
+
...obj,
|
|
245
|
+
...(obj.ResultItems && { ResultItems: obj.ResultItems.map((item) => GeocodeResultItemFilterSensitiveLog(item)) }),
|
|
246
|
+
});
|
|
247
|
+
export const GetPlaceRequestFilterSensitiveLog = (obj) => ({
|
|
248
|
+
...obj,
|
|
249
|
+
...(obj.PlaceId && { PlaceId: SENSITIVE_STRING }),
|
|
250
|
+
...(obj.Key && { Key: SENSITIVE_STRING }),
|
|
251
|
+
});
|
|
252
|
+
export const GetPlaceResponseFilterSensitiveLog = (obj) => ({
|
|
253
|
+
...obj,
|
|
254
|
+
...(obj.Position && { Position: SENSITIVE_STRING }),
|
|
255
|
+
...(obj.MapView && { MapView: SENSITIVE_STRING }),
|
|
256
|
+
...(obj.AccessPoints && { AccessPoints: obj.AccessPoints.map((item) => AccessPointFilterSensitiveLog(item)) }),
|
|
257
|
+
});
|
|
258
|
+
export const ReverseGeocodeRequestFilterSensitiveLog = (obj) => ({
|
|
259
|
+
...obj,
|
|
260
|
+
...(obj.QueryPosition && { QueryPosition: SENSITIVE_STRING }),
|
|
261
|
+
...(obj.Key && { Key: SENSITIVE_STRING }),
|
|
262
|
+
});
|
|
263
|
+
export const ReverseGeocodeResultItemFilterSensitiveLog = (obj) => ({
|
|
264
|
+
...obj,
|
|
265
|
+
...(obj.Position && { Position: SENSITIVE_STRING }),
|
|
266
|
+
...(obj.MapView && { MapView: SENSITIVE_STRING }),
|
|
267
|
+
...(obj.AccessPoints && { AccessPoints: obj.AccessPoints.map((item) => AccessPointFilterSensitiveLog(item)) }),
|
|
268
|
+
});
|
|
269
|
+
export const ReverseGeocodeResponseFilterSensitiveLog = (obj) => ({
|
|
270
|
+
...obj,
|
|
271
|
+
...(obj.ResultItems && {
|
|
272
|
+
ResultItems: obj.ResultItems.map((item) => ReverseGeocodeResultItemFilterSensitiveLog(item)),
|
|
273
|
+
}),
|
|
274
|
+
});
|
|
275
|
+
export const SearchNearbyFilterFilterSensitiveLog = (obj) => ({
|
|
276
|
+
...obj,
|
|
277
|
+
...(obj.BoundingBox && { BoundingBox: SENSITIVE_STRING }),
|
|
278
|
+
});
|
|
279
|
+
export const SearchNearbyRequestFilterSensitiveLog = (obj) => ({
|
|
280
|
+
...obj,
|
|
281
|
+
...(obj.QueryPosition && { QueryPosition: SENSITIVE_STRING }),
|
|
282
|
+
...(obj.Filter && { Filter: SearchNearbyFilterFilterSensitiveLog(obj.Filter) }),
|
|
283
|
+
...(obj.Key && { Key: SENSITIVE_STRING }),
|
|
284
|
+
});
|
|
285
|
+
export const SearchNearbyResultItemFilterSensitiveLog = (obj) => ({
|
|
286
|
+
...obj,
|
|
287
|
+
...(obj.Position && { Position: SENSITIVE_STRING }),
|
|
288
|
+
...(obj.MapView && { MapView: SENSITIVE_STRING }),
|
|
289
|
+
...(obj.AccessPoints && { AccessPoints: obj.AccessPoints.map((item) => AccessPointFilterSensitiveLog(item)) }),
|
|
290
|
+
});
|
|
291
|
+
export const SearchNearbyResponseFilterSensitiveLog = (obj) => ({
|
|
292
|
+
...obj,
|
|
293
|
+
...(obj.ResultItems && {
|
|
294
|
+
ResultItems: obj.ResultItems.map((item) => SearchNearbyResultItemFilterSensitiveLog(item)),
|
|
295
|
+
}),
|
|
296
|
+
});
|
|
297
|
+
export const SearchTextFilterFilterSensitiveLog = (obj) => ({
|
|
298
|
+
...obj,
|
|
299
|
+
...(obj.BoundingBox && { BoundingBox: SENSITIVE_STRING }),
|
|
300
|
+
...(obj.Circle && { Circle: SENSITIVE_STRING }),
|
|
301
|
+
});
|
|
302
|
+
export const SearchTextRequestFilterSensitiveLog = (obj) => ({
|
|
303
|
+
...obj,
|
|
304
|
+
...(obj.QueryText && { QueryText: SENSITIVE_STRING }),
|
|
305
|
+
...(obj.QueryId && { QueryId: SENSITIVE_STRING }),
|
|
306
|
+
...(obj.BiasPosition && { BiasPosition: SENSITIVE_STRING }),
|
|
307
|
+
...(obj.Filter && { Filter: SearchTextFilterFilterSensitiveLog(obj.Filter) }),
|
|
308
|
+
...(obj.Key && { Key: SENSITIVE_STRING }),
|
|
309
|
+
});
|
|
310
|
+
export const SearchTextResultItemFilterSensitiveLog = (obj) => ({
|
|
311
|
+
...obj,
|
|
312
|
+
...(obj.Position && { Position: SENSITIVE_STRING }),
|
|
313
|
+
...(obj.MapView && { MapView: SENSITIVE_STRING }),
|
|
314
|
+
...(obj.AccessPoints && { AccessPoints: obj.AccessPoints.map((item) => AccessPointFilterSensitiveLog(item)) }),
|
|
315
|
+
});
|
|
316
|
+
export const SearchTextResponseFilterSensitiveLog = (obj) => ({
|
|
317
|
+
...obj,
|
|
318
|
+
...(obj.ResultItems && { ResultItems: obj.ResultItems.map((item) => SearchTextResultItemFilterSensitiveLog(item)) }),
|
|
319
|
+
});
|
|
320
|
+
export const SuggestFilterFilterSensitiveLog = (obj) => ({
|
|
321
|
+
...obj,
|
|
322
|
+
...(obj.BoundingBox && { BoundingBox: SENSITIVE_STRING }),
|
|
323
|
+
...(obj.Circle && { Circle: SENSITIVE_STRING }),
|
|
324
|
+
});
|
|
325
|
+
export const SuggestRequestFilterSensitiveLog = (obj) => ({
|
|
326
|
+
...obj,
|
|
327
|
+
...(obj.QueryText && { QueryText: SENSITIVE_STRING }),
|
|
328
|
+
...(obj.BiasPosition && { BiasPosition: SENSITIVE_STRING }),
|
|
329
|
+
...(obj.Filter && { Filter: SuggestFilterFilterSensitiveLog(obj.Filter) }),
|
|
330
|
+
...(obj.Key && { Key: SENSITIVE_STRING }),
|
|
331
|
+
});
|
|
332
|
+
export const SuggestPlaceResultFilterSensitiveLog = (obj) => ({
|
|
333
|
+
...obj,
|
|
334
|
+
...(obj.Position && { Position: SENSITIVE_STRING }),
|
|
335
|
+
...(obj.MapView && { MapView: SENSITIVE_STRING }),
|
|
336
|
+
...(obj.AccessPoints && { AccessPoints: obj.AccessPoints.map((item) => AccessPointFilterSensitiveLog(item)) }),
|
|
337
|
+
});
|
|
338
|
+
export const SuggestResultItemFilterSensitiveLog = (obj) => ({
|
|
339
|
+
...obj,
|
|
340
|
+
...(obj.Place && { Place: SuggestPlaceResultFilterSensitiveLog(obj.Place) }),
|
|
341
|
+
});
|
|
342
|
+
export const SuggestResponseFilterSensitiveLog = (obj) => ({
|
|
343
|
+
...obj,
|
|
344
|
+
...(obj.ResultItems && { ResultItems: obj.ResultItems.map((item) => SuggestResultItemFilterSensitiveLog(item)) }),
|
|
345
|
+
});
|