NAME
Paws::LocationService::SearchPlaceIndexForPosition - Arguments for method SearchPlaceIndexForPosition on Paws::LocationService
DESCRIPTION
This class represents the parameters used for calling the method SearchPlaceIndexForPosition on the Amazon Location Service service. Use the attributes of this class as arguments to method SearchPlaceIndexForPosition.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SearchPlaceIndexForPosition.
SYNOPSIS
my $geo = Paws->service('LocationService');
my $SearchPlaceIndexForPositionResponse = $geo->SearchPlaceIndexForPosition(
IndexName => 'MyResourceName',
Position => [ 1, ... ],
MaxResults => 1, # OPTIONAL
);
# Results:
my $Results = $SearchPlaceIndexForPositionResponse->Results;
my $Summary = $SearchPlaceIndexForPositionResponse->Summary;
# Returns a Paws::LocationService::SearchPlaceIndexForPositionResponse 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/SearchPlaceIndexForPosition
ATTRIBUTES
REQUIRED IndexName => Str
The name of the place index resource you want to use for the search.
MaxResults => Int
An optional paramer. The maximum number of results returned per request.
Default value: 50
REQUIRED Position => ArrayRef[Num]
Specifies a coordinate for the query defined by a longitude, and latitude.
The first position is the X coordinate, or longitude.
The second position is the Y coordinate, or latitude.
For example, position=xLongitude&position=yLatitude
.
SEE ALSO
This class forms part of Paws, documenting arguments for method SearchPlaceIndexForPosition 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