1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateControl`](crate::operation::update_control::builders::UpdateControlFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`control_id(impl ::std::convert::Into<String>)`](crate::operation::update_control::builders::UpdateControlFluentBuilder::control_id) / [`set_control_id(Option<String>)`](crate::operation::update_control::builders::UpdateControlFluentBuilder::set_control_id): <p> The identifier for the control. </p>
    ///   - [`name(impl ::std::convert::Into<String>)`](crate::operation::update_control::builders::UpdateControlFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_control::builders::UpdateControlFluentBuilder::set_name): <p> The name of the updated control. </p>
    ///   - [`description(impl ::std::convert::Into<String>)`](crate::operation::update_control::builders::UpdateControlFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_control::builders::UpdateControlFluentBuilder::set_description): <p> The optional description of the control. </p>
    ///   - [`testing_information(impl ::std::convert::Into<String>)`](crate::operation::update_control::builders::UpdateControlFluentBuilder::testing_information) / [`set_testing_information(Option<String>)`](crate::operation::update_control::builders::UpdateControlFluentBuilder::set_testing_information): <p> The steps that you should follow to determine if the control is met. </p>
    ///   - [`action_plan_title(impl ::std::convert::Into<String>)`](crate::operation::update_control::builders::UpdateControlFluentBuilder::action_plan_title) / [`set_action_plan_title(Option<String>)`](crate::operation::update_control::builders::UpdateControlFluentBuilder::set_action_plan_title): <p> The title of the action plan for remediating the control. </p>
    ///   - [`action_plan_instructions(impl ::std::convert::Into<String>)`](crate::operation::update_control::builders::UpdateControlFluentBuilder::action_plan_instructions) / [`set_action_plan_instructions(Option<String>)`](crate::operation::update_control::builders::UpdateControlFluentBuilder::set_action_plan_instructions): <p> The recommended actions to carry out if the control isn't fulfilled. </p>
    ///   - [`control_mapping_sources(Vec<ControlMappingSource>)`](crate::operation::update_control::builders::UpdateControlFluentBuilder::control_mapping_sources) / [`set_control_mapping_sources(Option<Vec<ControlMappingSource>>)`](crate::operation::update_control::builders::UpdateControlFluentBuilder::set_control_mapping_sources): <p> The data mapping sources for the control. </p>
    /// - On success, responds with [`UpdateControlOutput`](crate::operation::update_control::UpdateControlOutput) with field(s):
    ///   - [`control(Option<Control>)`](crate::operation::update_control::UpdateControlOutput::control): <p> The name of the updated control set that the <code>UpdateControl</code> API returned. </p>
    /// - On failure, responds with [`SdkError<UpdateControlError>`](crate::operation::update_control::UpdateControlError)
    pub fn update_control(&self) -> crate::operation::update_control::builders::UpdateControlFluentBuilder {
        crate::operation::update_control::builders::UpdateControlFluentBuilder::new(self.handle.clone())
    }
}