aws_sdk_deadline/client/
delete_fleet.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteFleet`](crate::operation::delete_fleet::builders::DeleteFleetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`client_token(impl Into<String>)`](crate::operation::delete_fleet::builders::DeleteFleetFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::delete_fleet::builders::DeleteFleetFluentBuilder::set_client_token):<br>required: **false**<br><p>The unique token which the server uses to recognize retries of the same request.</p><br>
    ///   - [`farm_id(impl Into<String>)`](crate::operation::delete_fleet::builders::DeleteFleetFluentBuilder::farm_id) / [`set_farm_id(Option<String>)`](crate::operation::delete_fleet::builders::DeleteFleetFluentBuilder::set_farm_id):<br>required: **true**<br><p>The farm ID of the farm to remove from the fleet.</p><br>
    ///   - [`fleet_id(impl Into<String>)`](crate::operation::delete_fleet::builders::DeleteFleetFluentBuilder::fleet_id) / [`set_fleet_id(Option<String>)`](crate::operation::delete_fleet::builders::DeleteFleetFluentBuilder::set_fleet_id):<br>required: **true**<br><p>The fleet ID of the fleet to delete.</p><br>
    /// - On success, responds with [`DeleteFleetOutput`](crate::operation::delete_fleet::DeleteFleetOutput)
    /// - On failure, responds with [`SdkError<DeleteFleetError>`](crate::operation::delete_fleet::DeleteFleetError)
    pub fn delete_fleet(&self) -> crate::operation::delete_fleet::builders::DeleteFleetFluentBuilder {
        crate::operation::delete_fleet::builders::DeleteFleetFluentBuilder::new(self.handle.clone())
    }
}