Skip to main content

texts

Creates, updates, deletes, gets or lists a texts resource.

Overview

Nametexts
TypeResource
Idaws.geo_places.texts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
next_tokenstringIf nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page.
pricing_bucketstringThe pricing bucket for which the query is charged at. For more information on pricing, please visit Amazon Location Service Pricing.
result_itemsarrayList of places or results returned for a query.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
search_textselectregionkeySearchText 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
keystringOptional: 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

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 }}'
;