1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetControl`](crate::operation::get_control::builders::GetControlFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`GetControlOutput`](crate::operation::get_control::GetControlOutput) with field(s):
    ///   - [`control(Option<Control>)`](crate::operation::get_control::GetControlOutput::control): <p> The details of the control that the <code>GetControl</code> API returned. </p>
    /// - On failure, responds with [`SdkError<GetControlError>`](crate::operation::get_control::GetControlError)
    pub fn get_control(&self) -> crate::operation::get_control::builders::GetControlFluentBuilder {
        crate::operation::get_control::builders::GetControlFluentBuilder::new(self.handle.clone())
    }
}