| 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.Comprehend.StopPiiEntitiesDetectionJob
Description
Stops a PII entities detection job in progress.
Synopsis
- data StopPiiEntitiesDetectionJob = StopPiiEntitiesDetectionJob' {}
- newStopPiiEntitiesDetectionJob :: Text -> StopPiiEntitiesDetectionJob
- stopPiiEntitiesDetectionJob_jobId :: Lens' StopPiiEntitiesDetectionJob Text
- data StopPiiEntitiesDetectionJobResponse = StopPiiEntitiesDetectionJobResponse' {}
- newStopPiiEntitiesDetectionJobResponse :: Int -> StopPiiEntitiesDetectionJobResponse
- stopPiiEntitiesDetectionJobResponse_jobId :: Lens' StopPiiEntitiesDetectionJobResponse (Maybe Text)
- stopPiiEntitiesDetectionJobResponse_jobStatus :: Lens' StopPiiEntitiesDetectionJobResponse (Maybe JobStatus)
- stopPiiEntitiesDetectionJobResponse_httpStatus :: Lens' StopPiiEntitiesDetectionJobResponse Int
Creating a Request
data StopPiiEntitiesDetectionJob Source #
See: newStopPiiEntitiesDetectionJob smart constructor.
Constructors
| StopPiiEntitiesDetectionJob' | |
Instances
newStopPiiEntitiesDetectionJob Source #
Arguments
| :: Text | |
| -> StopPiiEntitiesDetectionJob |
Create a value of StopPiiEntitiesDetectionJob 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:
StopPiiEntitiesDetectionJob, stopPiiEntitiesDetectionJob_jobId - The identifier of the PII entities detection job to stop.
Request Lenses
stopPiiEntitiesDetectionJob_jobId :: Lens' StopPiiEntitiesDetectionJob Text Source #
The identifier of the PII entities detection job to stop.
Destructuring the Response
data StopPiiEntitiesDetectionJobResponse Source #
See: newStopPiiEntitiesDetectionJobResponse smart constructor.
Constructors
| StopPiiEntitiesDetectionJobResponse' | |
Instances
newStopPiiEntitiesDetectionJobResponse Source #
Arguments
| :: Int | |
| -> StopPiiEntitiesDetectionJobResponse |
Create a value of StopPiiEntitiesDetectionJobResponse 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:
StopPiiEntitiesDetectionJob, stopPiiEntitiesDetectionJobResponse_jobId - The identifier of the PII entities detection job to stop.
StopPiiEntitiesDetectionJobResponse, stopPiiEntitiesDetectionJobResponse_jobStatus - The status of the PII entities detection job.
$sel:httpStatus:StopPiiEntitiesDetectionJobResponse', stopPiiEntitiesDetectionJobResponse_httpStatus - The response's http status code.
Response Lenses
stopPiiEntitiesDetectionJobResponse_jobId :: Lens' StopPiiEntitiesDetectionJobResponse (Maybe Text) Source #
The identifier of the PII entities detection job to stop.
stopPiiEntitiesDetectionJobResponse_jobStatus :: Lens' StopPiiEntitiesDetectionJobResponse (Maybe JobStatus) Source #
The status of the PII entities detection job.
stopPiiEntitiesDetectionJobResponse_httpStatus :: Lens' StopPiiEntitiesDetectionJobResponse Int Source #
The response's http status code.