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.M2.CancelBatchJobExecution
Description
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.
Constructors
CancelBatchJobExecution' | |
Fields
|
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.
Constructors
CancelBatchJobExecutionResponse' | |
Fields
|
Instances
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.