Class: Aws::Comprehend::Types::RedactionConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb

Overview

Provides configuration parameters for PII entity redaction.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#mask_characterString

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

Returns:

  • (String)


6484
6485
6486
6487
6488
6489
6490
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 6484

class RedactionConfig < Struct.new(
  :pii_entity_types,
  :mask_mode,
  :mask_character)
  SENSITIVE = []
  include Aws::Structure
end

#mask_modeString

Specifies whether the PII entity is redacted with the mask character or the entity type.

Returns:

  • (String)


6484
6485
6486
6487
6488
6489
6490
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 6484

class RedactionConfig < Struct.new(
  :pii_entity_types,
  :mask_mode,
  :mask_character)
  SENSITIVE = []
  include Aws::Structure
end

#pii_entity_typesArray<String>

An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.

Returns:

  • (Array<String>)


6484
6485
6486
6487
6488
6489
6490
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 6484

class RedactionConfig < Struct.new(
  :pii_entity_types,
  :mask_mode,
  :mask_character)
  SENSITIVE = []
  include Aws::Structure
end