1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`EnableMacie`](crate::operation::enable_macie::builders::EnableMacieFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`client_token(impl Into<String>)`](crate::operation::enable_macie::builders::EnableMacieFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::enable_macie::builders::EnableMacieFluentBuilder::set_client_token): <p>A unique, case-sensitive token that you provide to ensure the idempotency of the request.</p>
    ///   - [`finding_publishing_frequency(FindingPublishingFrequency)`](crate::operation::enable_macie::builders::EnableMacieFluentBuilder::finding_publishing_frequency) / [`set_finding_publishing_frequency(Option<FindingPublishingFrequency>)`](crate::operation::enable_macie::builders::EnableMacieFluentBuilder::set_finding_publishing_frequency): <p>Specifies how often to publish updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly Amazon CloudWatch Events).</p>
    ///   - [`status(MacieStatus)`](crate::operation::enable_macie::builders::EnableMacieFluentBuilder::status) / [`set_status(Option<MacieStatus>)`](crate::operation::enable_macie::builders::EnableMacieFluentBuilder::set_status): <p>Specifies the new status for the account. To enable Amazon Macie and start all Macie activities for the account, set this value to ENABLED.</p>
    /// - On success, responds with [`EnableMacieOutput`](crate::operation::enable_macie::EnableMacieOutput)
    /// - On failure, responds with [`SdkError<EnableMacieError>`](crate::operation::enable_macie::EnableMacieError)
    pub fn enable_macie(
        &self,
    ) -> crate::operation::enable_macie::builders::EnableMacieFluentBuilder {
        crate::operation::enable_macie::builders::EnableMacieFluentBuilder::new(self.handle.clone())
    }
}