Struct aws_sdk_glue::types::PiiDetection
source · #[non_exhaustive]pub struct PiiDetection {
pub name: String,
pub inputs: Vec<String>,
pub pii_type: PiiType,
pub entity_types_to_detect: Vec<String>,
pub output_column_name: Option<String>,
pub sample_fraction: Option<f64>,
pub threshold_fraction: Option<f64>,
pub mask_value: Option<String>,
}Expand description
Specifies a transform that identifies, removes or masks PII data.
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.name: StringThe name of the transform node.
inputs: Vec<String>The node ID inputs to the transform.
pii_type: PiiTypeIndicates the type of PIIDetection transform.
entity_types_to_detect: Vec<String>Indicates the types of entities the PIIDetection transform will identify as PII data.
PII type entities include: PERSON_NAME, DATE, USA_SNN, EMAIL, USA_ITIN, USA_PASSPORT_NUMBER, PHONE_NUMBER, BANK_ACCOUNT, IP_ADDRESS, MAC_ADDRESS, USA_CPT_CODE, USA_HCPCS_CODE, USA_NATIONAL_DRUG_CODE, USA_MEDICARE_BENEFICIARY_IDENTIFIER, USA_HEALTH_INSURANCE_CLAIM_NUMBER,CREDIT_CARD,USA_NATIONAL_PROVIDER_IDENTIFIER,USA_DEA_NUMBER,USA_DRIVING_LICENSE
output_column_name: Option<String>Indicates the output column name that will contain any entity type detected in that row.
sample_fraction: Option<f64>Indicates the fraction of the data to sample when scanning for PII entities.
threshold_fraction: Option<f64>Indicates the fraction of the data that must be met in order for a column to be identified as PII data.
mask_value: Option<String>Indicates the value that will replace the detected entity.
Implementations§
source§impl PiiDetection
impl PiiDetection
sourcepub fn entity_types_to_detect(&self) -> &[String]
pub fn entity_types_to_detect(&self) -> &[String]
Indicates the types of entities the PIIDetection transform will identify as PII data.
PII type entities include: PERSON_NAME, DATE, USA_SNN, EMAIL, USA_ITIN, USA_PASSPORT_NUMBER, PHONE_NUMBER, BANK_ACCOUNT, IP_ADDRESS, MAC_ADDRESS, USA_CPT_CODE, USA_HCPCS_CODE, USA_NATIONAL_DRUG_CODE, USA_MEDICARE_BENEFICIARY_IDENTIFIER, USA_HEALTH_INSURANCE_CLAIM_NUMBER,CREDIT_CARD,USA_NATIONAL_PROVIDER_IDENTIFIER,USA_DEA_NUMBER,USA_DRIVING_LICENSE
sourcepub fn output_column_name(&self) -> Option<&str>
pub fn output_column_name(&self) -> Option<&str>
Indicates the output column name that will contain any entity type detected in that row.
sourcepub fn sample_fraction(&self) -> Option<f64>
pub fn sample_fraction(&self) -> Option<f64>
Indicates the fraction of the data to sample when scanning for PII entities.
sourcepub fn threshold_fraction(&self) -> Option<f64>
pub fn threshold_fraction(&self) -> Option<f64>
Indicates the fraction of the data that must be met in order for a column to be identified as PII data.
sourcepub fn mask_value(&self) -> Option<&str>
pub fn mask_value(&self) -> Option<&str>
Indicates the value that will replace the detected entity.
source§impl PiiDetection
impl PiiDetection
sourcepub fn builder() -> PiiDetectionBuilder
pub fn builder() -> PiiDetectionBuilder
Creates a new builder-style object to manufacture PiiDetection.
Trait Implementations§
source§impl Clone for PiiDetection
impl Clone for PiiDetection
source§fn clone(&self) -> PiiDetection
fn clone(&self) -> PiiDetection
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PiiDetection
impl Debug for PiiDetection
source§impl PartialEq for PiiDetection
impl PartialEq for PiiDetection
source§fn eq(&self, other: &PiiDetection) -> bool
fn eq(&self, other: &PiiDetection) -> bool
self and other values to be equal, and is used
by ==.