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 [`DeleteScalingPolicy`](crate::operation::delete_scaling_policy::builders::DeleteScalingPolicyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::delete_scaling_policy::builders::DeleteScalingPolicyFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_scaling_policy::builders::DeleteScalingPolicyFluentBuilder::set_name):<br>required: **true**<br><p>A descriptive label that is associated with a fleet's scaling policy. Policy names do not need to be unique.</p><br>
    ///   - [`fleet_id(impl Into<String>)`](crate::operation::delete_scaling_policy::builders::DeleteScalingPolicyFluentBuilder::fleet_id) / [`set_fleet_id(Option<String>)`](crate::operation::delete_scaling_policy::builders::DeleteScalingPolicyFluentBuilder::set_fleet_id):<br>required: **true**<br><p>A unique identifier for the fleet to be deleted. You can use either the fleet ID or ARN value.</p><br>
    /// - On success, responds with [`DeleteScalingPolicyOutput`](crate::operation::delete_scaling_policy::DeleteScalingPolicyOutput)
    /// - On failure, responds with [`SdkError<DeleteScalingPolicyError>`](crate::operation::delete_scaling_policy::DeleteScalingPolicyError)
    pub fn delete_scaling_policy(&self) -> crate::operation::delete_scaling_policy::builders::DeleteScalingPolicyFluentBuilder {
        crate::operation::delete_scaling_policy::builders::DeleteScalingPolicyFluentBuilder::new(self.handle.clone())
    }
}