aws_sdk_gamelift/client/
delete_scaling_policy.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 [`DeleteScalingPolicy`](crate::operation::delete_scaling_policy::builders::DeleteScalingPolicyFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    ///   - [`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>
8    /// - On success, responds with [`DeleteScalingPolicyOutput`](crate::operation::delete_scaling_policy::DeleteScalingPolicyOutput)
9    /// - On failure, responds with [`SdkError<DeleteScalingPolicyError>`](crate::operation::delete_scaling_policy::DeleteScalingPolicyError)
10    pub fn delete_scaling_policy(&self) -> crate::operation::delete_scaling_policy::builders::DeleteScalingPolicyFluentBuilder {
11        crate::operation::delete_scaling_policy::builders::DeleteScalingPolicyFluentBuilder::new(self.handle.clone())
12    }
13}