Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data SentimentDetectionJobProperties = SentimentDetectionJobProperties' {
- dataAccessRoleArn :: Maybe Text
- endTime :: Maybe POSIX
- inputDataConfig :: Maybe InputDataConfig
- jobArn :: Maybe Text
- jobId :: Maybe Text
- jobName :: Maybe Text
- jobStatus :: Maybe JobStatus
- languageCode :: Maybe LanguageCode
- message :: Maybe Text
- outputDataConfig :: Maybe OutputDataConfig
- submitTime :: Maybe POSIX
- volumeKmsKeyId :: Maybe Text
- vpcConfig :: Maybe VpcConfig
- newSentimentDetectionJobProperties :: SentimentDetectionJobProperties
- sentimentDetectionJobProperties_dataAccessRoleArn :: Lens' SentimentDetectionJobProperties (Maybe Text)
- sentimentDetectionJobProperties_endTime :: Lens' SentimentDetectionJobProperties (Maybe UTCTime)
- sentimentDetectionJobProperties_inputDataConfig :: Lens' SentimentDetectionJobProperties (Maybe InputDataConfig)
- sentimentDetectionJobProperties_jobArn :: Lens' SentimentDetectionJobProperties (Maybe Text)
- sentimentDetectionJobProperties_jobId :: Lens' SentimentDetectionJobProperties (Maybe Text)
- sentimentDetectionJobProperties_jobName :: Lens' SentimentDetectionJobProperties (Maybe Text)
- sentimentDetectionJobProperties_jobStatus :: Lens' SentimentDetectionJobProperties (Maybe JobStatus)
- sentimentDetectionJobProperties_languageCode :: Lens' SentimentDetectionJobProperties (Maybe LanguageCode)
- sentimentDetectionJobProperties_message :: Lens' SentimentDetectionJobProperties (Maybe Text)
- sentimentDetectionJobProperties_outputDataConfig :: Lens' SentimentDetectionJobProperties (Maybe OutputDataConfig)
- sentimentDetectionJobProperties_submitTime :: Lens' SentimentDetectionJobProperties (Maybe UTCTime)
- sentimentDetectionJobProperties_volumeKmsKeyId :: Lens' SentimentDetectionJobProperties (Maybe Text)
- sentimentDetectionJobProperties_vpcConfig :: Lens' SentimentDetectionJobProperties (Maybe VpcConfig)
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:dataAccessRoleArn:SentimentDetectionJobProperties'
, sentimentDetectionJobProperties_dataAccessRoleArn
- The Amazon Resource Name (ARN) that gives Amazon Comprehend read access
to your input data.
$sel:endTime:SentimentDetectionJobProperties'
, sentimentDetectionJobProperties_endTime
- The time that the sentiment detection job ended.
$sel:inputDataConfig:SentimentDetectionJobProperties'
, sentimentDetectionJobProperties_inputDataConfig
- The input data configuration that you supplied when you created 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:jobId:SentimentDetectionJobProperties'
, sentimentDetectionJobProperties_jobId
- The identifier assigned to the sentiment detection job.
$sel:jobName:SentimentDetectionJobProperties'
, sentimentDetectionJobProperties_jobName
- The name that you assigned to the sentiment detection job
$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:languageCode:SentimentDetectionJobProperties'
, sentimentDetectionJobProperties_languageCode
- The language code of the input documents.
$sel:message:SentimentDetectionJobProperties'
, sentimentDetectionJobProperties_message
- A description of the status of a job.
$sel:outputDataConfig:SentimentDetectionJobProperties'
, sentimentDetectionJobProperties_outputDataConfig
- The output data configuration that you supplied when you created the
sentiment detection job.
$sel:submitTime:SentimentDetectionJobProperties'
, sentimentDetectionJobProperties_submitTime
- The time that the sentiment detection job was submitted for processing.
$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: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.
sentimentDetectionJobProperties_dataAccessRoleArn :: Lens' SentimentDetectionJobProperties (Maybe Text) Source #
The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.
sentimentDetectionJobProperties_endTime :: Lens' SentimentDetectionJobProperties (Maybe UTCTime) Source #
The time that the sentiment detection job ended.
sentimentDetectionJobProperties_inputDataConfig :: Lens' SentimentDetectionJobProperties (Maybe InputDataConfig) Source #
The input data configuration that you supplied when you created 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_jobId :: Lens' SentimentDetectionJobProperties (Maybe Text) Source #
The identifier assigned to the sentiment detection job.
sentimentDetectionJobProperties_jobName :: Lens' SentimentDetectionJobProperties (Maybe Text) Source #
The name that you assigned to the sentiment detection job
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_languageCode :: Lens' SentimentDetectionJobProperties (Maybe LanguageCode) Source #
The language code of the input documents.
sentimentDetectionJobProperties_message :: Lens' SentimentDetectionJobProperties (Maybe Text) Source #
A description of the status of a job.
sentimentDetectionJobProperties_outputDataConfig :: Lens' SentimentDetectionJobProperties (Maybe OutputDataConfig) Source #
The output data configuration that you supplied when you created the sentiment detection job.
sentimentDetectionJobProperties_submitTime :: Lens' SentimentDetectionJobProperties (Maybe UTCTime) Source #
The time that the sentiment detection job was submitted for processing.
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_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.