aws_sdk_auditmanager/client/get_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 [`GetControl`](crate::operation::get_control::builders::GetControlFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`control_id(impl Into<String>)`](crate::operation::get_control::builders::GetControlFluentBuilder::control_id) / [`set_control_id(Option<String>)`](crate::operation::get_control::builders::GetControlFluentBuilder::set_control_id):<br>required: **true**<br><p>The identifier for the control.</p><br>
7 /// - On success, responds with [`GetControlOutput`](crate::operation::get_control::GetControlOutput) with field(s):
8 /// - [`control(Option<Control>)`](crate::operation::get_control::GetControlOutput::control): <p>The details of the control that the <code>GetControl</code> API returned.</p>
9 /// - On failure, responds with [`SdkError<GetControlError>`](crate::operation::get_control::GetControlError)
10 pub fn get_control(&self) -> crate::operation::get_control::builders::GetControlFluentBuilder {
11 crate::operation::get_control::builders::GetControlFluentBuilder::new(self.handle.clone())
12 }
13}