NAME
Paws::LocationService::CreatePlaceIndex - Arguments for method CreatePlaceIndex on Paws::LocationService
DESCRIPTION
This class represents the parameters used for calling the method CreatePlaceIndex on the Amazon Location Service service. Use the attributes of this class as arguments to method CreatePlaceIndex.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreatePlaceIndex.
SYNOPSIS
my $geo = Paws->service('LocationService');
my $CreatePlaceIndexResponse = $geo->CreatePlaceIndex(
DataSource => 'MyString',
IndexName => 'MyResourceName',
PricingPlan => 'RequestBasedUsage',
DataSourceConfiguration => {
IntendedUse => 'SingleUse', # values: SingleUse, Storage; OPTIONAL
}, # OPTIONAL
Description => 'MyResourceDescription', # OPTIONAL
Tags => {
'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256
}, # OPTIONAL
);
# Results:
my $CreateTime = $CreatePlaceIndexResponse->CreateTime;
my $IndexArn = $CreatePlaceIndexResponse->IndexArn;
my $IndexName = $CreatePlaceIndexResponse->IndexName;
# Returns a L<Paws::LocationService::CreatePlaceIndexResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/geo/CreatePlaceIndex
ATTRIBUTES
REQUIRED DataSource => Str
Specifies the data provider of geospatial data.
This field is case-sensitive. Enter the valid values as shown. For example, entering HERE
will return an error.
Valid values include:
Esri
Here
Place index resources using HERE as a data provider can't be used to store (https://docs.aws.amazon.com/location-places/latest/APIReference/API_DataSourceConfiguration.html) results for locations in Japan. For more information, see the AWS Service Terms (https://aws.amazon.com/service-terms/) for Amazon Location Service.
For additional details on data providers, see the Amazon Location Service data providers page (https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html).
DataSourceConfiguration => Paws::LocationService::DataSourceConfiguration
Specifies the data storage option for requesting Places.
Description => Str
The optional description for the place index resource.
REQUIRED IndexName => Str
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
.
REQUIRED PricingPlan => Str
Specifies the pricing plan for your place index resource.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page (https://aws.amazon.com/location/pricing/).
Valid values are: "RequestBasedUsage"
, "MobileAssetTracking"
, "MobileAssetManagement"
Tags => Paws::LocationService::TagMap
Applies one or more tags to the place index resource. A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them.
Format: "key" : "value"
Restrictions:
Maximum 50 tags per resource
Each resource tag must be unique with a maximum of one 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: + - = . _ : / @.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreatePlaceIndex in Paws::LocationService
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues