CreatePlaceIndexRequest
¶
Source code in docs_src/capo_location/types/create_place_index_request.py
data_source
instance-attribute
¶
data_source: str
Specifies the geospatial data provider for the new place index.
This field is case-sensitive. Enter the valid values as shown. For example, entering HERE returns an error.
Valid values include:
-
Esri– For additional information about Esri's coverage in your region of interest, see Esri details on geocoding coverage. -
Grab– Grab provides place index functionality for Southeast Asia. For additional information about GrabMaps' coverage, see GrabMaps countries and areas covered. -
Here– For additional information about HERE Technologies' coverage in your region of interest, see HERE details on goecoding coverage.If you specify HERE Technologies (
Here) as the data provider, you may not store results for locations in Japan. For more information, see the Amazon Web Services service terms for Amazon Location Service.
For additional information , see Data providers on the Amazon Location Service developer guide.
data_source_configuration
instance-attribute
¶
data_source_configuration: NotRequired[DataSourceConfiguration]
Specifies the data storage option requesting Places.
description
instance-attribute
¶
description: NotRequired[ResourceDescription]
The optional description for the place index resource.
index_name
instance-attribute
¶
index_name: ResourceName
The name of the place index resource.
Requirements:
-
Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
-
Must be a unique place index resource name.
-
No spaces allowed. For example,
ExamplePlaceIndex.
pricing_plan
instance-attribute
¶
pricing_plan: NotRequired[PricingPlan]
No longer used. If included, the only allowed value is RequestBasedUsage.
tags
instance-attribute
¶
tags: NotRequired[TagMap]
Applies one or more tags to the place index resource. A tag is a key-value pair that helps you manage, identify, search, and filter your resources.
Format: "key" : "value"
Restrictions:
-
Maximum 50 tags per resource.
-
Each tag key must be unique and must have exactly one associated value.
-
Maximum key length: 128 Unicode characters in UTF-8.
-
Maximum value length: 256 Unicode characters in UTF-8.
-
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @
-
Cannot use "aws:" as a prefix for a key.