Skip to content

PiiEntitiesDetectionJobProperties

Source code in docs_src/capo_comprehend/types/pii_entities_detection_job_properties.py
class PiiEntitiesDetectionJobProperties(TypedDict, closed=True):
    job_id: NotRequired["capo_comprehend.types.job_id.JobId"]
    """<p>The identifier assigned to the PII entities detection job.</p>"""
    job_arn: NotRequired["capo_comprehend.types.comprehend_arn.ComprehendArn"]
    """<p>The Amazon Resource Name (ARN) of the PII entities detection job. It is a unique, fully qualified identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The format of the ARN is as follows:</p> <p> <code>arn:<partition>:comprehend:<region>:<account-id>:pii-entities-detection-job/<job-id></code> </p> <p>The following is an example job ARN:</p> <p> <code>arn:aws:comprehend:us-west-2:111122223333:pii-entities-detection-job/1234abcd12ab34cd56ef1234567890ab</code> </p>"""
    job_name: NotRequired["capo_comprehend.types.job_name.JobName"]
    """<p>The name that you assigned the PII entities detection job.</p>"""
    job_status: NotRequired["capo_comprehend.types.job_status.JobStatus"]
    """<p>The current status of the PII entities detection job. If the status is <code>FAILED</code>, the <code>Message</code> field shows the reason for the failure.</p>"""
    message: NotRequired["capo_comprehend.types.any_length_string.AnyLengthString"]
    """<p>A description of the status of a job.</p>"""
    submit_time: NotRequired["capo_comprehend.types.timestamp.Timestamp"]
    """<p>The time that the PII entities detection job was submitted for processing.</p>"""
    end_time: NotRequired["capo_comprehend.types.timestamp.Timestamp"]
    """<p>The time that the PII entities detection job completed.</p>"""
    input_data_config: NotRequired[
        "capo_comprehend.types.input_data_config.InputDataConfig"
    ]
    """<p>The input properties for a PII entities detection job.</p>"""
    output_data_config: NotRequired[
        "capo_comprehend.types.pii_output_data_config.PiiOutputDataConfig"
    ]
    """<p>The output data configuration that you supplied when you created the PII entities detection job.</p>"""
    redaction_config: NotRequired[
        "capo_comprehend.types.redaction_config.RedactionConfig"
    ]
    """<p>Provides configuration parameters for PII entity redaction.</p> <p>This parameter is required if you set the <code>Mode</code> parameter to <code>ONLY_REDACTION</code>. In that case, you must provide a <code>RedactionConfig</code> definition that includes the <code>PiiEntityTypes</code> parameter.</p>"""
    language_code: NotRequired["capo_comprehend.types.language_code.LanguageCode"]
    """<p>The language code of the input documents.</p>"""
    data_access_role_arn: NotRequired["capo_comprehend.types.iam_role_arn.IamRoleArn"]
    """<p>The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.</p>"""
    mode: NotRequired[
        "capo_comprehend.types.pii_entities_detection_mode.PiiEntitiesDetectionMode"
    ]
    """<p>Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.</p>"""

data_access_role_arn instance-attribute

data_access_role_arn: NotRequired[IamRoleArn]

The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.

end_time instance-attribute

end_time: NotRequired[Timestamp]

The time that the PII entities detection job completed.

input_data_config instance-attribute

input_data_config: NotRequired[InputDataConfig]

The input properties for a PII entities detection job.

job_arn instance-attribute

job_arn: NotRequired[ComprehendArn]

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

arn::comprehend:::pii-entities-detection-job/

The following is an example job ARN:

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

job_id instance-attribute

job_id: NotRequired[JobId]

The identifier assigned to the PII entities detection job.

job_name instance-attribute

job_name: NotRequired[JobName]

The name that you assigned the PII entities detection job.

job_status instance-attribute

job_status: NotRequired[JobStatus]

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

language_code instance-attribute

language_code: NotRequired[LanguageCode]

The language code of the input documents.

message instance-attribute

message: NotRequired[AnyLengthString]

A description of the status of a job.

mode instance-attribute

mode: NotRequired[PiiEntitiesDetectionMode]

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

output_data_config instance-attribute

output_data_config: NotRequired[PiiOutputDataConfig]

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

redaction_config instance-attribute

redaction_config: NotRequired[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.

submit_time instance-attribute

submit_time: NotRequired[Timestamp]

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