update_vehicle

IoTFleetWise.Client.update_vehicle(**kwargs)

Updates a vehicle.

See also: AWS API Documentation

Request Syntax

response = client.update_vehicle(
    vehicleName='string',
    modelManifestArn='string',
    decoderManifestArn='string',
    attributes={
        'string': 'string'
    },
    attributeUpdateMode='Overwrite'|'Merge'
)
Parameters
  • vehicleName (string) --

    [REQUIRED]

    The unique ID of the vehicle to update.

  • modelManifestArn (string) -- The ARN of a vehicle model (model manifest) associated with the vehicle.
  • decoderManifestArn (string) -- The ARN of the decoder manifest associated with this vehicle.
  • attributes (dict) --

    Static information about a vehicle in a key-value pair. For example:

    "engineType" : "1.3 L R2"
    • (string) --
      • (string) --
  • attributeUpdateMode (string) --

    The method the specified attributes will update the existing attributes on the vehicle. Use Overwite to replace the vehicle attributes with the specified attributes. Or use Merge to combine all attributes.

    This is required if attributes are present in the input.

Return type

dict

Returns

Response Syntax

{
    'vehicleName': 'string',
    'arn': 'string'
}

Response Structure

  • (dict) --

    • vehicleName (string) --

      The ID of the updated vehicle.

    • arn (string) --

      The ARN of the updated vehicle.

Exceptions

  • IoTFleetWise.Client.exceptions.InternalServerException
  • IoTFleetWise.Client.exceptions.ResourceNotFoundException
  • IoTFleetWise.Client.exceptions.ConflictException
  • IoTFleetWise.Client.exceptions.ThrottlingException
  • IoTFleetWise.Client.exceptions.ValidationException
  • IoTFleetWise.Client.exceptions.AccessDeniedException