Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data SearchForSuggestionsResult Source #
Contains a place suggestion resulting from a place suggestion query that is run on a place index resource.
See: newSearchForSuggestionsResult
smart constructor.
SearchForSuggestionsResult' | |
|
Instances
newSearchForSuggestionsResult Source #
Create a value of SearchForSuggestionsResult
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:placeId:SearchForSuggestionsResult'
, searchForSuggestionsResult_placeId
- The unique identifier of the place. You can use this with the GetPlace
operation to find the place again later.
For SearchPlaceIndexForSuggestions
operations, the PlaceId
is
returned by place indexes that use HERE or Esri as data providers.
$sel:text:SearchForSuggestionsResult'
, searchForSuggestionsResult_text
- The text of the place suggestion, typically formatted as an address
string.
searchForSuggestionsResult_placeId :: Lens' SearchForSuggestionsResult (Maybe Text) Source #
The unique identifier of the place. You can use this with the GetPlace
operation to find the place again later.
For SearchPlaceIndexForSuggestions
operations, the PlaceId
is
returned by place indexes that use HERE or Esri as data providers.
searchForSuggestionsResult_text :: Lens' SearchForSuggestionsResult Text Source #
The text of the place suggestion, typically formatted as an address string.