1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`BatchUpdateVehicle`](crate::operation::batch_update_vehicle::builders::BatchUpdateVehicleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`vehicles(Vec<UpdateVehicleRequestItem>)`](crate::operation::batch_update_vehicle::builders::BatchUpdateVehicleFluentBuilder::vehicles) / [`set_vehicles(Option<Vec<UpdateVehicleRequestItem>>)`](crate::operation::batch_update_vehicle::builders::BatchUpdateVehicleFluentBuilder::set_vehicles): <p> A list of information about the vehicles to update. For more information, see the API data type.</p>
    /// - On success, responds with [`BatchUpdateVehicleOutput`](crate::operation::batch_update_vehicle::BatchUpdateVehicleOutput) with field(s):
    ///   - [`vehicles(Option<Vec<UpdateVehicleResponseItem>>)`](crate::operation::batch_update_vehicle::BatchUpdateVehicleOutput::vehicles): <p> A list of information about the batch of updated vehicles. </p> <note>   <p>This list contains only unique IDs for the vehicles that were updated.</p>  </note>
    ///   - [`errors(Option<Vec<UpdateVehicleError>>)`](crate::operation::batch_update_vehicle::BatchUpdateVehicleOutput::errors): <p>A list of information about errors returned while updating a batch of vehicles, or, if there aren't any errors, an empty list.</p>
    /// - On failure, responds with [`SdkError<BatchUpdateVehicleError>`](crate::operation::batch_update_vehicle::BatchUpdateVehicleError)
    pub fn batch_update_vehicle(
        &self,
    ) -> crate::operation::batch_update_vehicle::builders::BatchUpdateVehicleFluentBuilder {
        crate::operation::batch_update_vehicle::builders::BatchUpdateVehicleFluentBuilder::new(
            self.handle.clone(),
        )
    }
}