1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateSecurityHubConfiguration`](crate::operation::update_security_hub_configuration::builders::UpdateSecurityHubConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`auto_enable_controls(bool)`](crate::operation::update_security_hub_configuration::builders::UpdateSecurityHubConfigurationFluentBuilder::auto_enable_controls) / [`set_auto_enable_controls(Option<bool>)`](crate::operation::update_security_hub_configuration::builders::UpdateSecurityHubConfigurationFluentBuilder::set_auto_enable_controls):<br>required: **false**<br><p>Whether to automatically enable new controls when they are added to standards that are enabled.</p> <p>By default, this is set to <code>true</code>, and new controls are enabled automatically. To not automatically enable new controls, set this to <code>false</code>.</p><br>
    ///   - [`control_finding_generator(ControlFindingGenerator)`](crate::operation::update_security_hub_configuration::builders::UpdateSecurityHubConfigurationFluentBuilder::control_finding_generator) / [`set_control_finding_generator(Option<ControlFindingGenerator>)`](crate::operation::update_security_hub_configuration::builders::UpdateSecurityHubConfigurationFluentBuilder::set_control_finding_generator):<br>required: **false**<br><p>Updates whether the calling account has consolidated control findings turned on. If the value for this field is set to <code>SECURITY_CONTROL</code>, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.</p> <p>If the value for this field is set to <code>STANDARD_CONTROL</code>, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.</p> <p>For accounts that are part of an organization, this value can only be updated in the administrator account.</p><br>
    /// - On success, responds with [`UpdateSecurityHubConfigurationOutput`](crate::operation::update_security_hub_configuration::UpdateSecurityHubConfigurationOutput)
    /// - On failure, responds with [`SdkError<UpdateSecurityHubConfigurationError>`](crate::operation::update_security_hub_configuration::UpdateSecurityHubConfigurationError)
    pub fn update_security_hub_configuration(
        &self,
    ) -> crate::operation::update_security_hub_configuration::builders::UpdateSecurityHubConfigurationFluentBuilder {
        crate::operation::update_security_hub_configuration::builders::UpdateSecurityHubConfigurationFluentBuilder::new(self.handle.clone())
    }
}