LocationService / Client / update_route_calculator
update_route_calculator#
- LocationService.Client.update_route_calculator(**kwargs)#
Updates the specified properties for a given route calculator resource.
See also: AWS API Documentation
Request Syntax
response = client.update_route_calculator( CalculatorName='string', Description='string', PricingPlan='RequestBasedUsage'|'MobileAssetTracking'|'MobileAssetManagement' )
- Parameters:
CalculatorName (string) –
[REQUIRED]
The name of the route calculator resource to update.
Description (string) – Updates the description for the route calculator resource.
PricingPlan (string) – No longer used. If included, the only allowed value is
RequestBasedUsage
.
- Return type:
dict
- Returns:
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
.
Exceptions
LocationService.Client.exceptions.InternalServerException
LocationService.Client.exceptions.ResourceNotFoundException
LocationService.Client.exceptions.AccessDeniedException
LocationService.Client.exceptions.ValidationException
LocationService.Client.exceptions.ThrottlingException