![]() |
![]()
| ![]() |
![]()
NAMEPaws::LocationService - Perl Interface to AWS Amazon Location Service SYNOPSISuse Paws; my $obj = Paws->service('LocationService'); my $res = $obj->Method( Arg1 => $val1, Arg2 => [ 'V1', 'V2' ], # if Arg3 is an object, the HashRef will be used as arguments to the constructor # of the arguments type Arg3 => { Att1 => 'Val1' }, # if Arg4 is an array of objects, the HashRefs will be passed as arguments to # the constructor of the arguments type Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], ); DESCRIPTIONSuite of geospatial services including Maps, Places, Routes, Tracking, and Geofencing For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/geo-2020-11-19> METHODSAssociateTrackerConsumerEach argument is described in detail in: Paws::LocationService::AssociateTrackerConsumer Returns: a Paws::LocationService::AssociateTrackerConsumerResponse instance Creates an association between a geofence collection and a tracker resource. This allows the tracker resource to communicate location data to the linked geofence collection. Currently not supported — Cross-account configurations, such as creating associations between a tracker resource in one account and a geofence collection in another account. BatchDeleteDevicePositionHistoryEach argument is described in detail in: Paws::LocationService::BatchDeleteDevicePositionHistory Returns: a Paws::LocationService::BatchDeleteDevicePositionHistoryResponse instance Deletes the position history of one or more devices from a tracker resource. BatchDeleteGeofenceEach argument is described in detail in: Paws::LocationService::BatchDeleteGeofence Returns: a Paws::LocationService::BatchDeleteGeofenceResponse instance Deletes a batch of geofences from a geofence collection. This operation deletes the resource permanently. BatchEvaluateGeofences
Each argument is described in detail in: Paws::LocationService::BatchEvaluateGeofences Returns: a Paws::LocationService::BatchEvaluateGeofencesResponse instance Evaluates device positions against the geofence geometries from a given geofence collection. The evaluation determines if the device has entered or exited a geofenced area, which publishes ENTER or EXIT geofence events to Amazon EventBridge. The last geofence that a device was observed within, if any, is tracked for 30 days after the most recent device position update BatchGetDevicePositionEach argument is described in detail in: Paws::LocationService::BatchGetDevicePosition Returns: a Paws::LocationService::BatchGetDevicePositionResponse instance A batch request to retrieve all device positions. BatchPutGeofenceEach argument is described in detail in: Paws::LocationService::BatchPutGeofence Returns: a Paws::LocationService::BatchPutGeofenceResponse instance A batch request for storing geofence geometries into a given geofence collection, or updates the geometry of an existing geofence if a geofence ID is included in the request. BatchUpdateDevicePositionEach argument is described in detail in: Paws::LocationService::BatchUpdateDevicePosition Returns: a Paws::LocationService::BatchUpdateDevicePositionResponse instance Uploads position update data for one or more devices to a tracker resource. Amazon Location uses the data when reporting the last known device position and position history. Only one position update is stored per sample time. Location data is sampled at a fixed rate of one position per 30-second interval and retained for 30 days before it's deleted. CalculateRoute
Each argument is described in detail in: Paws::LocationService::CalculateRoute Returns: a Paws::LocationService::CalculateRouteResponse instance Calculates a route (https://docs.aws.amazon.com/location/latest/developerguide/calculate-route.html) given the following required parameters: "DeparturePostiton" and "DestinationPosition". Requires that you first create aroute calculator resource (https://docs.aws.amazon.com/location-routes/latest/APIReference/API_CreateRouteCalculator.html) By default, a request that doesn't specify a departure time uses the best time of day to travel with the best traffic conditions when calculating the route. Additional options include:
CreateGeofenceCollection
Each argument is described in detail in: Paws::LocationService::CreateGeofenceCollection Returns: a Paws::LocationService::CreateGeofenceCollectionResponse instance Creates a geofence collection, which manages and stores geofences. CreateMap
Each argument is described in detail in: Paws::LocationService::CreateMap Returns: a Paws::LocationService::CreateMapResponse instance Creates a map resource in your AWS account, which provides map tiles of different styles sourced from global location data providers. CreatePlaceIndex
Each argument is described in detail in: Paws::LocationService::CreatePlaceIndex Returns: a Paws::LocationService::CreatePlaceIndexResponse instance Creates a place index resource in your AWS account, which supports functions with geospatial data sourced from your chosen data provider. CreateRouteCalculator
Each argument is described in detail in: Paws::LocationService::CreateRouteCalculator Returns: a Paws::LocationService::CreateRouteCalculatorResponse instance Creates a route calculator resource in your AWS account. You can send requests to a route calculator resource to estimate travel time, distance, and get directions. A route calculator sources traffic and road network data from your chosen data provider. CreateTracker
Each argument is described in detail in: Paws::LocationService::CreateTracker Returns: a Paws::LocationService::CreateTrackerResponse instance Creates a tracker resource in your AWS account, which lets you retrieve current and historical location of devices. DeleteGeofenceCollectionEach argument is described in detail in: Paws::LocationService::DeleteGeofenceCollection Returns: a Paws::LocationService::DeleteGeofenceCollectionResponse instance Deletes a geofence collection from your AWS account. This operation deletes the resource permanently. If the geofence collection is the target of a tracker resource, the devices will no longer be monitored. DeleteMapEach argument is described in detail in: Paws::LocationService::DeleteMap Returns: a Paws::LocationService::DeleteMapResponse instance Deletes a map resource from your AWS account. This operation deletes the resource permanently. If the map is being used in an application, the map may not render. DeletePlaceIndexEach argument is described in detail in: Paws::LocationService::DeletePlaceIndex Returns: a Paws::LocationService::DeletePlaceIndexResponse instance Deletes a place index resource from your AWS account. This operation deletes the resource permanently. DeleteRouteCalculatorEach argument is described in detail in: Paws::LocationService::DeleteRouteCalculator Returns: a Paws::LocationService::DeleteRouteCalculatorResponse instance Deletes a route calculator resource from your AWS account. This operation deletes the resource permanently. DeleteTrackerEach argument is described in detail in: Paws::LocationService::DeleteTracker Returns: a Paws::LocationService::DeleteTrackerResponse instance Deletes a tracker resource from your AWS account. This operation deletes the resource permanently. If the tracker resource is in use, you may encounter an error. Make sure that the target resource isn't a dependency for your applications. DescribeGeofenceCollectionEach argument is described in detail in: Paws::LocationService::DescribeGeofenceCollection Returns: a Paws::LocationService::DescribeGeofenceCollectionResponse instance Retrieves the geofence collection details. DescribeMapEach argument is described in detail in: Paws::LocationService::DescribeMap Returns: a Paws::LocationService::DescribeMapResponse instance Retrieves the map resource details. DescribePlaceIndexEach argument is described in detail in: Paws::LocationService::DescribePlaceIndex Returns: a Paws::LocationService::DescribePlaceIndexResponse instance Retrieves the place index resource details. DescribeRouteCalculatorEach argument is described in detail in: Paws::LocationService::DescribeRouteCalculator Returns: a Paws::LocationService::DescribeRouteCalculatorResponse instance Retrieves the route calculator resource details. DescribeTrackerEach argument is described in detail in: Paws::LocationService::DescribeTracker Returns: a Paws::LocationService::DescribeTrackerResponse instance Retrieves the tracker resource details. DisassociateTrackerConsumerEach argument is described in detail in: Paws::LocationService::DisassociateTrackerConsumer Returns: a Paws::LocationService::DisassociateTrackerConsumerResponse instance Removes the association between a tracker resource and a geofence collection. Once you unlink a tracker resource from a geofence collection, the tracker positions will no longer be automatically evaluated against geofences. GetDevicePositionEach argument is described in detail in: Paws::LocationService::GetDevicePosition Returns: a Paws::LocationService::GetDevicePositionResponse instance Retrieves a device's most recent position according to its sample time. Device positions are deleted after 30 days. GetDevicePositionHistory
Each argument is described in detail in: Paws::LocationService::GetDevicePositionHistory Returns: a Paws::LocationService::GetDevicePositionHistoryResponse instance Retrieves the device position history from a tracker resource within a specified range of time. Device positions are deleted after 30 days. GetGeofenceEach argument is described in detail in: Paws::LocationService::GetGeofence Returns: a Paws::LocationService::GetGeofenceResponse instance Retrieves the geofence details from a geofence collection. GetMapGlyphsEach argument is described in detail in: Paws::LocationService::GetMapGlyphs Returns: a Paws::LocationService::GetMapGlyphsResponse instance Retrieves glyphs used to display labels on a map. GetMapSpritesEach argument is described in detail in: Paws::LocationService::GetMapSprites Returns: a Paws::LocationService::GetMapSpritesResponse instance Retrieves the sprite sheet corresponding to a map resource. The sprite sheet is a PNG image paired with a JSON document describing the offsets of individual icons that will be displayed on a rendered map. GetMapStyleDescriptorEach argument is described in detail in: Paws::LocationService::GetMapStyleDescriptor Returns: a Paws::LocationService::GetMapStyleDescriptorResponse instance Retrieves the map style descriptor from a map resource. The style descriptor contains specications on how features render on a map. For example, what data to display, what order to display the data in, and the style for the data. Style descriptors follow the Mapbox Style Specification. GetMapTileEach argument is described in detail in: Paws::LocationService::GetMapTile Returns: a Paws::LocationService::GetMapTileResponse instance Retrieves a vector data tile from the map resource. Map tiles are used by clients to render a map. they're addressed using a grid arrangement with an X coordinate, Y coordinate, and Z (zoom) level. The origin (0, 0) is the top left of the map. Increasing the zoom level by 1 doubles both the X and Y dimensions, so a tile containing data for the entire world at (0/0/0) will be split into 4 tiles at zoom 1 (1/0/0, 1/0/1, 1/1/0, 1/1/1). ListDevicePositions
Each argument is described in detail in: Paws::LocationService::ListDevicePositions Returns: a Paws::LocationService::ListDevicePositionsResponse instance Lists the latest device positions for requested devices. ListGeofenceCollections
Each argument is described in detail in: Paws::LocationService::ListGeofenceCollections Returns: a Paws::LocationService::ListGeofenceCollectionsResponse instance Lists geofence collections in your AWS account. ListGeofences
Each argument is described in detail in: Paws::LocationService::ListGeofences Returns: a Paws::LocationService::ListGeofencesResponse instance Lists geofences stored in a given geofence collection. ListMaps
Each argument is described in detail in: Paws::LocationService::ListMaps Returns: a Paws::LocationService::ListMapsResponse instance Lists map resources in your AWS account. ListPlaceIndexes
Each argument is described in detail in: Paws::LocationService::ListPlaceIndexes Returns: a Paws::LocationService::ListPlaceIndexesResponse instance Lists place index resources in your AWS account. ListRouteCalculators
Each argument is described in detail in: Paws::LocationService::ListRouteCalculators Returns: a Paws::LocationService::ListRouteCalculatorsResponse instance Lists route calculator resources in your AWS account. ListTagsForResourceEach argument is described in detail in: Paws::LocationService::ListTagsForResource Returns: a Paws::LocationService::ListTagsForResourceResponse instance Returns the tags for the specified Amazon Location Service resource. ListTrackerConsumers
Each argument is described in detail in: Paws::LocationService::ListTrackerConsumers Returns: a Paws::LocationService::ListTrackerConsumersResponse instance Lists geofence collections currently associated to the given tracker resource. ListTrackers
Each argument is described in detail in: Paws::LocationService::ListTrackers Returns: a Paws::LocationService::ListTrackersResponse instance Lists tracker resources in your AWS account. PutGeofenceEach argument is described in detail in: Paws::LocationService::PutGeofence Returns: a Paws::LocationService::PutGeofenceResponse instance Stores a geofence geometry in a given geofence collection, or updates the geometry of an existing geofence if a geofence ID is included in the request. SearchPlaceIndexForPosition
Each argument is described in detail in: Paws::LocationService::SearchPlaceIndexForPosition Returns: a Paws::LocationService::SearchPlaceIndexForPositionResponse instance Reverse geocodes a given coordinate and returns a legible address. Allows you to search for Places or points of interest near a given position. SearchPlaceIndexForText
Each argument is described in detail in: Paws::LocationService::SearchPlaceIndexForText Returns: a Paws::LocationService::SearchPlaceIndexForTextResponse instance Geocodes free-form text, such as an address, name, city, or region to allow you to search for Places or points of interest. Includes the option to apply additional parameters to narrow your list of results. You can search for places near a given position using "BiasPosition", or filter results within a bounding box using "FilterBBox". Providing both parameters simultaneously returns an error. TagResourceEach argument is described in detail in: Paws::LocationService::TagResource Returns: a Paws::LocationService::TagResourceResponse instance Assigns one or more tags (key-value pairs) to the specified Amazon Location Service resource. <p>Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values.</p> <p>Tags don't have any semantic meaning to AWS and are interpreted strictly as strings of characters.</p> <p>You can use the <code>TagResource</code> action with an Amazon Location Service resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the tags already associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag. </p> <p>You can associate as many as 50 tags with a resource.</p> UntagResourceEach argument is described in detail in: Paws::LocationService::UntagResource Returns: a Paws::LocationService::UntagResourceResponse instance Removes one or more tags from the specified Amazon Location Service resource. PAGINATORSPaginator methods are helpers that repetively call methods that return partial results GetAllDevicePositionHistory(sub { },DeviceId => Str, TrackerName => Str, [EndTimeExclusive => Str, NextToken => Str, StartTimeInclusive => Str])GetAllDevicePositionHistory(DeviceId => Str, TrackerName => Str, [EndTimeExclusive => Str, NextToken => Str, StartTimeInclusive => Str])If passed a sub as first parameter, it will call the sub for each element found in : - DevicePositions, passing the object as the first parameter, and the string 'DevicePositions' as the second parameter If not, it will return a a Paws::LocationService::GetDevicePositionHistoryResponse instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. ListAllDevicePositions(sub { },TrackerName => Str, [MaxResults => Int, NextToken => Str])ListAllDevicePositions(TrackerName => Str, [MaxResults => Int, NextToken => Str])If passed a sub as first parameter, it will call the sub for each element found in : - Entries, passing the object as the first parameter, and the string 'Entries' as the second parameter If not, it will return a a Paws::LocationService::ListDevicePositionsResponse instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. ListAllGeofenceCollections(sub { },[MaxResults => Int, NextToken => Str])ListAllGeofenceCollections([MaxResults => Int, NextToken => Str])If passed a sub as first parameter, it will call the sub for each element found in : - Entries, passing the object as the first parameter, and the string 'Entries' as the second parameter If not, it will return a a Paws::LocationService::ListGeofenceCollectionsResponse instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. ListAllGeofences(sub { },CollectionName => Str, [NextToken => Str])ListAllGeofences(CollectionName => Str, [NextToken => Str])If passed a sub as first parameter, it will call the sub for each element found in : - Entries, passing the object as the first parameter, and the string 'Entries' as the second parameter If not, it will return a a Paws::LocationService::ListGeofencesResponse instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. ListAllMaps(sub { },[MaxResults => Int, NextToken => Str])ListAllMaps([MaxResults => Int, NextToken => Str])If passed a sub as first parameter, it will call the sub for each element found in : - Entries, passing the object as the first parameter, and the string 'Entries' as the second parameter If not, it will return a a Paws::LocationService::ListMapsResponse instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. ListAllPlaceIndexes(sub { },[MaxResults => Int, NextToken => Str])ListAllPlaceIndexes([MaxResults => Int, NextToken => Str])If passed a sub as first parameter, it will call the sub for each element found in : - Entries, passing the object as the first parameter, and the string 'Entries' as the second parameter If not, it will return a a Paws::LocationService::ListPlaceIndexesResponse instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. ListAllRouteCalculators(sub { },[MaxResults => Int, NextToken => Str])ListAllRouteCalculators([MaxResults => Int, NextToken => Str])If passed a sub as first parameter, it will call the sub for each element found in : - Entries, passing the object as the first parameter, and the string 'Entries' as the second parameter If not, it will return a a Paws::LocationService::ListRouteCalculatorsResponse instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. ListAllTrackerConsumers(sub { },TrackerName => Str, [MaxResults => Int, NextToken => Str])ListAllTrackerConsumers(TrackerName => Str, [MaxResults => Int, NextToken => Str])If passed a sub as first parameter, it will call the sub for each element found in : - ConsumerArns, passing the object as the first parameter, and the string 'ConsumerArns' as the second parameter If not, it will return a a Paws::LocationService::ListTrackerConsumersResponse instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. ListAllTrackers(sub { },[MaxResults => Int, NextToken => Str])ListAllTrackers([MaxResults => Int, NextToken => Str])If passed a sub as first parameter, it will call the sub for each element found in : - Entries, passing the object as the first parameter, and the string 'Entries' as the second parameter If not, it will return a a Paws::LocationService::ListTrackersResponse instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. SEE ALSOThis service class forms part of Paws BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|