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