aws_sdk_iotfleetwise/client/
batch_update_vehicle.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`BatchUpdateVehicle`](crate::operation::batch_update_vehicle::builders::BatchUpdateVehicleFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`vehicles(UpdateVehicleRequestItem)`](crate::operation::batch_update_vehicle::builders::BatchUpdateVehicleFluentBuilder::vehicles) / [`set_vehicles(Option<Vec::<UpdateVehicleRequestItem>>)`](crate::operation::batch_update_vehicle::builders::BatchUpdateVehicleFluentBuilder::set_vehicles):<br>required: **true**<br><p>A list of information about the vehicles to update. For more information, see the API data type.</p><br>
7    /// - On success, responds with [`BatchUpdateVehicleOutput`](crate::operation::batch_update_vehicle::BatchUpdateVehicleOutput) with field(s):
8    ///   - [`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>
9    ///   - [`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>
10    /// - On failure, responds with [`SdkError<BatchUpdateVehicleError>`](crate::operation::batch_update_vehicle::BatchUpdateVehicleError)
11    pub fn batch_update_vehicle(&self) -> crate::operation::batch_update_vehicle::builders::BatchUpdateVehicleFluentBuilder {
12        crate::operation::batch_update_vehicle::builders::BatchUpdateVehicleFluentBuilder::new(self.handle.clone())
13    }
14}