texts
Creates, updates, deletes, gets or lists a texts resource.
Overview
| Name | texts |
| Type | Resource |
| Id | aws.geo_places.texts |
Fields
The following fields are returned by SELECT queries:
- search_text
| Name | Datatype | Description |
|---|---|---|
next_token | string | If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. |
pricing_bucket | string | The pricing bucket for which the query is charged at. For more information on pricing, please visit Amazon Location Service Pricing. |
result_items | array | List of places or results returned for a query. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
search_text | select | region | key | SearchText searches for geocode and place information. You can then complete a follow-up query suggested from the Suggest API via a query id. For more information, see Search Text in the Amazon Location Service Developer Guide. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
key | string | Optional: The API key to be used for authorization. Either an API key or valid SigV4 signature must be provided when making a request. |
SELECT examples
- search_text
SearchText searches for geocode and place information. You can then complete a follow-up query suggested from the Suggest API via a query id. For more information, see Search Text in the Amazon Location Service Developer Guide.
SELECT
next_token,
pricing_bucket,
result_items
FROM aws.geo_places.texts
WHERE region = '{{ region }}' -- required
AND key = '{{ key }}'
;