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.impl StructuralPartialEq for GetSensitiveDataOccurrencesOutput
Auto Trait Implementations§
impl Freeze for GetSensitiveDataOccurrencesOutput
impl RefUnwindSafe for GetSensitiveDataOccurrencesOutput
impl Send for GetSensitiveDataOccurrencesOutput
impl Sync for GetSensitiveDataOccurrencesOutput
impl Unpin for GetSensitiveDataOccurrencesOutput
impl UnwindSafe for GetSensitiveDataOccurrencesOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more