Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data RedactionConfig = RedactionConfig' {}
- newRedactionConfig :: RedactionConfig
- redactionConfig_maskCharacter :: Lens' RedactionConfig (Maybe Text)
- redactionConfig_maskMode :: Lens' RedactionConfig (Maybe PiiEntitiesDetectionMaskMode)
- redactionConfig_piiEntityTypes :: Lens' RedactionConfig (Maybe [PiiEntityType])
Documentation
data RedactionConfig Source #
Provides configuration parameters for PII entity redaction.
See: newRedactionConfig
smart constructor.
RedactionConfig' | |
|
Instances
newRedactionConfig :: RedactionConfig Source #
Create a value of RedactionConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maskCharacter:RedactionConfig'
, redactionConfig_maskCharacter
- A character that replaces each character in the redacted PII entity.
$sel:maskMode:RedactionConfig'
, redactionConfig_maskMode
- Specifies whether the PII entity is redacted with the mask character or
the entity type.
$sel:piiEntityTypes:RedactionConfig'
, redactionConfig_piiEntityTypes
- An array of the types of PII entities that Amazon Comprehend detects in
the input text for your request.
redactionConfig_maskCharacter :: Lens' RedactionConfig (Maybe Text) Source #
A character that replaces each character in the redacted PII entity.
redactionConfig_maskMode :: Lens' RedactionConfig (Maybe PiiEntitiesDetectionMaskMode) Source #
Specifies whether the PII entity is redacted with the mask character or the entity type.
redactionConfig_piiEntityTypes :: Lens' RedactionConfig (Maybe [PiiEntityType]) Source #
An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.