@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,312 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GeoPlacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GeoPlacesClient";
4
+ import { GetPlaceRequest, GetPlaceResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetPlaceCommand}.
14
+ */
15
+ export interface GetPlaceCommandInput extends GetPlaceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetPlaceCommand}.
21
+ */
22
+ export interface GetPlaceCommandOutput extends GetPlaceResponse, __MetadataBearer {
23
+ }
24
+ declare const GetPlaceCommand_base: {
25
+ new (input: GetPlaceCommandInput): import("@smithy/smithy-client").CommandImpl<GetPlaceCommandInput, GetPlaceCommandOutput, GeoPlacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetPlaceCommandInput): import("@smithy/smithy-client").CommandImpl<GetPlaceCommandInput, GetPlaceCommandOutput, GeoPlacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Finds a place by its unique ID. A <code>PlaceId</code> is returned by other place
31
+ * operations.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { GeoPlacesClient, GetPlaceCommand } from "@aws-sdk/client-geo-places"; // ES Modules import
36
+ * // const { GeoPlacesClient, GetPlaceCommand } = require("@aws-sdk/client-geo-places"); // CommonJS import
37
+ * const client = new GeoPlacesClient(config);
38
+ * const input = { // GetPlaceRequest
39
+ * PlaceId: "STRING_VALUE", // required
40
+ * AdditionalFeatures: [ // GetPlaceAdditionalFeatureList
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * Language: "STRING_VALUE",
44
+ * PoliticalView: "STRING_VALUE",
45
+ * IntendedUse: "STRING_VALUE",
46
+ * Key: "STRING_VALUE",
47
+ * };
48
+ * const command = new GetPlaceCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // GetPlaceResponse
51
+ * // PlaceId: "STRING_VALUE", // required
52
+ * // PlaceType: "STRING_VALUE", // required
53
+ * // Title: "STRING_VALUE", // required
54
+ * // PricingBucket: "STRING_VALUE", // required
55
+ * // Address: { // Address
56
+ * // Label: "STRING_VALUE",
57
+ * // Country: { // Country
58
+ * // Code2: "STRING_VALUE",
59
+ * // Code3: "STRING_VALUE",
60
+ * // Name: "STRING_VALUE",
61
+ * // },
62
+ * // Region: { // Region
63
+ * // Code: "STRING_VALUE",
64
+ * // Name: "STRING_VALUE",
65
+ * // },
66
+ * // SubRegion: { // SubRegion
67
+ * // Code: "STRING_VALUE",
68
+ * // Name: "STRING_VALUE",
69
+ * // },
70
+ * // Locality: "STRING_VALUE",
71
+ * // District: "STRING_VALUE",
72
+ * // SubDistrict: "STRING_VALUE",
73
+ * // PostalCode: "STRING_VALUE",
74
+ * // Block: "STRING_VALUE",
75
+ * // SubBlock: "STRING_VALUE",
76
+ * // Intersection: [ // IntersectionList
77
+ * // "STRING_VALUE",
78
+ * // ],
79
+ * // Street: "STRING_VALUE",
80
+ * // StreetComponents: [ // StreetComponentsList
81
+ * // { // StreetComponents
82
+ * // BaseName: "STRING_VALUE",
83
+ * // Type: "STRING_VALUE",
84
+ * // TypePlacement: "STRING_VALUE",
85
+ * // TypeSeparator: "STRING_VALUE",
86
+ * // Prefix: "STRING_VALUE",
87
+ * // Suffix: "STRING_VALUE",
88
+ * // Direction: "STRING_VALUE",
89
+ * // Language: "STRING_VALUE",
90
+ * // },
91
+ * // ],
92
+ * // AddressNumber: "STRING_VALUE",
93
+ * // Building: "STRING_VALUE",
94
+ * // },
95
+ * // AddressNumberCorrected: true || false,
96
+ * // PostalCodeDetails: [ // PostalCodeDetailsList
97
+ * // { // PostalCodeDetails
98
+ * // PostalCode: "STRING_VALUE",
99
+ * // PostalAuthority: "STRING_VALUE",
100
+ * // PostalCodeType: "STRING_VALUE",
101
+ * // UspsZip: { // UspsZip
102
+ * // ZipClassificationCode: "STRING_VALUE",
103
+ * // },
104
+ * // UspsZipPlus4: { // UspsZipPlus4
105
+ * // RecordTypeCode: "STRING_VALUE",
106
+ * // },
107
+ * // },
108
+ * // ],
109
+ * // Position: [ // Position
110
+ * // Number("double"),
111
+ * // ],
112
+ * // MapView: [ // BoundingBox
113
+ * // Number("double"),
114
+ * // ],
115
+ * // Categories: [ // CategoryList
116
+ * // { // Category
117
+ * // Id: "STRING_VALUE", // required
118
+ * // Name: "STRING_VALUE", // required
119
+ * // LocalizedName: "STRING_VALUE",
120
+ * // Primary: true || false,
121
+ * // },
122
+ * // ],
123
+ * // FoodTypes: [ // FoodTypeList
124
+ * // { // FoodType
125
+ * // LocalizedName: "STRING_VALUE", // required
126
+ * // Id: "STRING_VALUE",
127
+ * // Primary: true || false,
128
+ * // },
129
+ * // ],
130
+ * // BusinessChains: [ // BusinessChainList
131
+ * // { // BusinessChain
132
+ * // Name: "STRING_VALUE",
133
+ * // Id: "STRING_VALUE",
134
+ * // },
135
+ * // ],
136
+ * // Contacts: { // Contacts
137
+ * // Phones: [ // ContactDetailsList
138
+ * // { // ContactDetails
139
+ * // Label: "STRING_VALUE",
140
+ * // Value: "STRING_VALUE",
141
+ * // Categories: [
142
+ * // {
143
+ * // Id: "STRING_VALUE", // required
144
+ * // Name: "STRING_VALUE", // required
145
+ * // LocalizedName: "STRING_VALUE",
146
+ * // Primary: true || false,
147
+ * // },
148
+ * // ],
149
+ * // },
150
+ * // ],
151
+ * // Faxes: [
152
+ * // {
153
+ * // Label: "STRING_VALUE",
154
+ * // Value: "STRING_VALUE",
155
+ * // Categories: [
156
+ * // {
157
+ * // Id: "STRING_VALUE", // required
158
+ * // Name: "STRING_VALUE", // required
159
+ * // LocalizedName: "STRING_VALUE",
160
+ * // Primary: true || false,
161
+ * // },
162
+ * // ],
163
+ * // },
164
+ * // ],
165
+ * // Websites: [
166
+ * // {
167
+ * // Label: "STRING_VALUE",
168
+ * // Value: "STRING_VALUE",
169
+ * // Categories: [
170
+ * // {
171
+ * // Id: "STRING_VALUE", // required
172
+ * // Name: "STRING_VALUE", // required
173
+ * // LocalizedName: "STRING_VALUE",
174
+ * // Primary: true || false,
175
+ * // },
176
+ * // ],
177
+ * // },
178
+ * // ],
179
+ * // Emails: [
180
+ * // {
181
+ * // Label: "STRING_VALUE",
182
+ * // Value: "STRING_VALUE",
183
+ * // Categories: [
184
+ * // {
185
+ * // Id: "STRING_VALUE", // required
186
+ * // Name: "STRING_VALUE", // required
187
+ * // LocalizedName: "STRING_VALUE",
188
+ * // Primary: true || false,
189
+ * // },
190
+ * // ],
191
+ * // },
192
+ * // ],
193
+ * // },
194
+ * // OpeningHours: [ // OpeningHoursList
195
+ * // { // OpeningHours
196
+ * // Display: [ // OpeningHoursDisplayList
197
+ * // "STRING_VALUE",
198
+ * // ],
199
+ * // OpenNow: true || false,
200
+ * // Components: [ // OpeningHoursComponentsList
201
+ * // { // OpeningHoursComponents
202
+ * // OpenTime: "STRING_VALUE",
203
+ * // OpenDuration: "STRING_VALUE",
204
+ * // Recurrence: "STRING_VALUE",
205
+ * // },
206
+ * // ],
207
+ * // Categories: "<CategoryList>",
208
+ * // },
209
+ * // ],
210
+ * // AccessPoints: [ // AccessPointList
211
+ * // { // AccessPoint
212
+ * // Position: [
213
+ * // Number("double"),
214
+ * // ],
215
+ * // },
216
+ * // ],
217
+ * // AccessRestrictions: [ // AccessRestrictionList
218
+ * // { // AccessRestriction
219
+ * // Restricted: true || false,
220
+ * // Categories: "<CategoryList>",
221
+ * // },
222
+ * // ],
223
+ * // TimeZone: { // TimeZone
224
+ * // Name: "STRING_VALUE", // required
225
+ * // Offset: "STRING_VALUE",
226
+ * // OffsetSeconds: Number("long"),
227
+ * // },
228
+ * // PoliticalView: "STRING_VALUE",
229
+ * // Phonemes: { // PhonemeDetails
230
+ * // Title: [ // PhonemeTranscriptionList
231
+ * // { // PhonemeTranscription
232
+ * // Value: "STRING_VALUE",
233
+ * // Language: "STRING_VALUE",
234
+ * // Preferred: true || false,
235
+ * // },
236
+ * // ],
237
+ * // Address: { // AddressComponentPhonemes
238
+ * // Country: [
239
+ * // {
240
+ * // Value: "STRING_VALUE",
241
+ * // Language: "STRING_VALUE",
242
+ * // Preferred: true || false,
243
+ * // },
244
+ * // ],
245
+ * // Region: [
246
+ * // {
247
+ * // Value: "STRING_VALUE",
248
+ * // Language: "STRING_VALUE",
249
+ * // Preferred: true || false,
250
+ * // },
251
+ * // ],
252
+ * // SubRegion: [
253
+ * // {
254
+ * // Value: "STRING_VALUE",
255
+ * // Language: "STRING_VALUE",
256
+ * // Preferred: true || false,
257
+ * // },
258
+ * // ],
259
+ * // Locality: [
260
+ * // {
261
+ * // Value: "STRING_VALUE",
262
+ * // Language: "STRING_VALUE",
263
+ * // Preferred: true || false,
264
+ * // },
265
+ * // ],
266
+ * // District: "<PhonemeTranscriptionList>",
267
+ * // SubDistrict: "<PhonemeTranscriptionList>",
268
+ * // Block: "<PhonemeTranscriptionList>",
269
+ * // SubBlock: "<PhonemeTranscriptionList>",
270
+ * // Street: "<PhonemeTranscriptionList>",
271
+ * // },
272
+ * // },
273
+ * // };
274
+ *
275
+ * ```
276
+ *
277
+ * @param GetPlaceCommandInput - {@link GetPlaceCommandInput}
278
+ * @returns {@link GetPlaceCommandOutput}
279
+ * @see {@link GetPlaceCommandInput} for command's `input` shape.
280
+ * @see {@link GetPlaceCommandOutput} for command's `response` shape.
281
+ * @see {@link GeoPlacesClientResolvedConfig | config} for GeoPlacesClient's `config` shape.
282
+ *
283
+ * @throws {@link AccessDeniedException} (client fault)
284
+ * <p>You don't have sufficient access to perform this action.</p>
285
+ *
286
+ * @throws {@link InternalServerException} (server fault)
287
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
288
+ *
289
+ * @throws {@link ThrottlingException} (client fault)
290
+ * <p>The request was denied due to request throttling.</p>
291
+ *
292
+ * @throws {@link ValidationException} (client fault)
293
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
294
+ *
295
+ * @throws {@link GeoPlacesServiceException}
296
+ * <p>Base exception class for all service exceptions from GeoPlaces service.</p>
297
+ *
298
+ * @public
299
+ */
300
+ export declare class GetPlaceCommand extends GetPlaceCommand_base {
301
+ /** @internal type navigation helper, not in runtime. */
302
+ protected static __types: {
303
+ api: {
304
+ input: GetPlaceRequest;
305
+ output: GetPlaceResponse;
306
+ };
307
+ sdk: {
308
+ input: GetPlaceCommandInput;
309
+ output: GetPlaceCommandOutput;
310
+ };
311
+ };
312
+ }
@@ -0,0 +1,196 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GeoPlacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GeoPlacesClient";
4
+ import { ReverseGeocodeRequest, ReverseGeocodeResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ReverseGeocodeCommand}.
14
+ */
15
+ export interface ReverseGeocodeCommandInput extends ReverseGeocodeRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ReverseGeocodeCommand}.
21
+ */
22
+ export interface ReverseGeocodeCommandOutput extends ReverseGeocodeResponse, __MetadataBearer {
23
+ }
24
+ declare const ReverseGeocodeCommand_base: {
25
+ new (input: ReverseGeocodeCommandInput): import("@smithy/smithy-client").CommandImpl<ReverseGeocodeCommandInput, ReverseGeocodeCommandOutput, GeoPlacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ReverseGeocodeCommandInput): import("@smithy/smithy-client").CommandImpl<ReverseGeocodeCommandInput, ReverseGeocodeCommandOutput, GeoPlacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p> The <code>ReverseGeocode</code> operation allows you to retrieve addresses and place
31
+ * information from coordinates.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { GeoPlacesClient, ReverseGeocodeCommand } from "@aws-sdk/client-geo-places"; // ES Modules import
36
+ * // const { GeoPlacesClient, ReverseGeocodeCommand } = require("@aws-sdk/client-geo-places"); // CommonJS import
37
+ * const client = new GeoPlacesClient(config);
38
+ * const input = { // ReverseGeocodeRequest
39
+ * QueryPosition: [ // Position // required
40
+ * Number("double"),
41
+ * ],
42
+ * QueryRadius: Number("long"),
43
+ * MaxResults: Number("int"),
44
+ * Filter: { // ReverseGeocodeFilter
45
+ * IncludePlaceTypes: [ // ReverseGeocodeFilterPlaceTypeList
46
+ * "STRING_VALUE",
47
+ * ],
48
+ * },
49
+ * AdditionalFeatures: [ // ReverseGeocodeAdditionalFeatureList
50
+ * "STRING_VALUE",
51
+ * ],
52
+ * Language: "STRING_VALUE",
53
+ * PoliticalView: "STRING_VALUE",
54
+ * IntendedUse: "STRING_VALUE",
55
+ * Key: "STRING_VALUE",
56
+ * };
57
+ * const command = new ReverseGeocodeCommand(input);
58
+ * const response = await client.send(command);
59
+ * // { // ReverseGeocodeResponse
60
+ * // PricingBucket: "STRING_VALUE", // required
61
+ * // ResultItems: [ // ReverseGeocodeResultItemList
62
+ * // { // ReverseGeocodeResultItem
63
+ * // PlaceId: "STRING_VALUE", // required
64
+ * // PlaceType: "STRING_VALUE", // required
65
+ * // Title: "STRING_VALUE", // required
66
+ * // Address: { // Address
67
+ * // Label: "STRING_VALUE",
68
+ * // Country: { // Country
69
+ * // Code2: "STRING_VALUE",
70
+ * // Code3: "STRING_VALUE",
71
+ * // Name: "STRING_VALUE",
72
+ * // },
73
+ * // Region: { // Region
74
+ * // Code: "STRING_VALUE",
75
+ * // Name: "STRING_VALUE",
76
+ * // },
77
+ * // SubRegion: { // SubRegion
78
+ * // Code: "STRING_VALUE",
79
+ * // Name: "STRING_VALUE",
80
+ * // },
81
+ * // Locality: "STRING_VALUE",
82
+ * // District: "STRING_VALUE",
83
+ * // SubDistrict: "STRING_VALUE",
84
+ * // PostalCode: "STRING_VALUE",
85
+ * // Block: "STRING_VALUE",
86
+ * // SubBlock: "STRING_VALUE",
87
+ * // Intersection: [ // IntersectionList
88
+ * // "STRING_VALUE",
89
+ * // ],
90
+ * // Street: "STRING_VALUE",
91
+ * // StreetComponents: [ // StreetComponentsList
92
+ * // { // StreetComponents
93
+ * // BaseName: "STRING_VALUE",
94
+ * // Type: "STRING_VALUE",
95
+ * // TypePlacement: "STRING_VALUE",
96
+ * // TypeSeparator: "STRING_VALUE",
97
+ * // Prefix: "STRING_VALUE",
98
+ * // Suffix: "STRING_VALUE",
99
+ * // Direction: "STRING_VALUE",
100
+ * // Language: "STRING_VALUE",
101
+ * // },
102
+ * // ],
103
+ * // AddressNumber: "STRING_VALUE",
104
+ * // Building: "STRING_VALUE",
105
+ * // },
106
+ * // AddressNumberCorrected: true || false,
107
+ * // PostalCodeDetails: [ // PostalCodeDetailsList
108
+ * // { // PostalCodeDetails
109
+ * // PostalCode: "STRING_VALUE",
110
+ * // PostalAuthority: "STRING_VALUE",
111
+ * // PostalCodeType: "STRING_VALUE",
112
+ * // UspsZip: { // UspsZip
113
+ * // ZipClassificationCode: "STRING_VALUE",
114
+ * // },
115
+ * // UspsZipPlus4: { // UspsZipPlus4
116
+ * // RecordTypeCode: "STRING_VALUE",
117
+ * // },
118
+ * // },
119
+ * // ],
120
+ * // Position: [ // Position
121
+ * // Number("double"),
122
+ * // ],
123
+ * // Distance: Number("long"),
124
+ * // MapView: [ // BoundingBox
125
+ * // Number("double"),
126
+ * // ],
127
+ * // Categories: [ // CategoryList
128
+ * // { // Category
129
+ * // Id: "STRING_VALUE", // required
130
+ * // Name: "STRING_VALUE", // required
131
+ * // LocalizedName: "STRING_VALUE",
132
+ * // Primary: true || false,
133
+ * // },
134
+ * // ],
135
+ * // FoodTypes: [ // FoodTypeList
136
+ * // { // FoodType
137
+ * // LocalizedName: "STRING_VALUE", // required
138
+ * // Id: "STRING_VALUE",
139
+ * // Primary: true || false,
140
+ * // },
141
+ * // ],
142
+ * // AccessPoints: [ // AccessPointList
143
+ * // { // AccessPoint
144
+ * // Position: [
145
+ * // Number("double"),
146
+ * // ],
147
+ * // },
148
+ * // ],
149
+ * // TimeZone: { // TimeZone
150
+ * // Name: "STRING_VALUE", // required
151
+ * // Offset: "STRING_VALUE",
152
+ * // OffsetSeconds: Number("long"),
153
+ * // },
154
+ * // PoliticalView: "STRING_VALUE",
155
+ * // },
156
+ * // ],
157
+ * // };
158
+ *
159
+ * ```
160
+ *
161
+ * @param ReverseGeocodeCommandInput - {@link ReverseGeocodeCommandInput}
162
+ * @returns {@link ReverseGeocodeCommandOutput}
163
+ * @see {@link ReverseGeocodeCommandInput} for command's `input` shape.
164
+ * @see {@link ReverseGeocodeCommandOutput} for command's `response` shape.
165
+ * @see {@link GeoPlacesClientResolvedConfig | config} for GeoPlacesClient's `config` shape.
166
+ *
167
+ * @throws {@link AccessDeniedException} (client fault)
168
+ * <p>You don't have sufficient access to perform this action.</p>
169
+ *
170
+ * @throws {@link InternalServerException} (server fault)
171
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
172
+ *
173
+ * @throws {@link ThrottlingException} (client fault)
174
+ * <p>The request was denied due to request throttling.</p>
175
+ *
176
+ * @throws {@link ValidationException} (client fault)
177
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
178
+ *
179
+ * @throws {@link GeoPlacesServiceException}
180
+ * <p>Base exception class for all service exceptions from GeoPlaces service.</p>
181
+ *
182
+ * @public
183
+ */
184
+ export declare class ReverseGeocodeCommand extends ReverseGeocodeCommand_base {
185
+ /** @internal type navigation helper, not in runtime. */
186
+ protected static __types: {
187
+ api: {
188
+ input: ReverseGeocodeRequest;
189
+ output: ReverseGeocodeResponse;
190
+ };
191
+ sdk: {
192
+ input: ReverseGeocodeCommandInput;
193
+ output: ReverseGeocodeCommandOutput;
194
+ };
195
+ };
196
+ }