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 |
Permanently cancel a job. Once you have canceled a job, you can't start it again.
Synopsis
- data CancelJob = CancelJob' {}
- newCancelJob :: Text -> CancelJob
- cancelJob_id :: Lens' CancelJob Text
- data CancelJobResponse = CancelJobResponse' {
- httpStatus :: Int
- newCancelJobResponse :: Int -> CancelJobResponse
- cancelJobResponse_httpStatus :: Lens' CancelJobResponse Int
Creating a Request
See: newCancelJob
smart constructor.
Instances
Eq CancelJob Source # | |
Read CancelJob Source # | |
Show CancelJob Source # | |
Generic CancelJob Source # | |
NFData CancelJob Source # | |
Defined in Amazonka.MediaConvert.CancelJob | |
Hashable CancelJob Source # | |
Defined in Amazonka.MediaConvert.CancelJob | |
AWSRequest CancelJob Source # | |
Defined in Amazonka.MediaConvert.CancelJob type AWSResponse CancelJob # request :: CancelJob -> Request CancelJob # response :: MonadResource m => Logger -> Service -> Proxy CancelJob -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse CancelJob))) # | |
ToHeaders CancelJob Source # | |
Defined in Amazonka.MediaConvert.CancelJob | |
ToPath CancelJob Source # | |
Defined in Amazonka.MediaConvert.CancelJob toPath :: CancelJob -> ByteString # | |
ToQuery CancelJob Source # | |
Defined in Amazonka.MediaConvert.CancelJob toQuery :: CancelJob -> QueryString # | |
type Rep CancelJob Source # | |
Defined in Amazonka.MediaConvert.CancelJob | |
type AWSResponse CancelJob Source # | |
Defined in Amazonka.MediaConvert.CancelJob |
Create a value of CancelJob
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:id:CancelJob'
, cancelJob_id
- The Job ID of the job to be cancelled.
Request Lenses
Destructuring the Response
data CancelJobResponse Source #
See: newCancelJobResponse
smart constructor.
CancelJobResponse' | |
|
Instances
Create a value of CancelJobResponse
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:httpStatus:CancelJobResponse'
, cancelJobResponse_httpStatus
- The response's http status code.
Response Lenses
cancelJobResponse_httpStatus :: Lens' CancelJobResponse Int Source #
The response's http status code.