aws_sdk_auditmanager/client/delete_control.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 [`DeleteControl`](crate::operation::delete_control::builders::DeleteControlFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`control_id(impl Into<String>)`](crate::operation::delete_control::builders::DeleteControlFluentBuilder::control_id) / [`set_control_id(Option<String>)`](crate::operation::delete_control::builders::DeleteControlFluentBuilder::set_control_id):<br>required: **true**<br><p>The unique identifier for the control.</p><br>
7 /// - On success, responds with [`DeleteControlOutput`](crate::operation::delete_control::DeleteControlOutput)
8 /// - On failure, responds with [`SdkError<DeleteControlError>`](crate::operation::delete_control::DeleteControlError)
9 pub fn delete_control(&self) -> crate::operation::delete_control::builders::DeleteControlFluentBuilder {
10 crate::operation::delete_control::builders::DeleteControlFluentBuilder::new(self.handle.clone())
11 }
12}