| 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 |
Amazonka.ComprehendMedical.StartPHIDetectionJob
Description
Starts an asynchronous job to detect protected health information (PHI).
Use the DescribePHIDetectionJob operation to track the status of a
job.
Synopsis
- data StartPHIDetectionJob = StartPHIDetectionJob' {}
- newStartPHIDetectionJob :: InputDataConfig -> OutputDataConfig -> Text -> LanguageCode -> StartPHIDetectionJob
- startPHIDetectionJob_clientRequestToken :: Lens' StartPHIDetectionJob (Maybe Text)
- startPHIDetectionJob_jobName :: Lens' StartPHIDetectionJob (Maybe Text)
- startPHIDetectionJob_kmsKey :: Lens' StartPHIDetectionJob (Maybe Text)
- startPHIDetectionJob_inputDataConfig :: Lens' StartPHIDetectionJob InputDataConfig
- startPHIDetectionJob_outputDataConfig :: Lens' StartPHIDetectionJob OutputDataConfig
- startPHIDetectionJob_dataAccessRoleArn :: Lens' StartPHIDetectionJob Text
- startPHIDetectionJob_languageCode :: Lens' StartPHIDetectionJob LanguageCode
- data StartPHIDetectionJobResponse = StartPHIDetectionJobResponse' {
- jobId :: Maybe Text
- httpStatus :: Int
- newStartPHIDetectionJobResponse :: Int -> StartPHIDetectionJobResponse
- startPHIDetectionJobResponse_jobId :: Lens' StartPHIDetectionJobResponse (Maybe Text)
- startPHIDetectionJobResponse_httpStatus :: Lens' StartPHIDetectionJobResponse Int
Creating a Request
data StartPHIDetectionJob Source #
See: newStartPHIDetectionJob smart constructor.
Constructors
| StartPHIDetectionJob' | |
Fields
| |
Instances
newStartPHIDetectionJob Source #
Arguments
| :: InputDataConfig | |
| -> OutputDataConfig | |
| -> Text | |
| -> LanguageCode | |
| -> StartPHIDetectionJob |
Create a value of StartPHIDetectionJob 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:clientRequestToken:StartPHIDetectionJob', startPHIDetectionJob_clientRequestToken - A unique identifier for the request. If you don't set the client
request token, Comprehend Medical; generates one.
StartPHIDetectionJob, startPHIDetectionJob_jobName - The identifier of the job.
StartPHIDetectionJob, startPHIDetectionJob_kmsKey - An AWS Key Management Service key to encrypt your output files. If you
do not specify a key, the files are written in plain text.
StartPHIDetectionJob, startPHIDetectionJob_inputDataConfig - Specifies the format and location of the input data for the job.
StartPHIDetectionJob, startPHIDetectionJob_outputDataConfig - Specifies where to send the output files.
StartPHIDetectionJob, startPHIDetectionJob_dataAccessRoleArn - The Amazon Resource Name (ARN) of the AWS Identity and Access Management
(IAM) role that grants Comprehend Medical; read access to your input
data. For more information, see
Role-Based Permissions Required for Asynchronous Operations.
StartPHIDetectionJob, startPHIDetectionJob_languageCode - The language of the input documents. All documents must be in the same
language.
Request Lenses
startPHIDetectionJob_clientRequestToken :: Lens' StartPHIDetectionJob (Maybe Text) Source #
A unique identifier for the request. If you don't set the client request token, Comprehend Medical; generates one.
startPHIDetectionJob_jobName :: Lens' StartPHIDetectionJob (Maybe Text) Source #
The identifier of the job.
startPHIDetectionJob_kmsKey :: Lens' StartPHIDetectionJob (Maybe Text) Source #
An AWS Key Management Service key to encrypt your output files. If you do not specify a key, the files are written in plain text.
startPHIDetectionJob_inputDataConfig :: Lens' StartPHIDetectionJob InputDataConfig Source #
Specifies the format and location of the input data for the job.
startPHIDetectionJob_outputDataConfig :: Lens' StartPHIDetectionJob OutputDataConfig Source #
Specifies where to send the output files.
startPHIDetectionJob_dataAccessRoleArn :: Lens' StartPHIDetectionJob Text Source #
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Comprehend Medical; read access to your input data. For more information, see Role-Based Permissions Required for Asynchronous Operations.
startPHIDetectionJob_languageCode :: Lens' StartPHIDetectionJob LanguageCode Source #
The language of the input documents. All documents must be in the same language.
Destructuring the Response
data StartPHIDetectionJobResponse Source #
See: newStartPHIDetectionJobResponse smart constructor.
Constructors
| StartPHIDetectionJobResponse' | |
Fields
| |
Instances
newStartPHIDetectionJobResponse Source #
Create a value of StartPHIDetectionJobResponse 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:
StartPHIDetectionJobResponse, startPHIDetectionJobResponse_jobId - The identifier generated for the job. To get the status of a job, use
this identifier with the DescribePHIDetectionJob operation.
$sel:httpStatus:StartPHIDetectionJobResponse', startPHIDetectionJobResponse_httpStatus - The response's http status code.
Response Lenses
startPHIDetectionJobResponse_jobId :: Lens' StartPHIDetectionJobResponse (Maybe Text) Source #
The identifier generated for the job. To get the status of a job, use
this identifier with the DescribePHIDetectionJob operation.
startPHIDetectionJobResponse_httpStatus :: Lens' StartPHIDetectionJobResponse Int Source #
The response's http status code.