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 |
This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.
Synopsis
- data CancelJob = CancelJob' {}
- newCancelJob :: Text -> CancelJob
- cancelJob_jobId :: Lens' CancelJob Text
- data CancelJobResponse = CancelJobResponse' {
- newCancelJobResponse :: CancelJobResponse
Creating a Request
See: newCancelJob
smart constructor.
Instances
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:jobId:CancelJob'
, cancelJob_jobId
- The unique identifier for a job.
Request Lenses
Destructuring the Response
data CancelJobResponse Source #
See: newCancelJobResponse
smart constructor.
Instances
Generic CancelJobResponse Source # | |
Defined in Amazonka.DataExchange.CancelJob type Rep CancelJobResponse :: Type -> Type # from :: CancelJobResponse -> Rep CancelJobResponse x # to :: Rep CancelJobResponse x -> CancelJobResponse # | |
Read CancelJobResponse Source # | |
Defined in Amazonka.DataExchange.CancelJob | |
Show CancelJobResponse Source # | |
Defined in Amazonka.DataExchange.CancelJob showsPrec :: Int -> CancelJobResponse -> ShowS # show :: CancelJobResponse -> String # showList :: [CancelJobResponse] -> ShowS # | |
NFData CancelJobResponse Source # | |
Defined in Amazonka.DataExchange.CancelJob rnf :: CancelJobResponse -> () # | |
Eq CancelJobResponse Source # | |
Defined in Amazonka.DataExchange.CancelJob (==) :: CancelJobResponse -> CancelJobResponse -> Bool # (/=) :: CancelJobResponse -> CancelJobResponse -> Bool # | |
type Rep CancelJobResponse Source # | |
newCancelJobResponse :: CancelJobResponse Source #
Create a value of CancelJobResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.