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 |
Cancels the running of a specific batch job execution.
Synopsis
- data CancelBatchJobExecution = CancelBatchJobExecution' {
- applicationId :: Text
- executionId :: Text
- newCancelBatchJobExecution :: Text -> Text -> CancelBatchJobExecution
- cancelBatchJobExecution_applicationId :: Lens' CancelBatchJobExecution Text
- cancelBatchJobExecution_executionId :: Lens' CancelBatchJobExecution Text
- data CancelBatchJobExecutionResponse = CancelBatchJobExecutionResponse' {
- httpStatus :: Int
- newCancelBatchJobExecutionResponse :: Int -> CancelBatchJobExecutionResponse
- cancelBatchJobExecutionResponse_httpStatus :: Lens' CancelBatchJobExecutionResponse Int
Creating a Request
data CancelBatchJobExecution Source #
See: newCancelBatchJobExecution
smart constructor.
CancelBatchJobExecution' | |
|
Instances
newCancelBatchJobExecution Source #
Create a value of CancelBatchJobExecution
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:
CancelBatchJobExecution
, cancelBatchJobExecution_applicationId
- The unique identifier of the application.
CancelBatchJobExecution
, cancelBatchJobExecution_executionId
- The unique identifier of the batch job execution.
Request Lenses
cancelBatchJobExecution_applicationId :: Lens' CancelBatchJobExecution Text Source #
The unique identifier of the application.
cancelBatchJobExecution_executionId :: Lens' CancelBatchJobExecution Text Source #
The unique identifier of the batch job execution.
Destructuring the Response
data CancelBatchJobExecutionResponse Source #
See: newCancelBatchJobExecutionResponse
smart constructor.
CancelBatchJobExecutionResponse' | |
|
Instances
Generic CancelBatchJobExecutionResponse Source # | |
Read CancelBatchJobExecutionResponse Source # | |
Show CancelBatchJobExecutionResponse Source # | |
Defined in Amazonka.M2.CancelBatchJobExecution | |
NFData CancelBatchJobExecutionResponse Source # | |
Defined in Amazonka.M2.CancelBatchJobExecution rnf :: CancelBatchJobExecutionResponse -> () # | |
Eq CancelBatchJobExecutionResponse Source # | |
type Rep CancelBatchJobExecutionResponse Source # | |
Defined in Amazonka.M2.CancelBatchJobExecution type Rep CancelBatchJobExecutionResponse = D1 ('MetaData "CancelBatchJobExecutionResponse" "Amazonka.M2.CancelBatchJobExecution" "amazonka-m2-2.0-1kXEGTJs74f5RPbatSDeMH" 'False) (C1 ('MetaCons "CancelBatchJobExecutionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCancelBatchJobExecutionResponse Source #
Create a value of CancelBatchJobExecutionResponse
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:CancelBatchJobExecutionResponse'
, cancelBatchJobExecutionResponse_httpStatus
- The response's http status code.
Response Lenses
cancelBatchJobExecutionResponse_httpStatus :: Lens' CancelBatchJobExecutionResponse Int Source #
The response's http status code.