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 |
Stops an events detection job in progress.
Synopsis
- data StopEventsDetectionJob = StopEventsDetectionJob' {}
- newStopEventsDetectionJob :: Text -> StopEventsDetectionJob
- stopEventsDetectionJob_jobId :: Lens' StopEventsDetectionJob Text
- data StopEventsDetectionJobResponse = StopEventsDetectionJobResponse' {}
- newStopEventsDetectionJobResponse :: Int -> StopEventsDetectionJobResponse
- stopEventsDetectionJobResponse_jobId :: Lens' StopEventsDetectionJobResponse (Maybe Text)
- stopEventsDetectionJobResponse_jobStatus :: Lens' StopEventsDetectionJobResponse (Maybe JobStatus)
- stopEventsDetectionJobResponse_httpStatus :: Lens' StopEventsDetectionJobResponse Int
Creating a Request
data StopEventsDetectionJob Source #
See: newStopEventsDetectionJob
smart constructor.
Instances
newStopEventsDetectionJob Source #
Create a value of StopEventsDetectionJob
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:
StopEventsDetectionJob
, stopEventsDetectionJob_jobId
- The identifier of the events detection job to stop.
Request Lenses
stopEventsDetectionJob_jobId :: Lens' StopEventsDetectionJob Text Source #
The identifier of the events detection job to stop.
Destructuring the Response
data StopEventsDetectionJobResponse Source #
See: newStopEventsDetectionJobResponse
smart constructor.
Instances
newStopEventsDetectionJobResponse Source #
Create a value of StopEventsDetectionJobResponse
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:
StopEventsDetectionJob
, stopEventsDetectionJobResponse_jobId
- The identifier of the events detection job to stop.
StopEventsDetectionJobResponse
, stopEventsDetectionJobResponse_jobStatus
- The status of the events detection job.
$sel:httpStatus:StopEventsDetectionJobResponse'
, stopEventsDetectionJobResponse_httpStatus
- The response's http status code.
Response Lenses
stopEventsDetectionJobResponse_jobId :: Lens' StopEventsDetectionJobResponse (Maybe Text) Source #
The identifier of the events detection job to stop.
stopEventsDetectionJobResponse_jobStatus :: Lens' StopEventsDetectionJobResponse (Maybe JobStatus) Source #
The status of the events detection job.
stopEventsDetectionJobResponse_httpStatus :: Lens' StopEventsDetectionJobResponse Int Source #
The response's http status code.