aws_sdk_ssmcontacts/client/
delete_rotation.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 [`DeleteRotation`](crate::operation::delete_rotation::builders::DeleteRotationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`rotation_id(impl Into<String>)`](crate::operation::delete_rotation::builders::DeleteRotationFluentBuilder::rotation_id) / [`set_rotation_id(Option<String>)`](crate::operation::delete_rotation::builders::DeleteRotationFluentBuilder::set_rotation_id):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the on-call rotation to delete.</p><br>
7    /// - On success, responds with [`DeleteRotationOutput`](crate::operation::delete_rotation::DeleteRotationOutput)
8    /// - On failure, responds with [`SdkError<DeleteRotationError>`](crate::operation::delete_rotation::DeleteRotationError)
9    pub fn delete_rotation(&self) -> crate::operation::delete_rotation::builders::DeleteRotationFluentBuilder {
10        crate::operation::delete_rotation::builders::DeleteRotationFluentBuilder::new(self.handle.clone())
11    }
12}