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 [`GetSensitiveDataOccurrences`](crate::operation::get_sensitive_data_occurrences::builders::GetSensitiveDataOccurrencesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`finding_id(impl Into<String>)`](crate::operation::get_sensitive_data_occurrences::builders::GetSensitiveDataOccurrencesFluentBuilder::finding_id) / [`set_finding_id(Option<String>)`](crate::operation::get_sensitive_data_occurrences::builders::GetSensitiveDataOccurrencesFluentBuilder::set_finding_id): <p>The unique identifier for the finding.</p>
    /// - On success, responds with [`GetSensitiveDataOccurrencesOutput`](crate::operation::get_sensitive_data_occurrences::GetSensitiveDataOccurrencesOutput) with field(s):
    ///   - [`error(Option<String>)`](crate::operation::get_sensitive_data_occurrences::GetSensitiveDataOccurrencesOutput::error): <p>If an error occurred when Amazon Macie attempted to retrieve occurrences of sensitive data reported by the finding, a description of the error that occurred. This value is null if the status (status) of the request is PROCESSING or SUCCESS.</p>
    ///   - [`sensitive_data_occurrences(Option<HashMap<String, Vec<DetectedDataDetails>>>)`](crate::operation::get_sensitive_data_occurrences::GetSensitiveDataOccurrencesOutput::sensitive_data_occurrences): <p>A map that specifies 1-100 types of sensitive data reported by the finding and, for each type, 1-10 occurrences of sensitive data.</p>
    ///   - [`status(Option<RevealRequestStatus>)`](crate::operation::get_sensitive_data_occurrences::GetSensitiveDataOccurrencesOutput::status): <p>The status of the request to retrieve occurrences of sensitive data reported by the finding. Possible values are:</p>  <ul>  <li><p>ERROR - An error occurred when Amazon Macie attempted to locate, retrieve, or encrypt the sensitive data. The error value indicates the nature of the error that occurred.</p></li>   <li><p>PROCESSING - Macie is processing the request.</p></li>   <li><p>SUCCESS - Macie successfully located, retrieved, and encrypted the sensitive data.</p></li> </ul>
    /// - On failure, responds with [`SdkError<GetSensitiveDataOccurrencesError>`](crate::operation::get_sensitive_data_occurrences::GetSensitiveDataOccurrencesError)
    pub fn get_sensitive_data_occurrences(
        &self,
    ) -> crate::operation::get_sensitive_data_occurrences::builders::GetSensitiveDataOccurrencesFluentBuilder {
        crate::operation::get_sensitive_data_occurrences::builders::GetSensitiveDataOccurrencesFluentBuilder::new(self.handle.clone())
    }
}