aws_sdk_batch/client/
delete_scheduling_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 [`DeleteSchedulingPolicy`](crate::operation::delete_scheduling_policy::builders::DeleteSchedulingPolicyFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`arn(impl Into<String>)`](crate::operation::delete_scheduling_policy::builders::DeleteSchedulingPolicyFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::delete_scheduling_policy::builders::DeleteSchedulingPolicyFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the scheduling policy to delete.</p><br>
7    /// - On success, responds with [`DeleteSchedulingPolicyOutput`](crate::operation::delete_scheduling_policy::DeleteSchedulingPolicyOutput)
8    /// - On failure, responds with [`SdkError<DeleteSchedulingPolicyError>`](crate::operation::delete_scheduling_policy::DeleteSchedulingPolicyError)
9    pub fn delete_scheduling_policy(&self) -> crate::operation::delete_scheduling_policy::builders::DeleteSchedulingPolicyFluentBuilder {
10        crate::operation::delete_scheduling_policy::builders::DeleteSchedulingPolicyFluentBuilder::new(self.handle.clone())
11    }
12}