1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`EnableSecurityHub`](crate::operation::enable_security_hub::builders::EnableSecurityHubFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`tags(HashMap<String, String>)`](crate::operation::enable_security_hub::builders::EnableSecurityHubFluentBuilder::tags) / [`set_tags(Option<HashMap<String, String>>)`](crate::operation::enable_security_hub::builders::EnableSecurityHubFluentBuilder::set_tags): <p>The tags to add to the hub resource when you enable Security Hub.</p>
    ///   - [`enable_default_standards(bool)`](crate::operation::enable_security_hub::builders::EnableSecurityHubFluentBuilder::enable_default_standards) / [`set_enable_default_standards(bool)`](crate::operation::enable_security_hub::builders::EnableSecurityHubFluentBuilder::set_enable_default_standards): <p>Whether to enable the security standards that Security Hub has designated as automatically enabled. If you do not provide a value for <code>EnableDefaultStandards</code>, it is set to <code>true</code>. To not enable the automatically enabled standards, set <code>EnableDefaultStandards</code> to <code>false</code>.</p>
    /// - On success, responds with [`EnableSecurityHubOutput`](crate::operation::enable_security_hub::EnableSecurityHubOutput)
    /// - On failure, responds with [`SdkError<EnableSecurityHubError>`](crate::operation::enable_security_hub::EnableSecurityHubError)
    pub fn enable_security_hub(
        &self,
    ) -> crate::operation::enable_security_hub::builders::EnableSecurityHubFluentBuilder {
        crate::operation::enable_security_hub::builders::EnableSecurityHubFluentBuilder::new(
            self.handle.clone(),
        )
    }
}