Class: Aws::Comprehend::Types::ContainsPiiEntitiesRequest

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

Overview

Note:

When making an API call, you may pass ContainsPiiEntitiesRequest data as a hash:

{
  text: "String", # required
  language_code: "en", # required, accepts en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#language_codeString

The language of the input documents. Currently, English is the only valid language.

Returns:

  • (String)


707
708
709
710
711
712
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 707

class ContainsPiiEntitiesRequest < Struct.new(
  :text,
  :language_code)
  SENSITIVE = []
  include Aws::Structure
end

#textString

Creates a new document classification request to analyze a single document in real-time, returning personally identifiable information (PII) entity labels.

Returns:

  • (String)


707
708
709
710
711
712
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 707

class ContainsPiiEntitiesRequest < Struct.new(
  :text,
  :language_code)
  SENSITIVE = []
  include Aws::Structure
end