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',
    PricingPlan='RequestBasedUsage'|'MobileAssetTracking'|'MobileAssetManagement',
    Description='string'
)
Parameters:
  • CalculatorName (string) –

    [REQUIRED]

    The name of the route calculator resource to update.

  • PricingPlan (string) – No longer used. If included, the only allowed value is RequestBasedUsage.

  • Description (string) – Updates the description for the route calculator resource.

Return type:

dict

Returns:

Response Syntax

{
    'CalculatorName': 'string',
    'CalculatorArn': 'string',
    'UpdateTime': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • CalculatorName (string) –

      The name of the updated route calculator resource.

    • 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

    • UpdateTime (datetime) –

      The timestamp for when the route calculator was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

Exceptions