aws_sdk_controltower/client/
update_enabled_control.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateEnabledControl`](crate::operation::update_enabled_control::builders::UpdateEnabledControlFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`parameters(EnabledControlParameter)`](crate::operation::update_enabled_control::builders::UpdateEnabledControlFluentBuilder::parameters) / [`set_parameters(Option<Vec::<EnabledControlParameter>>)`](crate::operation::update_enabled_control::builders::UpdateEnabledControlFluentBuilder::set_parameters):<br>required: **true**<br><p>A key/value pair, where <code>Key</code> is of type <code>String</code> and <code>Value</code> is of type <code>Document</code>.</p><br>
    ///   - [`enabled_control_identifier(impl Into<String>)`](crate::operation::update_enabled_control::builders::UpdateEnabledControlFluentBuilder::enabled_control_identifier) / [`set_enabled_control_identifier(Option<String>)`](crate::operation::update_enabled_control::builders::UpdateEnabledControlFluentBuilder::set_enabled_control_identifier):<br>required: **true**<br><p>The ARN of the enabled control that will be updated.</p><br>
    /// - On success, responds with [`UpdateEnabledControlOutput`](crate::operation::update_enabled_control::UpdateEnabledControlOutput) with field(s):
    ///   - [`operation_identifier(String)`](crate::operation::update_enabled_control::UpdateEnabledControlOutput::operation_identifier): <p>The operation identifier for this <code>UpdateEnabledControl</code> operation.</p>
    /// - On failure, responds with [`SdkError<UpdateEnabledControlError>`](crate::operation::update_enabled_control::UpdateEnabledControlError)
    pub fn update_enabled_control(&self) -> crate::operation::update_enabled_control::builders::UpdateEnabledControlFluentBuilder {
        crate::operation::update_enabled_control::builders::UpdateEnabledControlFluentBuilder::new(self.handle.clone())
    }
}