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 DocumentClassificationJobProperties = DocumentClassificationJobProperties' {
- jobId :: Maybe Text
- jobArn :: Maybe Text
- documentClassifierArn :: Maybe Text
- jobName :: Maybe Text
- inputDataConfig :: Maybe InputDataConfig
- vpcConfig :: Maybe VpcConfig
- volumeKmsKeyId :: Maybe Text
- endTime :: Maybe POSIX
- outputDataConfig :: Maybe OutputDataConfig
- dataAccessRoleArn :: Maybe Text
- jobStatus :: Maybe JobStatus
- message :: Maybe Text
- submitTime :: Maybe POSIX
- newDocumentClassificationJobProperties :: DocumentClassificationJobProperties
- documentClassificationJobProperties_jobId :: Lens' DocumentClassificationJobProperties (Maybe Text)
- documentClassificationJobProperties_jobArn :: Lens' DocumentClassificationJobProperties (Maybe Text)
- documentClassificationJobProperties_documentClassifierArn :: Lens' DocumentClassificationJobProperties (Maybe Text)
- documentClassificationJobProperties_jobName :: Lens' DocumentClassificationJobProperties (Maybe Text)
- documentClassificationJobProperties_inputDataConfig :: Lens' DocumentClassificationJobProperties (Maybe InputDataConfig)
- documentClassificationJobProperties_vpcConfig :: Lens' DocumentClassificationJobProperties (Maybe VpcConfig)
- documentClassificationJobProperties_volumeKmsKeyId :: Lens' DocumentClassificationJobProperties (Maybe Text)
- documentClassificationJobProperties_endTime :: Lens' DocumentClassificationJobProperties (Maybe UTCTime)
- documentClassificationJobProperties_outputDataConfig :: Lens' DocumentClassificationJobProperties (Maybe OutputDataConfig)
- documentClassificationJobProperties_dataAccessRoleArn :: Lens' DocumentClassificationJobProperties (Maybe Text)
- documentClassificationJobProperties_jobStatus :: Lens' DocumentClassificationJobProperties (Maybe JobStatus)
- documentClassificationJobProperties_message :: Lens' DocumentClassificationJobProperties (Maybe Text)
- documentClassificationJobProperties_submitTime :: Lens' DocumentClassificationJobProperties (Maybe UTCTime)
Documentation
data DocumentClassificationJobProperties Source #
Provides information about a document classification job.
See: newDocumentClassificationJobProperties
smart constructor.
DocumentClassificationJobProperties' | |
|
Instances
newDocumentClassificationJobProperties :: DocumentClassificationJobProperties Source #
Create a value of DocumentClassificationJobProperties
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:jobId:DocumentClassificationJobProperties'
, documentClassificationJobProperties_jobId
- The identifier assigned to the document classification job.
$sel:jobArn:DocumentClassificationJobProperties'
, documentClassificationJobProperties_jobArn
- The Amazon Resource Name (ARN) of the document classification 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>:document-classification-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:document-classification-job/1234abcd12ab34cd56ef1234567890ab
$sel:documentClassifierArn:DocumentClassificationJobProperties'
, documentClassificationJobProperties_documentClassifierArn
- The Amazon Resource Name (ARN) that identifies the document classifier.
$sel:jobName:DocumentClassificationJobProperties'
, documentClassificationJobProperties_jobName
- The name that you assigned to the document classification job.
$sel:inputDataConfig:DocumentClassificationJobProperties'
, documentClassificationJobProperties_inputDataConfig
- The input data configuration that you supplied when you created the
document classification job.
$sel:vpcConfig:DocumentClassificationJobProperties'
, documentClassificationJobProperties_vpcConfig
- Configuration parameters for a private Virtual Private Cloud (VPC)
containing the resources you are using for your document classification
job. For more information, see
Amazon VPC.
$sel:volumeKmsKeyId:DocumentClassificationJobProperties'
, documentClassificationJobProperties_volumeKmsKeyId
- ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
uses to encrypt data on the storage volume attached to the ML compute
instance(s) that process the analysis job. The VolumeKmsKeyId can be
either of the following formats:
- KMS Key ID:
"1234abcd-12ab-34cd-56ef-1234567890ab"
- Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
$sel:endTime:DocumentClassificationJobProperties'
, documentClassificationJobProperties_endTime
- The time that the document classification job completed.
$sel:outputDataConfig:DocumentClassificationJobProperties'
, documentClassificationJobProperties_outputDataConfig
- The output data configuration that you supplied when you created the
document classification job.
$sel:dataAccessRoleArn:DocumentClassificationJobProperties'
, documentClassificationJobProperties_dataAccessRoleArn
- The Amazon Resource Name (ARN) of the AWS identity and Access Management
(IAM) role that grants Amazon Comprehend read access to your input data.
$sel:jobStatus:DocumentClassificationJobProperties'
, documentClassificationJobProperties_jobStatus
- The current status of the document classification job. If the status is
FAILED
, the Message
field shows the reason for the failure.
$sel:message:DocumentClassificationJobProperties'
, documentClassificationJobProperties_message
- A description of the status of the job.
$sel:submitTime:DocumentClassificationJobProperties'
, documentClassificationJobProperties_submitTime
- The time that the document classification job was submitted for
processing.
documentClassificationJobProperties_jobId :: Lens' DocumentClassificationJobProperties (Maybe Text) Source #
The identifier assigned to the document classification job.
documentClassificationJobProperties_jobArn :: Lens' DocumentClassificationJobProperties (Maybe Text) Source #
The Amazon Resource Name (ARN) of the document classification 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>:document-classification-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:document-classification-job/1234abcd12ab34cd56ef1234567890ab
documentClassificationJobProperties_documentClassifierArn :: Lens' DocumentClassificationJobProperties (Maybe Text) Source #
The Amazon Resource Name (ARN) that identifies the document classifier.
documentClassificationJobProperties_jobName :: Lens' DocumentClassificationJobProperties (Maybe Text) Source #
The name that you assigned to the document classification job.
documentClassificationJobProperties_inputDataConfig :: Lens' DocumentClassificationJobProperties (Maybe InputDataConfig) Source #
The input data configuration that you supplied when you created the document classification job.
documentClassificationJobProperties_vpcConfig :: Lens' DocumentClassificationJobProperties (Maybe VpcConfig) Source #
Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your document classification job. For more information, see Amazon VPC.
documentClassificationJobProperties_volumeKmsKeyId :: Lens' DocumentClassificationJobProperties (Maybe Text) Source #
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
- KMS Key ID:
"1234abcd-12ab-34cd-56ef-1234567890ab"
- Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
documentClassificationJobProperties_endTime :: Lens' DocumentClassificationJobProperties (Maybe UTCTime) Source #
The time that the document classification job completed.
documentClassificationJobProperties_outputDataConfig :: Lens' DocumentClassificationJobProperties (Maybe OutputDataConfig) Source #
The output data configuration that you supplied when you created the document classification job.
documentClassificationJobProperties_dataAccessRoleArn :: Lens' DocumentClassificationJobProperties (Maybe Text) Source #
The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that grants Amazon Comprehend read access to your input data.
documentClassificationJobProperties_jobStatus :: Lens' DocumentClassificationJobProperties (Maybe JobStatus) Source #
The current status of the document classification job. If the status is
FAILED
, the Message
field shows the reason for the failure.
documentClassificationJobProperties_message :: Lens' DocumentClassificationJobProperties (Maybe Text) Source #
A description of the status of the job.
documentClassificationJobProperties_submitTime :: Lens' DocumentClassificationJobProperties (Maybe UTCTime) Source #
The time that the document classification job was submitted for processing.