update_vehicle
async
¶
update_vehicle(
vehicle_name: vehicleName,
*,
config_overrides: Optional[AsyncIoTFleetWiseClientConfig] = 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/async_io_t_fleet_wise.py
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 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 | |