aws_sdk_iotfleetwise/client/
disassociate_vehicle_fleet.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DisassociateVehicleFleet`](crate::operation::disassociate_vehicle_fleet::builders::DisassociateVehicleFleetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DisassociateVehicleFleetOutput`](crate::operation::disassociate_vehicle_fleet::DisassociateVehicleFleetOutput)
    /// - On failure, responds with [`SdkError<DisassociateVehicleFleetError>`](crate::operation::disassociate_vehicle_fleet::DisassociateVehicleFleetError)
    pub fn disassociate_vehicle_fleet(&self) -> crate::operation::disassociate_vehicle_fleet::builders::DisassociateVehicleFleetFluentBuilder {
        crate::operation::disassociate_vehicle_fleet::builders::DisassociateVehicleFleetFluentBuilder::new(self.handle.clone())
    }
}