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 SentimentDetectionJobProperties = SentimentDetectionJobProperties' {
- languageCode :: Maybe LanguageCode
- jobId :: Maybe Text
- jobArn :: 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
- newSentimentDetectionJobProperties :: SentimentDetectionJobProperties
- sentimentDetectionJobProperties_languageCode :: Lens' SentimentDetectionJobProperties (Maybe LanguageCode)
- sentimentDetectionJobProperties_jobId :: Lens' SentimentDetectionJobProperties (Maybe Text)
- sentimentDetectionJobProperties_jobArn :: Lens' SentimentDetectionJobProperties (Maybe Text)
- sentimentDetectionJobProperties_jobName :: Lens' SentimentDetectionJobProperties (Maybe Text)
- sentimentDetectionJobProperties_inputDataConfig :: Lens' SentimentDetectionJobProperties (Maybe InputDataConfig)
- sentimentDetectionJobProperties_vpcConfig :: Lens' SentimentDetectionJobProperties (Maybe VpcConfig)
- sentimentDetectionJobProperties_volumeKmsKeyId :: Lens' SentimentDetectionJobProperties (Maybe Text)
- sentimentDetectionJobProperties_endTime :: Lens' SentimentDetectionJobProperties (Maybe UTCTime)
- sentimentDetectionJobProperties_outputDataConfig :: Lens' SentimentDetectionJobProperties (Maybe OutputDataConfig)
- sentimentDetectionJobProperties_dataAccessRoleArn :: Lens' SentimentDetectionJobProperties (Maybe Text)
- sentimentDetectionJobProperties_jobStatus :: Lens' SentimentDetectionJobProperties (Maybe JobStatus)
- sentimentDetectionJobProperties_message :: Lens' SentimentDetectionJobProperties (Maybe Text)
- sentimentDetectionJobProperties_submitTime :: Lens' SentimentDetectionJobProperties (Maybe UTCTime)
Documentation
data SentimentDetectionJobProperties Source #
Provides information about a sentiment detection job.
See: newSentimentDetectionJobProperties
smart constructor.
SentimentDetectionJobProperties' | |
|
Instances
newSentimentDetectionJobProperties :: SentimentDetectionJobProperties Source #
Create a value of SentimentDetectionJobProperties
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:SentimentDetectionJobProperties'
, sentimentDetectionJobProperties_languageCode
- The language code of the input documents.
$sel:jobId:SentimentDetectionJobProperties'
, sentimentDetectionJobProperties_jobId
- The identifier assigned to the sentiment detection job.
$sel:jobArn:SentimentDetectionJobProperties'
, sentimentDetectionJobProperties_jobArn
- The Amazon Resource Name (ARN) of the sentiment 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>:sentiment-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
$sel:jobName:SentimentDetectionJobProperties'
, sentimentDetectionJobProperties_jobName
- The name that you assigned to the sentiment detection job
$sel:inputDataConfig:SentimentDetectionJobProperties'
, sentimentDetectionJobProperties_inputDataConfig
- The input data configuration that you supplied when you created the
sentiment detection job.
$sel:vpcConfig:SentimentDetectionJobProperties'
, sentimentDetectionJobProperties_vpcConfig
- Configuration parameters for a private Virtual Private Cloud (VPC)
containing the resources you are using for your sentiment detection job.
For more information, see
Amazon VPC.
$sel:volumeKmsKeyId:SentimentDetectionJobProperties'
, sentimentDetectionJobProperties_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:SentimentDetectionJobProperties'
, sentimentDetectionJobProperties_endTime
- The time that the sentiment detection job ended.
$sel:outputDataConfig:SentimentDetectionJobProperties'
, sentimentDetectionJobProperties_outputDataConfig
- The output data configuration that you supplied when you created the
sentiment detection job.
$sel:dataAccessRoleArn:SentimentDetectionJobProperties'
, sentimentDetectionJobProperties_dataAccessRoleArn
- The Amazon Resource Name (ARN) that gives Amazon Comprehend read access
to your input data.
$sel:jobStatus:SentimentDetectionJobProperties'
, sentimentDetectionJobProperties_jobStatus
- The current status of the sentiment detection job. If the status is
FAILED
, the Messages
field shows the reason for the failure.
$sel:message:SentimentDetectionJobProperties'
, sentimentDetectionJobProperties_message
- A description of the status of a job.
$sel:submitTime:SentimentDetectionJobProperties'
, sentimentDetectionJobProperties_submitTime
- The time that the sentiment detection job was submitted for processing.
sentimentDetectionJobProperties_languageCode :: Lens' SentimentDetectionJobProperties (Maybe LanguageCode) Source #
The language code of the input documents.
sentimentDetectionJobProperties_jobId :: Lens' SentimentDetectionJobProperties (Maybe Text) Source #
The identifier assigned to the sentiment detection job.
sentimentDetectionJobProperties_jobArn :: Lens' SentimentDetectionJobProperties (Maybe Text) Source #
The Amazon Resource Name (ARN) of the sentiment 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>:sentiment-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
sentimentDetectionJobProperties_jobName :: Lens' SentimentDetectionJobProperties (Maybe Text) Source #
The name that you assigned to the sentiment detection job
sentimentDetectionJobProperties_inputDataConfig :: Lens' SentimentDetectionJobProperties (Maybe InputDataConfig) Source #
The input data configuration that you supplied when you created the sentiment detection job.
sentimentDetectionJobProperties_vpcConfig :: Lens' SentimentDetectionJobProperties (Maybe VpcConfig) Source #
Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your sentiment detection job. For more information, see Amazon VPC.
sentimentDetectionJobProperties_volumeKmsKeyId :: Lens' SentimentDetectionJobProperties (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"
sentimentDetectionJobProperties_endTime :: Lens' SentimentDetectionJobProperties (Maybe UTCTime) Source #
The time that the sentiment detection job ended.
sentimentDetectionJobProperties_outputDataConfig :: Lens' SentimentDetectionJobProperties (Maybe OutputDataConfig) Source #
The output data configuration that you supplied when you created the sentiment detection job.
sentimentDetectionJobProperties_dataAccessRoleArn :: Lens' SentimentDetectionJobProperties (Maybe Text) Source #
The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.
sentimentDetectionJobProperties_jobStatus :: Lens' SentimentDetectionJobProperties (Maybe JobStatus) Source #
The current status of the sentiment detection job. If the status is
FAILED
, the Messages
field shows the reason for the failure.
sentimentDetectionJobProperties_message :: Lens' SentimentDetectionJobProperties (Maybe Text) Source #
A description of the status of a job.
sentimentDetectionJobProperties_submitTime :: Lens' SentimentDetectionJobProperties (Maybe UTCTime) Source #
The time that the sentiment detection job was submitted for processing.