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 |
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
Eq CancelJob Source # | |
Read CancelJob Source # | |
Show CancelJob Source # | |
Generic CancelJob Source # | |
NFData CancelJob Source # | |
Defined in Amazonka.DataExchange.CancelJob | |
Hashable CancelJob Source # | |
Defined in Amazonka.DataExchange.CancelJob | |
AWSRequest CancelJob Source # | |
Defined in Amazonka.DataExchange.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.DataExchange.CancelJob | |
ToPath CancelJob Source # | |
Defined in Amazonka.DataExchange.CancelJob toPath :: CancelJob -> ByteString # | |
ToQuery CancelJob Source # | |
Defined in Amazonka.DataExchange.CancelJob toQuery :: CancelJob -> QueryString # | |
type Rep CancelJob Source # | |
Defined in Amazonka.DataExchange.CancelJob | |
type AWSResponse CancelJob Source # | |
Defined in Amazonka.DataExchange.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:jobId:CancelJob'
, cancelJob_jobId
- The unique identifier for a job.
Request Lenses
Destructuring the Response
data CancelJobResponse Source #
See: newCancelJobResponse
smart constructor.
Instances
Eq CancelJobResponse Source # | |
Defined in Amazonka.DataExchange.CancelJob (==) :: CancelJobResponse -> CancelJobResponse -> Bool # (/=) :: CancelJobResponse -> CancelJobResponse -> Bool # | |
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 # | |
Generic CancelJobResponse Source # | |
Defined in Amazonka.DataExchange.CancelJob type Rep CancelJobResponse :: Type -> Type # from :: CancelJobResponse -> Rep CancelJobResponse x # to :: Rep CancelJobResponse x -> CancelJobResponse # | |
NFData CancelJobResponse Source # | |
Defined in Amazonka.DataExchange.CancelJob rnf :: CancelJobResponse -> () # | |
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.