Struct aws_sdk_macie2::model::ClassificationResult
source · [−]#[non_exhaustive]pub struct ClassificationResult {
pub additional_occurrences: bool,
pub custom_data_identifiers: Option<CustomDataIdentifiers>,
pub mime_type: Option<String>,
pub sensitive_data: Option<Vec<SensitiveDataItem>>,
pub size_classified: i64,
pub status: Option<ClassificationResultStatus>,
}
Expand description
Provides the details of a sensitive data finding, including the types, number of occurrences, and locations of the sensitive data that was detected.
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.additional_occurrences: bool
Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object. A finding includes location data for a maximum of 15 occurrences of sensitive data.
This value can help you determine whether to investigate additional occurrences of sensitive data in an object. You can do this by referring to the corresponding sensitive data discovery result for the finding (ClassificationDetails.detailedResultsLocation).
custom_data_identifiers: Option<CustomDataIdentifiers>
The custom data identifiers that detected the sensitive data and the number of occurrences of the data that they detected.
mime_type: Option<String>
The type of content, as a MIME type, that the finding applies to. For example, application/gzip, for a GNU Gzip compressed archive file, or application/pdf, for an Adobe Portable Document Format file.
sensitive_data: Option<Vec<SensitiveDataItem>>
The category, types, and number of occurrences of the sensitive data that produced the finding.
size_classified: i64
The total size, in bytes, of the data that the finding applies to.
status: Option<ClassificationResultStatus>
The status of the finding.
Implementations
sourceimpl ClassificationResult
impl ClassificationResult
sourcepub fn additional_occurrences(&self) -> bool
pub fn additional_occurrences(&self) -> bool
Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object. A finding includes location data for a maximum of 15 occurrences of sensitive data.
This value can help you determine whether to investigate additional occurrences of sensitive data in an object. You can do this by referring to the corresponding sensitive data discovery result for the finding (ClassificationDetails.detailedResultsLocation).
sourcepub fn custom_data_identifiers(&self) -> Option<&CustomDataIdentifiers>
pub fn custom_data_identifiers(&self) -> Option<&CustomDataIdentifiers>
The custom data identifiers that detected the sensitive data and the number of occurrences of the data that they detected.
sourcepub fn mime_type(&self) -> Option<&str>
pub fn mime_type(&self) -> Option<&str>
The type of content, as a MIME type, that the finding applies to. For example, application/gzip, for a GNU Gzip compressed archive file, or application/pdf, for an Adobe Portable Document Format file.
sourcepub fn sensitive_data(&self) -> Option<&[SensitiveDataItem]>
pub fn sensitive_data(&self) -> Option<&[SensitiveDataItem]>
The category, types, and number of occurrences of the sensitive data that produced the finding.
sourcepub fn size_classified(&self) -> i64
pub fn size_classified(&self) -> i64
The total size, in bytes, of the data that the finding applies to.
sourcepub fn status(&self) -> Option<&ClassificationResultStatus>
pub fn status(&self) -> Option<&ClassificationResultStatus>
The status of the finding.
sourceimpl ClassificationResult
impl ClassificationResult
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ClassificationResult
Trait Implementations
sourceimpl Clone for ClassificationResult
impl Clone for ClassificationResult
sourcefn clone(&self) -> ClassificationResult
fn clone(&self) -> ClassificationResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ClassificationResult
impl Debug for ClassificationResult
sourceimpl PartialEq<ClassificationResult> for ClassificationResult
impl PartialEq<ClassificationResult> for ClassificationResult
sourcefn eq(&self, other: &ClassificationResult) -> bool
fn eq(&self, other: &ClassificationResult) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ClassificationResult) -> bool
fn ne(&self, other: &ClassificationResult) -> bool
This method tests for !=
.
impl StructuralPartialEq for ClassificationResult
Auto Trait Implementations
impl RefUnwindSafe for ClassificationResult
impl Send for ClassificationResult
impl Sync for ClassificationResult
impl Unpin for ClassificationResult
impl UnwindSafe for ClassificationResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more