update_vehicle
¶
update_vehicle(
vehicle_name: vehicleName,
*,
config_overrides: Optional[IoTFleetWiseClientConfig] = None,
model_manifest_arn: Optional[arn] = None,
decoder_manifest_arn: Optional[arn] = None,
attributes: Optional[attributesMap] = None,
attribute_update_mode: Optional[UpdateMode] = None,
state_templates_to_add: Optional[StateTemplateAssociations] = None,
state_templates_to_remove: Optional[StateTemplateAssociationIdentifiers] = None,
state_templates_to_update: Optional[StateTemplateAssociations] = None,
) -> UpdateVehicleResponse
Updates a vehicle.
Access to certain Amazon Web Services IoT FleetWise features is currently gated. For more information, see Amazon Web Services Region and feature availability in the Amazon Web Services IoT FleetWise Developer Guide.
Parameters:
-
vehicle_name(vehicleName) –The unique ID of the vehicle to update.
-
model_manifest_arn(Optional[arn], default:None) –The ARN of a vehicle model (model manifest) associated with the vehicle.
-
decoder_manifest_arn(Optional[arn], default:None) –The ARN of the decoder manifest associated with this vehicle.
-
attributes(Optional[attributesMap], default:None) –Static information about a vehicle in a key-value pair. For example:
"engineType":"1.3 L R2" -
attribute_update_mode(Optional[UpdateMode], default:None) –The method the specified attributes will update the existing attributes on the vehicle. Use
Overwiteto replace the vehicle attributes with the specified attributes. Or useMergeto combine all attributes.This is required if attributes are present in the input.
-
state_templates_to_add(Optional[StateTemplateAssociations], default:None) –Associate state templates with the vehicle.
-
state_templates_to_remove(Optional[StateTemplateAssociationIdentifiers], default:None) –Remove state templates from the vehicle.
-
state_templates_to_update(Optional[StateTemplateAssociations], default:None) –Change the
stateTemplateUpdateStrategyof state templates already associated with the vehicle.
Raises:
-
InternalServerException–The request couldn't be completed because the server temporarily failed.
-
AccessDeniedException–You don't have sufficient permission to perform this action.
-
ConflictException–The request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.
-
LimitExceededException–A service quota was exceeded.
-
ResourceNotFoundException–The resource wasn't found.
-
ThrottlingException–The request couldn't be completed due to throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iotfleetwise/_services/io_t_fleet_wise.py
3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 | |