Search Text
geo_places.search_text
ActionAmazon Web Servicesconnection required
Calls the AWS geo_places API (SigV4).
SearchText searches for geocode and place information. You can then complete a follow-up query suggested from the Suggest API via a query id.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Amazon Location Service Places V2
- Secret shape
- {"access_key_id", "secret_access_key"}
- Config it needs
- region
- Resolved by
- config.connection_id, else node.connection_id
Configuration
6 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
region AWS region (overrides the connection). | string | No | — | — | — |
query_text The free text to search for, such as an address or place name. Set this or query_id, not both. | string | No | — | — | — |
query_id A query id from Suggest, to complete that suggestion instead of a free-text search. | string | No | — | — | — |
bias_position Where to search around, as [longitude, latitude]. AWS requires this or one of the Filter shapes on the Write Action node. | array | No | — | array of number | [-122.3321,47.6062] |
next_token Continues a previous run of this node: pass that run's paging token here. Leave blank to start at the first page. | string | No | — | — | — |
max_results Maximum items to return. | number | No | 50 | ≥ 1 | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"bias_position": [
-122.3321,
47.6062
],
"max_results": 50
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
PricingBucket | string | — |
ResultItems | array | — |
NextToken | string | — |
{
"NextToken": "",
"PricingBucket": "",
"ResultItems": []
}Related Amazon Location Service Places V2 nodes
See Search Text run in a workflow.
In a technical demo we add the Amazon Location Service Places V2 connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.