Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data PiiEntitiesDetectionJobProperties = PiiEntitiesDetectionJobProperties' {
- languageCode :: Maybe LanguageCode
- jobId :: Maybe Text
- jobArn :: Maybe Text
- jobName :: Maybe Text
- mode :: Maybe PiiEntitiesDetectionMode
- inputDataConfig :: Maybe InputDataConfig
- redactionConfig :: Maybe RedactionConfig
- endTime :: Maybe POSIX
- outputDataConfig :: Maybe PiiOutputDataConfig
- dataAccessRoleArn :: Maybe Text
- jobStatus :: Maybe JobStatus
- message :: Maybe Text
- submitTime :: Maybe POSIX
- newPiiEntitiesDetectionJobProperties :: PiiEntitiesDetectionJobProperties
- piiEntitiesDetectionJobProperties_languageCode :: Lens' PiiEntitiesDetectionJobProperties (Maybe LanguageCode)
- piiEntitiesDetectionJobProperties_jobId :: Lens' PiiEntitiesDetectionJobProperties (Maybe Text)
- piiEntitiesDetectionJobProperties_jobArn :: Lens' PiiEntitiesDetectionJobProperties (Maybe Text)
- piiEntitiesDetectionJobProperties_jobName :: Lens' PiiEntitiesDetectionJobProperties (Maybe Text)
- piiEntitiesDetectionJobProperties_mode :: Lens' PiiEntitiesDetectionJobProperties (Maybe PiiEntitiesDetectionMode)
- piiEntitiesDetectionJobProperties_inputDataConfig :: Lens' PiiEntitiesDetectionJobProperties (Maybe InputDataConfig)
- piiEntitiesDetectionJobProperties_redactionConfig :: Lens' PiiEntitiesDetectionJobProperties (Maybe RedactionConfig)
- piiEntitiesDetectionJobProperties_endTime :: Lens' PiiEntitiesDetectionJobProperties (Maybe UTCTime)
- piiEntitiesDetectionJobProperties_outputDataConfig :: Lens' PiiEntitiesDetectionJobProperties (Maybe PiiOutputDataConfig)
- piiEntitiesDetectionJobProperties_dataAccessRoleArn :: Lens' PiiEntitiesDetectionJobProperties (Maybe Text)
- piiEntitiesDetectionJobProperties_jobStatus :: Lens' PiiEntitiesDetectionJobProperties (Maybe JobStatus)
- piiEntitiesDetectionJobProperties_message :: Lens' PiiEntitiesDetectionJobProperties (Maybe Text)
- piiEntitiesDetectionJobProperties_submitTime :: Lens' PiiEntitiesDetectionJobProperties (Maybe UTCTime)
Documentation
data PiiEntitiesDetectionJobProperties Source #
Provides information about a PII entities detection job.
See: newPiiEntitiesDetectionJobProperties
smart constructor.
PiiEntitiesDetectionJobProperties' | |
|
Instances
newPiiEntitiesDetectionJobProperties :: PiiEntitiesDetectionJobProperties Source #
Create a value of PiiEntitiesDetectionJobProperties
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:languageCode:PiiEntitiesDetectionJobProperties'
, piiEntitiesDetectionJobProperties_languageCode
- The language code of the input documents
$sel:jobId:PiiEntitiesDetectionJobProperties'
, piiEntitiesDetectionJobProperties_jobId
- The identifier assigned to the PII entities detection job.
$sel:jobArn:PiiEntitiesDetectionJobProperties'
, piiEntitiesDetectionJobProperties_jobArn
- 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
$sel:jobName:PiiEntitiesDetectionJobProperties'
, piiEntitiesDetectionJobProperties_jobName
- The name that you assigned the PII entities detection job.
$sel:mode:PiiEntitiesDetectionJobProperties'
, piiEntitiesDetectionJobProperties_mode
- Specifies whether the output provides the locations (offsets) of PII
entities or a file in which PII entities are redacted.
$sel:inputDataConfig:PiiEntitiesDetectionJobProperties'
, piiEntitiesDetectionJobProperties_inputDataConfig
- The input properties for a PII entities detection job.
$sel:redactionConfig:PiiEntitiesDetectionJobProperties'
, piiEntitiesDetectionJobProperties_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.
$sel:endTime:PiiEntitiesDetectionJobProperties'
, piiEntitiesDetectionJobProperties_endTime
- The time that the PII entities detection job completed.
$sel:outputDataConfig:PiiEntitiesDetectionJobProperties'
, piiEntitiesDetectionJobProperties_outputDataConfig
- The output data configuration that you supplied when you created the PII
entities detection job.
$sel:dataAccessRoleArn:PiiEntitiesDetectionJobProperties'
, piiEntitiesDetectionJobProperties_dataAccessRoleArn
- The Amazon Resource Name (ARN) that gives Amazon Comprehend read access
to your input data.
$sel:jobStatus:PiiEntitiesDetectionJobProperties'
, piiEntitiesDetectionJobProperties_jobStatus
- The current status of the PII entities detection job. If the status is
FAILED
, the Message
field shows the reason for the failure.
$sel:message:PiiEntitiesDetectionJobProperties'
, piiEntitiesDetectionJobProperties_message
- A description of the status of a job.
$sel:submitTime:PiiEntitiesDetectionJobProperties'
, piiEntitiesDetectionJobProperties_submitTime
- The time that the PII entities detection job was submitted for
processing.
piiEntitiesDetectionJobProperties_languageCode :: Lens' PiiEntitiesDetectionJobProperties (Maybe LanguageCode) Source #
The language code of the input documents
piiEntitiesDetectionJobProperties_jobId :: Lens' PiiEntitiesDetectionJobProperties (Maybe Text) Source #
The identifier assigned to the PII entities detection job.
piiEntitiesDetectionJobProperties_jobArn :: Lens' PiiEntitiesDetectionJobProperties (Maybe Text) Source #
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
piiEntitiesDetectionJobProperties_jobName :: Lens' PiiEntitiesDetectionJobProperties (Maybe Text) Source #
The name that you assigned the PII entities detection job.
piiEntitiesDetectionJobProperties_mode :: Lens' PiiEntitiesDetectionJobProperties (Maybe PiiEntitiesDetectionMode) Source #
Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.
piiEntitiesDetectionJobProperties_inputDataConfig :: Lens' PiiEntitiesDetectionJobProperties (Maybe InputDataConfig) Source #
The input properties for a PII entities detection job.
piiEntitiesDetectionJobProperties_redactionConfig :: Lens' PiiEntitiesDetectionJobProperties (Maybe RedactionConfig) Source #
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.
piiEntitiesDetectionJobProperties_endTime :: Lens' PiiEntitiesDetectionJobProperties (Maybe UTCTime) Source #
The time that the PII entities detection job completed.
piiEntitiesDetectionJobProperties_outputDataConfig :: Lens' PiiEntitiesDetectionJobProperties (Maybe PiiOutputDataConfig) Source #
The output data configuration that you supplied when you created the PII entities detection job.
piiEntitiesDetectionJobProperties_dataAccessRoleArn :: Lens' PiiEntitiesDetectionJobProperties (Maybe Text) Source #
The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.
piiEntitiesDetectionJobProperties_jobStatus :: Lens' PiiEntitiesDetectionJobProperties (Maybe JobStatus) Source #
The current status of the PII entities detection job. If the status is
FAILED
, the Message
field shows the reason for the failure.
piiEntitiesDetectionJobProperties_message :: Lens' PiiEntitiesDetectionJobProperties (Maybe Text) Source #
A description of the status of a job.
piiEntitiesDetectionJobProperties_submitTime :: Lens' PiiEntitiesDetectionJobProperties (Maybe UTCTime) Source #
The time that the PII entities detection job was submitted for processing.