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'
)
[REQUIRED]
The unique ID of the vehicle to update.
Static information about a vehicle in a key-value pair. For example:
"engineType"
:"1.3 L R2"
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.
dict
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