Struct aws_sdk_macie2::types::ClassificationDetails
source · #[non_exhaustive]pub struct ClassificationDetails {
pub detailed_results_location: Option<String>,
pub job_arn: Option<String>,
pub job_id: Option<String>,
pub origin_type: Option<OriginType>,
pub result: Option<ClassificationResult>,
}
Expand description
Provides information about a sensitive data finding and the details of the finding.
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.detailed_results_location: Option<String>
The path to the folder or file in Amazon S3 that contains the corresponding sensitive data discovery result for the finding. If a finding applies to a large archive or compressed file, this value is the path to a folder. Otherwise, this value is the path to a file.
job_arn: Option<String>
The Amazon Resource Name (ARN) of the classification job that produced the finding. This value is null if the origin of the finding (originType) is AUTOMATED_SENSITIVE_DATA_DISCOVERY.
job_id: Option<String>
The unique identifier for the classification job that produced the finding. This value is null if the origin of the finding (originType) is AUTOMATED_SENSITIVE_DATA_DISCOVERY.
origin_type: Option<OriginType>
Specifies how Amazon Macie found the sensitive data that produced the finding. Possible values are: SENSITIVE_DATA_DISCOVERY_JOB, for a classification job; and, AUTOMATED_SENSITIVE_DATA_DISCOVERY, for automated sensitive data discovery.
result: Option<ClassificationResult>
The status and other details of the finding.
Implementations§
source§impl ClassificationDetails
impl ClassificationDetails
sourcepub fn detailed_results_location(&self) -> Option<&str>
pub fn detailed_results_location(&self) -> Option<&str>
The path to the folder or file in Amazon S3 that contains the corresponding sensitive data discovery result for the finding. If a finding applies to a large archive or compressed file, this value is the path to a folder. Otherwise, this value is the path to a file.
sourcepub fn job_arn(&self) -> Option<&str>
pub fn job_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the classification job that produced the finding. This value is null if the origin of the finding (originType) is AUTOMATED_SENSITIVE_DATA_DISCOVERY.
sourcepub fn job_id(&self) -> Option<&str>
pub fn job_id(&self) -> Option<&str>
The unique identifier for the classification job that produced the finding. This value is null if the origin of the finding (originType) is AUTOMATED_SENSITIVE_DATA_DISCOVERY.
sourcepub fn origin_type(&self) -> Option<&OriginType>
pub fn origin_type(&self) -> Option<&OriginType>
Specifies how Amazon Macie found the sensitive data that produced the finding. Possible values are: SENSITIVE_DATA_DISCOVERY_JOB, for a classification job; and, AUTOMATED_SENSITIVE_DATA_DISCOVERY, for automated sensitive data discovery.
sourcepub fn result(&self) -> Option<&ClassificationResult>
pub fn result(&self) -> Option<&ClassificationResult>
The status and other details of the finding.
source§impl ClassificationDetails
impl ClassificationDetails
sourcepub fn builder() -> ClassificationDetailsBuilder
pub fn builder() -> ClassificationDetailsBuilder
Creates a new builder-style object to manufacture ClassificationDetails
.
Trait Implementations§
source§impl Clone for ClassificationDetails
impl Clone for ClassificationDetails
source§fn clone(&self) -> ClassificationDetails
fn clone(&self) -> ClassificationDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClassificationDetails
impl Debug for ClassificationDetails
source§impl PartialEq for ClassificationDetails
impl PartialEq for ClassificationDetails
source§fn eq(&self, other: &ClassificationDetails) -> bool
fn eq(&self, other: &ClassificationDetails) -> bool
self
and other
values to be equal, and is used
by ==
.