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)


5267
5268
5269
5270
5271
5272
5273
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 5267

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)


5267
5268
5269
5270
5271
5272
5273
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 5267

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


5267
5268
5269
5270
5271
5272
5273
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 5267

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