2021/07/19 - Amazon Location Service - 5 new api methods
Changes Add five new API operations: UpdateGeofenceCollection, UpdateMap, UpdatePlaceIndex, UpdateRouteCalculator, UpdateTracker.
Updates the specified properties of a given map resource.
See also: AWS API Documentation
Request Syntax
client.update_map( Description='string', MapName='string', PricingPlan='RequestBasedUsage'|'MobileAssetTracking'|'MobileAssetManagement' )
string
Updates the description for the map resource.
string
[REQUIRED]
The name of the map resource to update.
string
Updates the pricing plan for the map resource.
For more information about each pricing plan option restrictions, see Amazon Location Service pricing.
dict
Response Syntax
{ 'MapArn': 'string', 'MapName': 'string', 'UpdateTime': datetime(2015, 1, 1) }
Response Structure
(dict) --
MapArn (string) --
The Amazon Resource Name (ARN) of the updated map resource. Used to specify a resource across AWS.
Format example: arn:aws:geo:region:account-id:maps/ExampleMap
MapName (string) --
The name of the updated map resource.
UpdateTime (datetime) --
The timestamp for when the map resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
Updates the specified properties of a given place index resource.
See also: AWS API Documentation
Request Syntax
client.update_place_index( DataSourceConfiguration={ 'IntendedUse': 'SingleUse'|'Storage' }, Description='string', IndexName='string', PricingPlan='RequestBasedUsage'|'MobileAssetTracking'|'MobileAssetManagement' )
dict
Updates the data storage option for the place index resource.
IntendedUse (string) --
Specifies how the results of an operation will be stored by the caller.
Valid values include:
SingleUse specifies that the results won't be stored.
Storage specifies that the result can be cached or stored in a database.
Default value: SingleUse
string
Updates the description for the place index resource.
string
[REQUIRED]
The name of the place index resource to update.
string
Updates the pricing plan for the place index resource.
For more information about each pricing plan option restrictions, see Amazon Location Service pricing.
dict
Response Syntax
{ 'IndexArn': 'string', 'IndexName': 'string', 'UpdateTime': datetime(2015, 1, 1) }
Response Structure
(dict) --
IndexArn (string) --
The Amazon Resource Name (ARN) of the upated place index resource. Used to specify a resource across AWS.
Format example: arn:aws:geo:region:account-id:place- index/ExamplePlaceIndex
IndexName (string) --
The name of the updated place index resource.
UpdateTime (datetime) --
The timestamp for when the place index resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
Updates the specified properties of a given geofence collection.
See also: AWS API Documentation
Request Syntax
client.update_geofence_collection( CollectionName='string', Description='string', PricingPlan='RequestBasedUsage'|'MobileAssetTracking'|'MobileAssetManagement', PricingPlanDataSource='string' )
string
[REQUIRED]
The name of the geofence collection to update.
string
Updates the description for the geofence collection.
string
Updates the pricing plan for the geofence collection.
For more information about each pricing plan option restrictions, see Amazon Location Service pricing.
string
Updates the data provider for the geofence collection.
A required value for the following pricing plans: MobileAssetTracking``| ``MobileAssetManagement
For more information about data providers and pricing plans, see the Amazon Location Service product page.
dict
Response Syntax
{ 'CollectionArn': 'string', 'CollectionName': 'string', 'UpdateTime': datetime(2015, 1, 1) }
Response Structure
(dict) --
CollectionArn (string) --
The Amazon Resource Name (ARN) of the updated geofence collection. Used to specify a resource across AWS.
Format example: arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection
CollectionName (string) --
The name of the updated geofence collection.
UpdateTime (datetime) --
The time when the geofence collection was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ
Updates the specified properties of a given tracker resource.
See also: AWS API Documentation
Request Syntax
client.update_tracker( Description='string', PricingPlan='RequestBasedUsage'|'MobileAssetTracking'|'MobileAssetManagement', PricingPlanDataSource='string', TrackerName='string' )
string
Updates the description for the tracker resource.
string
Updates the pricing plan for the tracker resource.
For more information about each pricing plan option restrictions, see Amazon Location Service pricing.
string
Updates the data provider for the tracker resource.
A required value for the following pricing plans: MobileAssetTracking``| ``MobileAssetManagement
For more information about data providers and pricing plans, see the Amazon Location Service product page
string
[REQUIRED]
The name of the tracker resource to update.
dict
Response Syntax
{ 'TrackerArn': 'string', 'TrackerName': 'string', 'UpdateTime': datetime(2015, 1, 1) }
Response Structure
(dict) --
TrackerArn (string) --
The Amazon Resource Name (ARN) of the updated tracker resource. Used to specify a resource across AWS.
Format example: arn:aws:geo:region:account-id:tracker/ExampleTracker
TrackerName (string) --
The name of the updated tracker resource.
UpdateTime (datetime) --
The timestamp for when the tracker resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
Updates the specified properties for a given route calculator resource.
See also: AWS API Documentation
Request Syntax
client.update_route_calculator( CalculatorName='string', Description='string', PricingPlan='RequestBasedUsage'|'MobileAssetTracking'|'MobileAssetManagement' )
string
[REQUIRED]
The name of the route calculator resource to update.
string
Updates the description for the route calculator resource.
string
Updates the pricing plan for the route calculator resource.
For more information about each pricing plan option restrictions, see Amazon Location Service pricing.
dict
Response Syntax
{ 'CalculatorArn': 'string', 'CalculatorName': 'string', 'UpdateTime': datetime(2015, 1, 1) }
Response Structure
(dict) --
CalculatorArn (string) --
The Amazon Resource Name (ARN) of the updated route calculator resource. Used to specify a resource across AWS.
Format example: arn:aws:geo:region:account-id:route- calculator/ExampleCalculator
CalculatorName (string) --
The name of the updated route calculator resource.
UpdateTime (datetime) --
The timestamp for when the route calculator was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.