1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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 ::std::convert::Into<String>)`](crate::operation::update_vehicle::builders::UpdateVehicleFluentBuilder::vehicle_name) / [`set_vehicle_name(Option<String>)`](crate::operation::update_vehicle::builders::UpdateVehicleFluentBuilder::set_vehicle_name): <p>The unique ID of the vehicle to update.</p>
    ///   - [`model_manifest_arn(impl ::std::convert::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): <p>The ARN of a vehicle model (model manifest) associated with the vehicle.</p>
    ///   - [`decoder_manifest_arn(impl ::std::convert::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): <p>The ARN of the decoder manifest associated with this vehicle.</p>
    ///   - [`attributes(HashMap<String, String>)`](crate::operation::update_vehicle::builders::UpdateVehicleFluentBuilder::attributes) / [`set_attributes(Option<HashMap<String, String>>)`](crate::operation::update_vehicle::builders::UpdateVehicleFluentBuilder::set_attributes): <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>
    ///   - [`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): <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>
    /// - 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(),
        )
    }
}