Struct aws_sdk_macie2::operation::get_sensitive_data_occurrences::GetSensitiveDataOccurrencesOutput
source · #[non_exhaustive]pub struct GetSensitiveDataOccurrencesOutput {
pub error: Option<String>,
pub sensitive_data_occurrences: Option<HashMap<String, Vec<DetectedDataDetails>>>,
pub status: Option<RevealRequestStatus>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.error: Option<String>
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.
sensitive_data_occurrences: Option<HashMap<String, Vec<DetectedDataDetails>>>
A map that specifies 1-100 types of sensitive data reported by the finding and, for each type, 1-10 occurrences of sensitive data.
status: Option<RevealRequestStatus>
The status of the request to retrieve occurrences of sensitive data reported by the finding. Possible values are:
-
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.
-
PROCESSING - Macie is processing the request.
-
SUCCESS - Macie successfully located, retrieved, and encrypted the sensitive data.
Implementations§
source§impl GetSensitiveDataOccurrencesOutput
impl GetSensitiveDataOccurrencesOutput
sourcepub fn error(&self) -> Option<&str>
pub fn error(&self) -> Option<&str>
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.
sourcepub fn sensitive_data_occurrences(
&self
) -> Option<&HashMap<String, Vec<DetectedDataDetails>>>
pub fn sensitive_data_occurrences( &self ) -> Option<&HashMap<String, Vec<DetectedDataDetails>>>
A map that specifies 1-100 types of sensitive data reported by the finding and, for each type, 1-10 occurrences of sensitive data.
sourcepub fn status(&self) -> Option<&RevealRequestStatus>
pub fn status(&self) -> Option<&RevealRequestStatus>
The status of the request to retrieve occurrences of sensitive data reported by the finding. Possible values are:
-
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.
-
PROCESSING - Macie is processing the request.
-
SUCCESS - Macie successfully located, retrieved, and encrypted the sensitive data.
source§impl GetSensitiveDataOccurrencesOutput
impl GetSensitiveDataOccurrencesOutput
sourcepub fn builder() -> GetSensitiveDataOccurrencesOutputBuilder
pub fn builder() -> GetSensitiveDataOccurrencesOutputBuilder
Creates a new builder-style object to manufacture GetSensitiveDataOccurrencesOutput
.
Trait Implementations§
source§impl Clone for GetSensitiveDataOccurrencesOutput
impl Clone for GetSensitiveDataOccurrencesOutput
source§fn clone(&self) -> GetSensitiveDataOccurrencesOutput
fn clone(&self) -> GetSensitiveDataOccurrencesOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for GetSensitiveDataOccurrencesOutput
impl PartialEq for GetSensitiveDataOccurrencesOutput
source§fn eq(&self, other: &GetSensitiveDataOccurrencesOutput) -> bool
fn eq(&self, other: &GetSensitiveDataOccurrencesOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetSensitiveDataOccurrencesOutput
impl RequestId for GetSensitiveDataOccurrencesOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.