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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


6430
6431
6432
6433
6434
6435
6436
# File 'lib/aws-sdk-comprehend/types.rb', line 6430

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)


6430
6431
6432
6433
6434
6435
6436
# File 'lib/aws-sdk-comprehend/types.rb', line 6430

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>)


6430
6431
6432
6433
6434
6435
6436
# File 'lib/aws-sdk-comprehend/types.rb', line 6430

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