Class: Aws::Comprehend::Types::RedactionConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::Comprehend::Types::RedactionConfig
- Defined in:
- gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb
Overview
Note:
When making an API call, you may pass RedactionConfig data as a hash:
{
pii_entity_types: ["BANK_ACCOUNT_NUMBER"], # accepts BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, DATE_TIME, PASSPORT_NUMBER, DRIVER_ID, URL, AGE, USERNAME, PASSWORD, AWS_ACCESS_KEY, AWS_SECRET_KEY, IP_ADDRESS, MAC_ADDRESS, ALL, LICENSE_PLATE, VEHICLE_IDENTIFICATION_NUMBER, UK_NATIONAL_INSURANCE_NUMBER, CA_SOCIAL_INSURANCE_NUMBER, US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER, UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER, IN_PERMANENT_ACCOUNT_NUMBER, IN_NREGA, INTERNATIONAL_BANK_ACCOUNT_NUMBER, SWIFT_CODE, UK_NATIONAL_HEALTH_SERVICE_NUMBER, CA_HEALTH_NUMBER, IN_AADHAAR, IN_VOTER_NUMBER
mask_mode: "MASK", # accepts MASK, REPLACE_WITH_PII_ENTITY_TYPE
mask_character: "MaskCharacter",
}
Provides configuration parameters for PII entity redaction.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#mask_character ⇒ String
A character that replaces each character in the redacted PII entity.
-
#mask_mode ⇒ String
Specifies whether the PII entity is redacted with the mask character or the entity type.
-
#pii_entity_types ⇒ Array<String>
An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.
Instance Attribute Details
#mask_character ⇒ String
A character that replaces each character in the redacted PII entity.
5401 5402 5403 5404 5405 5406 5407 |
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 5401 class RedactionConfig < Struct.new( :pii_entity_types, :mask_mode, :mask_character) SENSITIVE = [] include Aws::Structure end |
#mask_mode ⇒ String
Specifies whether the PII entity is redacted with the mask character or the entity type.
5401 5402 5403 5404 5405 5406 5407 |
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 5401 class RedactionConfig < Struct.new( :pii_entity_types, :mask_mode, :mask_character) SENSITIVE = [] include Aws::Structure end |
#pii_entity_types ⇒ Array<String>
An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.
5401 5402 5403 5404 5405 5406 5407 |
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 5401 class RedactionConfig < Struct.new( :pii_entity_types, :mask_mode, :mask_character) SENSITIVE = [] include Aws::Structure end |