libZSservicesZSamazonka-comprehendZSamazonka-comprehend
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Comprehend.Types.RedactionConfig

Description

 
Synopsis

Documentation

data RedactionConfig Source #

Provides configuration parameters for PII entity redaction.

See: newRedactionConfig smart constructor.

Constructors

RedactionConfig' 

Fields

Instances

Instances details
Eq RedactionConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RedactionConfig

Read RedactionConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RedactionConfig

Show RedactionConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RedactionConfig

Generic RedactionConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RedactionConfig

Associated Types

type Rep RedactionConfig :: Type -> Type #

NFData RedactionConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RedactionConfig

Methods

rnf :: RedactionConfig -> () #

Hashable RedactionConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RedactionConfig

ToJSON RedactionConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RedactionConfig

FromJSON RedactionConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RedactionConfig

type Rep RedactionConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RedactionConfig

type Rep RedactionConfig = D1 ('MetaData "RedactionConfig" "Amazonka.Comprehend.Types.RedactionConfig" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "RedactionConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maskCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maskMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PiiEntitiesDetectionMaskMode)) :*: S1 ('MetaSel ('Just "piiEntityTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PiiEntityType])))))

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.