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