Class: Aws::Comprehend::Types::PiiEntitiesDetectionJobProperties

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

Overview

Provides information about a PII entities detection job.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#data_access_role_arnString

The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.

Returns:

  • (String)


5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 5229

class PiiEntitiesDetectionJobProperties < Struct.new(
  :job_id,
  :job_arn,
  :job_name,
  :job_status,
  :message,
  :submit_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :redaction_config,
  :language_code,
  :data_access_role_arn,
  :mode)
  SENSITIVE = []
  include Aws::Structure
end

#end_timeTime

The time that the PII entities detection job completed.

Returns:

  • (Time)


5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 5229

class PiiEntitiesDetectionJobProperties < Struct.new(
  :job_id,
  :job_arn,
  :job_name,
  :job_status,
  :message,
  :submit_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :redaction_config,
  :language_code,
  :data_access_role_arn,
  :mode)
  SENSITIVE = []
  include Aws::Structure
end

#input_data_configTypes::InputDataConfig

The input properties for a PII entities detection job.



5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 5229

class PiiEntitiesDetectionJobProperties < Struct.new(
  :job_id,
  :job_arn,
  :job_name,
  :job_status,
  :message,
  :submit_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :redaction_config,
  :language_code,
  :data_access_role_arn,
  :mode)
  SENSITIVE = []
  include Aws::Structure
end

#job_arnString

The Amazon Resource Name (ARN) of the PII entities detection job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:

arn:<partition>:comprehend:<region>:<account-id>:pii-entities-detection-job/<job-id>

The following is an example job ARN:

arn:aws:comprehend:us-west-2:111122223333:pii-entities-detection-job/1234abcd12ab34cd56ef1234567890ab

Returns:

  • (String)


5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 5229

class PiiEntitiesDetectionJobProperties < Struct.new(
  :job_id,
  :job_arn,
  :job_name,
  :job_status,
  :message,
  :submit_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :redaction_config,
  :language_code,
  :data_access_role_arn,
  :mode)
  SENSITIVE = []
  include Aws::Structure
end

#job_idString

The identifier assigned to the PII entities detection job.

Returns:

  • (String)


5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 5229

class PiiEntitiesDetectionJobProperties < Struct.new(
  :job_id,
  :job_arn,
  :job_name,
  :job_status,
  :message,
  :submit_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :redaction_config,
  :language_code,
  :data_access_role_arn,
  :mode)
  SENSITIVE = []
  include Aws::Structure
end

#job_nameString

The name that you assigned the PII entities detection job.

Returns:

  • (String)


5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 5229

class PiiEntitiesDetectionJobProperties < Struct.new(
  :job_id,
  :job_arn,
  :job_name,
  :job_status,
  :message,
  :submit_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :redaction_config,
  :language_code,
  :data_access_role_arn,
  :mode)
  SENSITIVE = []
  include Aws::Structure
end

#job_statusString

The current status of the PII entities detection job. If the status is FAILED, the Message field shows the reason for the failure.

Returns:

  • (String)


5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 5229

class PiiEntitiesDetectionJobProperties < Struct.new(
  :job_id,
  :job_arn,
  :job_name,
  :job_status,
  :message,
  :submit_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :redaction_config,
  :language_code,
  :data_access_role_arn,
  :mode)
  SENSITIVE = []
  include Aws::Structure
end

#language_codeString

The language code of the input documents

Returns:

  • (String)


5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 5229

class PiiEntitiesDetectionJobProperties < Struct.new(
  :job_id,
  :job_arn,
  :job_name,
  :job_status,
  :message,
  :submit_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :redaction_config,
  :language_code,
  :data_access_role_arn,
  :mode)
  SENSITIVE = []
  include Aws::Structure
end

#messageString

A description of the status of a job.

Returns:

  • (String)


5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 5229

class PiiEntitiesDetectionJobProperties < Struct.new(
  :job_id,
  :job_arn,
  :job_name,
  :job_status,
  :message,
  :submit_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :redaction_config,
  :language_code,
  :data_access_role_arn,
  :mode)
  SENSITIVE = []
  include Aws::Structure
end

#modeString

Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.

Returns:

  • (String)


5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 5229

class PiiEntitiesDetectionJobProperties < Struct.new(
  :job_id,
  :job_arn,
  :job_name,
  :job_status,
  :message,
  :submit_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :redaction_config,
  :language_code,
  :data_access_role_arn,
  :mode)
  SENSITIVE = []
  include Aws::Structure
end

#output_data_configTypes::PiiOutputDataConfig

The output data configuration that you supplied when you created the PII entities detection job.



5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 5229

class PiiEntitiesDetectionJobProperties < Struct.new(
  :job_id,
  :job_arn,
  :job_name,
  :job_status,
  :message,
  :submit_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :redaction_config,
  :language_code,
  :data_access_role_arn,
  :mode)
  SENSITIVE = []
  include Aws::Structure
end

#redaction_configTypes::RedactionConfig

Provides configuration parameters for PII entity redaction.

This parameter is required if you set the Mode parameter to ONLY_REDACTION. In that case, you must provide a RedactionConfig definition that includes the PiiEntityTypes parameter.



5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 5229

class PiiEntitiesDetectionJobProperties < Struct.new(
  :job_id,
  :job_arn,
  :job_name,
  :job_status,
  :message,
  :submit_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :redaction_config,
  :language_code,
  :data_access_role_arn,
  :mode)
  SENSITIVE = []
  include Aws::Structure
end

#submit_timeTime

The time that the PII entities detection job was submitted for processing.

Returns:

  • (Time)


5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 5229

class PiiEntitiesDetectionJobProperties < Struct.new(
  :job_id,
  :job_arn,
  :job_name,
  :job_status,
  :message,
  :submit_time,
  :end_time,
  :input_data_config,
  :output_data_config,
  :redaction_config,
  :language_code,
  :data_access_role_arn,
  :mode)
  SENSITIVE = []
  include Aws::Structure
end