aws_sdk_iotfleetwise/client/associate_vehicle_fleet.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 [`AssociateVehicleFleet`](crate::operation::associate_vehicle_fleet::builders::AssociateVehicleFleetFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`vehicle_name(impl Into<String>)`](crate::operation::associate_vehicle_fleet::builders::AssociateVehicleFleetFluentBuilder::vehicle_name) / [`set_vehicle_name(Option<String>)`](crate::operation::associate_vehicle_fleet::builders::AssociateVehicleFleetFluentBuilder::set_vehicle_name):<br>required: **true**<br><p>The unique ID of the vehicle to associate with the fleet.</p><br>
7 /// - [`fleet_id(impl Into<String>)`](crate::operation::associate_vehicle_fleet::builders::AssociateVehicleFleetFluentBuilder::fleet_id) / [`set_fleet_id(Option<String>)`](crate::operation::associate_vehicle_fleet::builders::AssociateVehicleFleetFluentBuilder::set_fleet_id):<br>required: **true**<br><p>The ID of a fleet.</p><br>
8 /// - On success, responds with [`AssociateVehicleFleetOutput`](crate::operation::associate_vehicle_fleet::AssociateVehicleFleetOutput)
9 /// - On failure, responds with [`SdkError<AssociateVehicleFleetError>`](crate::operation::associate_vehicle_fleet::AssociateVehicleFleetError)
10 pub fn associate_vehicle_fleet(&self) -> crate::operation::associate_vehicle_fleet::builders::AssociateVehicleFleetFluentBuilder {
11 crate::operation::associate_vehicle_fleet::builders::AssociateVehicleFleetFluentBuilder::new(self.handle.clone())
12 }
13}