| 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.DataExchange.CancelJob
Description
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.
Constructors
| CancelJob' | |
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.
Constructors
| CancelJobResponse' | |
Instances
| Generic CancelJobResponse Source # | |
Defined in Amazonka.DataExchange.CancelJob Associated Types type Rep CancelJobResponse :: Type -> Type # Methods from :: CancelJobResponse -> Rep CancelJobResponse x # to :: Rep CancelJobResponse x -> CancelJobResponse #  | |
| Read CancelJobResponse Source # | |
Defined in Amazonka.DataExchange.CancelJob Methods readsPrec :: Int -> ReadS CancelJobResponse # readList :: ReadS [CancelJobResponse] #  | |
| Show CancelJobResponse Source # | |
Defined in Amazonka.DataExchange.CancelJob Methods showsPrec :: Int -> CancelJobResponse -> ShowS # show :: CancelJobResponse -> String # showList :: [CancelJobResponse] -> ShowS #  | |
| NFData CancelJobResponse Source # | |
Defined in Amazonka.DataExchange.CancelJob Methods rnf :: CancelJobResponse -> () #  | |
| Eq CancelJobResponse Source # | |
Defined in Amazonka.DataExchange.CancelJob Methods (==) :: 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.