aws_sdk_iotfleetwise/client/update_vehicle.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateVehicle`](crate::operation::update_vehicle::builders::UpdateVehicleFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`vehicle_name(impl Into<String>)`](crate::operation::update_vehicle::builders::UpdateVehicleFluentBuilder::vehicle_name) / [`set_vehicle_name(Option<String>)`](crate::operation::update_vehicle::builders::UpdateVehicleFluentBuilder::set_vehicle_name):<br>required: **true**<br><p>The unique ID of the vehicle to update.</p><br>
/// - [`model_manifest_arn(impl Into<String>)`](crate::operation::update_vehicle::builders::UpdateVehicleFluentBuilder::model_manifest_arn) / [`set_model_manifest_arn(Option<String>)`](crate::operation::update_vehicle::builders::UpdateVehicleFluentBuilder::set_model_manifest_arn):<br>required: **false**<br><p>The ARN of a vehicle model (model manifest) associated with the vehicle.</p><br>
/// - [`decoder_manifest_arn(impl Into<String>)`](crate::operation::update_vehicle::builders::UpdateVehicleFluentBuilder::decoder_manifest_arn) / [`set_decoder_manifest_arn(Option<String>)`](crate::operation::update_vehicle::builders::UpdateVehicleFluentBuilder::set_decoder_manifest_arn):<br>required: **false**<br><p>The ARN of the decoder manifest associated with this vehicle.</p><br>
/// - [`attributes(impl Into<String>, impl Into<String>)`](crate::operation::update_vehicle::builders::UpdateVehicleFluentBuilder::attributes) / [`set_attributes(Option<HashMap::<String, String>>)`](crate::operation::update_vehicle::builders::UpdateVehicleFluentBuilder::set_attributes):<br>required: **false**<br><p>Static information about a vehicle in a key-value pair. For example:</p> <p><code>"engineType"</code> : <code>"1.3 L R2"</code></p><br>
/// - [`attribute_update_mode(UpdateMode)`](crate::operation::update_vehicle::builders::UpdateVehicleFluentBuilder::attribute_update_mode) / [`set_attribute_update_mode(Option<UpdateMode>)`](crate::operation::update_vehicle::builders::UpdateVehicleFluentBuilder::set_attribute_update_mode):<br>required: **false**<br><p>The method the specified attributes will update the existing attributes on the vehicle. Use<code>Overwite</code> to replace the vehicle attributes with the specified attributes. Or use <code>Merge</code> to combine all attributes.</p> <p>This is required if attributes are present in the input.</p><br>
/// - On success, responds with [`UpdateVehicleOutput`](crate::operation::update_vehicle::UpdateVehicleOutput) with field(s):
/// - [`vehicle_name(Option<String>)`](crate::operation::update_vehicle::UpdateVehicleOutput::vehicle_name): <p>The ID of the updated vehicle.</p>
/// - [`arn(Option<String>)`](crate::operation::update_vehicle::UpdateVehicleOutput::arn): <p>The ARN of the updated vehicle.</p>
/// - On failure, responds with [`SdkError<UpdateVehicleError>`](crate::operation::update_vehicle::UpdateVehicleError)
pub fn update_vehicle(&self) -> crate::operation::update_vehicle::builders::UpdateVehicleFluentBuilder {
crate::operation::update_vehicle::builders::UpdateVehicleFluentBuilder::new(self.handle.clone())
}
}