aws_sdk_macie2/client/get_sensitive_data_occurrences.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetSensitiveDataOccurrences`](crate::operation::get_sensitive_data_occurrences::builders::GetSensitiveDataOccurrencesFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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):<br>required: **true**<br><p>The unique identifier for the finding.</p><br>
7 /// - On success, responds with [`GetSensitiveDataOccurrencesOutput`](crate::operation::get_sensitive_data_occurrences::GetSensitiveDataOccurrencesOutput) with field(s):
8 /// - [`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>
9 /// - [`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>
10 /// - [`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>
11 /// - On failure, responds with [`SdkError<GetSensitiveDataOccurrencesError>`](crate::operation::get_sensitive_data_occurrences::GetSensitiveDataOccurrencesError)
12 pub fn get_sensitive_data_occurrences(
13 &self,
14 ) -> crate::operation::get_sensitive_data_occurrences::builders::GetSensitiveDataOccurrencesFluentBuilder {
15 crate::operation::get_sensitive_data_occurrences::builders::GetSensitiveDataOccurrencesFluentBuilder::new(self.handle.clone())
16 }
17}