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 |
Starts an asynchronous job to detect medical conditions and link them to
the ICD-10-CM ontology. Use the DescribeICD10CMInferenceJob
operation
to track the status of a job.
Synopsis
- data StartICD10CMInferenceJob = StartICD10CMInferenceJob' {}
- newStartICD10CMInferenceJob :: InputDataConfig -> OutputDataConfig -> Text -> LanguageCode -> StartICD10CMInferenceJob
- startICD10CMInferenceJob_kmsKey :: Lens' StartICD10CMInferenceJob (Maybe Text)
- startICD10CMInferenceJob_jobName :: Lens' StartICD10CMInferenceJob (Maybe Text)
- startICD10CMInferenceJob_clientRequestToken :: Lens' StartICD10CMInferenceJob (Maybe Text)
- startICD10CMInferenceJob_inputDataConfig :: Lens' StartICD10CMInferenceJob InputDataConfig
- startICD10CMInferenceJob_outputDataConfig :: Lens' StartICD10CMInferenceJob OutputDataConfig
- startICD10CMInferenceJob_dataAccessRoleArn :: Lens' StartICD10CMInferenceJob Text
- startICD10CMInferenceJob_languageCode :: Lens' StartICD10CMInferenceJob LanguageCode
- data StartICD10CMInferenceJobResponse = StartICD10CMInferenceJobResponse' {
- jobId :: Maybe Text
- httpStatus :: Int
- newStartICD10CMInferenceJobResponse :: Int -> StartICD10CMInferenceJobResponse
- startICD10CMInferenceJobResponse_jobId :: Lens' StartICD10CMInferenceJobResponse (Maybe Text)
- startICD10CMInferenceJobResponse_httpStatus :: Lens' StartICD10CMInferenceJobResponse Int
Creating a Request
data StartICD10CMInferenceJob Source #
See: newStartICD10CMInferenceJob
smart constructor.
StartICD10CMInferenceJob' | |
|
Instances
newStartICD10CMInferenceJob Source #
Create a value of StartICD10CMInferenceJob
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:kmsKey:StartICD10CMInferenceJob'
, startICD10CMInferenceJob_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.
$sel:jobName:StartICD10CMInferenceJob'
, startICD10CMInferenceJob_jobName
- The identifier of the job.
$sel:clientRequestToken:StartICD10CMInferenceJob'
, startICD10CMInferenceJob_clientRequestToken
- A unique identifier for the request. If you don't set the client
request token, Amazon Comprehend Medical generates one.
$sel:inputDataConfig:StartICD10CMInferenceJob'
, startICD10CMInferenceJob_inputDataConfig
- Specifies the format and location of the input data for the job.
$sel:outputDataConfig:StartICD10CMInferenceJob'
, startICD10CMInferenceJob_outputDataConfig
- Specifies where to send the output files.
$sel:dataAccessRoleArn:StartICD10CMInferenceJob'
, startICD10CMInferenceJob_dataAccessRoleArn
- The Amazon Resource Name (ARN) of the AWS Identity and Access Management
(IAM) role that grants Amazon Comprehend Medical read access to your
input data. For more information, see
Role-Based Permissions Required for Asynchronous Operations.
$sel:languageCode:StartICD10CMInferenceJob'
, startICD10CMInferenceJob_languageCode
- The language of the input documents. All documents must be in the same
language.
Request Lenses
startICD10CMInferenceJob_kmsKey :: Lens' StartICD10CMInferenceJob (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.
startICD10CMInferenceJob_jobName :: Lens' StartICD10CMInferenceJob (Maybe Text) Source #
The identifier of the job.
startICD10CMInferenceJob_clientRequestToken :: Lens' StartICD10CMInferenceJob (Maybe Text) Source #
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend Medical generates one.
startICD10CMInferenceJob_inputDataConfig :: Lens' StartICD10CMInferenceJob InputDataConfig Source #
Specifies the format and location of the input data for the job.
startICD10CMInferenceJob_outputDataConfig :: Lens' StartICD10CMInferenceJob OutputDataConfig Source #
Specifies where to send the output files.
startICD10CMInferenceJob_dataAccessRoleArn :: Lens' StartICD10CMInferenceJob Text Source #
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend Medical read access to your input data. For more information, see Role-Based Permissions Required for Asynchronous Operations.
startICD10CMInferenceJob_languageCode :: Lens' StartICD10CMInferenceJob LanguageCode Source #
The language of the input documents. All documents must be in the same language.
Destructuring the Response
data StartICD10CMInferenceJobResponse Source #
See: newStartICD10CMInferenceJobResponse
smart constructor.
StartICD10CMInferenceJobResponse' | |
|
Instances
Eq StartICD10CMInferenceJobResponse Source # | |
Read StartICD10CMInferenceJobResponse Source # | |
Show StartICD10CMInferenceJobResponse Source # | |
Generic StartICD10CMInferenceJobResponse Source # | |
NFData StartICD10CMInferenceJobResponse Source # | |
Defined in Amazonka.ComprehendMedical.StartICD10CMInferenceJob rnf :: StartICD10CMInferenceJobResponse -> () # | |
type Rep StartICD10CMInferenceJobResponse Source # | |
Defined in Amazonka.ComprehendMedical.StartICD10CMInferenceJob type Rep StartICD10CMInferenceJobResponse = D1 ('MetaData "StartICD10CMInferenceJobResponse" "Amazonka.ComprehendMedical.StartICD10CMInferenceJob" "libZSservicesZSamazonka-comprehendmedicalZSamazonka-comprehendmedical" 'False) (C1 ('MetaCons "StartICD10CMInferenceJobResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newStartICD10CMInferenceJobResponse Source #
Create a value of StartICD10CMInferenceJobResponse
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:StartICD10CMInferenceJobResponse'
, startICD10CMInferenceJobResponse_jobId
- The identifier generated for the job. To get the status of a job, use
this identifier with the StartICD10CMInferenceJob
operation.
$sel:httpStatus:StartICD10CMInferenceJobResponse'
, startICD10CMInferenceJobResponse_httpStatus
- The response's http status code.
Response Lenses
startICD10CMInferenceJobResponse_jobId :: Lens' StartICD10CMInferenceJobResponse (Maybe Text) Source #
The identifier generated for the job. To get the status of a job, use
this identifier with the StartICD10CMInferenceJob
operation.
startICD10CMInferenceJobResponse_httpStatus :: Lens' StartICD10CMInferenceJobResponse Int Source #
The response's http status code.