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 |
Stops an InferRxNorm inference job in progress.
Synopsis
- data StopRxNormInferenceJob = StopRxNormInferenceJob' {}
- newStopRxNormInferenceJob :: Text -> StopRxNormInferenceJob
- stopRxNormInferenceJob_jobId :: Lens' StopRxNormInferenceJob Text
- data StopRxNormInferenceJobResponse = StopRxNormInferenceJobResponse' {
- jobId :: Maybe Text
- httpStatus :: Int
- newStopRxNormInferenceJobResponse :: Int -> StopRxNormInferenceJobResponse
- stopRxNormInferenceJobResponse_jobId :: Lens' StopRxNormInferenceJobResponse (Maybe Text)
- stopRxNormInferenceJobResponse_httpStatus :: Lens' StopRxNormInferenceJobResponse Int
Creating a Request
data StopRxNormInferenceJob Source #
See: newStopRxNormInferenceJob
smart constructor.
Instances
newStopRxNormInferenceJob Source #
Create a value of StopRxNormInferenceJob
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:StopRxNormInferenceJob'
, stopRxNormInferenceJob_jobId
- The identifier of the job.
Request Lenses
stopRxNormInferenceJob_jobId :: Lens' StopRxNormInferenceJob Text Source #
The identifier of the job.
Destructuring the Response
data StopRxNormInferenceJobResponse Source #
See: newStopRxNormInferenceJobResponse
smart constructor.
StopRxNormInferenceJobResponse' | |
|
Instances
Eq StopRxNormInferenceJobResponse Source # | |
Read StopRxNormInferenceJobResponse Source # | |
Show StopRxNormInferenceJobResponse Source # | |
Generic StopRxNormInferenceJobResponse Source # | |
NFData StopRxNormInferenceJobResponse Source # | |
Defined in Amazonka.ComprehendMedical.StopRxNormInferenceJob rnf :: StopRxNormInferenceJobResponse -> () # | |
type Rep StopRxNormInferenceJobResponse Source # | |
Defined in Amazonka.ComprehendMedical.StopRxNormInferenceJob type Rep StopRxNormInferenceJobResponse = D1 ('MetaData "StopRxNormInferenceJobResponse" "Amazonka.ComprehendMedical.StopRxNormInferenceJob" "libZSservicesZSamazonka-comprehendmedicalZSamazonka-comprehendmedical" 'False) (C1 ('MetaCons "StopRxNormInferenceJobResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newStopRxNormInferenceJobResponse Source #
Create a value of StopRxNormInferenceJobResponse
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:StopRxNormInferenceJob'
, stopRxNormInferenceJobResponse_jobId
- The identifier generated for the job. To get the status of job, use this
identifier with the DescribeRxNormInferenceJob
operation.
$sel:httpStatus:StopRxNormInferenceJobResponse'
, stopRxNormInferenceJobResponse_httpStatus
- The response's http status code.
Response Lenses
stopRxNormInferenceJobResponse_jobId :: Lens' StopRxNormInferenceJobResponse (Maybe Text) Source #
The identifier generated for the job. To get the status of job, use this
identifier with the DescribeRxNormInferenceJob
operation.
stopRxNormInferenceJobResponse_httpStatus :: Lens' StopRxNormInferenceJobResponse Int Source #
The response's http status code.