AWSComprehendRedactionConfig

Objective-C

@interface AWSComprehendRedactionConfig

Swift

class AWSComprehendRedactionConfig

Provides configuration parameters for PII entity redaction.

  • A character that replaces each character in the redacted PII entity.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable maskCharacter;

    Swift

    var maskCharacter: String? { get set }
  • Specifies whether the PII entity is redacted with the mask character or the entity type.

    Declaration

    Objective-C

    @property (nonatomic) AWSComprehendPiiEntitiesDetectionMaskMode maskMode;

    Swift

    var maskMode: AWSComprehendPiiEntitiesDetectionMaskMode { get set }
  • An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable piiEntityTypes;

    Swift

    var piiEntityTypes: [String]? { get set }