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 |
Stops a maintenance window execution that is already in progress and cancels any tasks in the window that haven't already starting running. Tasks already in progress will continue to completion.
Synopsis
- data CancelMaintenanceWindowExecution = CancelMaintenanceWindowExecution' {}
- newCancelMaintenanceWindowExecution :: Text -> CancelMaintenanceWindowExecution
- cancelMaintenanceWindowExecution_windowExecutionId :: Lens' CancelMaintenanceWindowExecution Text
- data CancelMaintenanceWindowExecutionResponse = CancelMaintenanceWindowExecutionResponse' {}
- newCancelMaintenanceWindowExecutionResponse :: Int -> CancelMaintenanceWindowExecutionResponse
- cancelMaintenanceWindowExecutionResponse_windowExecutionId :: Lens' CancelMaintenanceWindowExecutionResponse (Maybe Text)
- cancelMaintenanceWindowExecutionResponse_httpStatus :: Lens' CancelMaintenanceWindowExecutionResponse Int
Creating a Request
data CancelMaintenanceWindowExecution Source #
See: newCancelMaintenanceWindowExecution
smart constructor.
CancelMaintenanceWindowExecution' | |
|
Instances
newCancelMaintenanceWindowExecution Source #
Create a value of CancelMaintenanceWindowExecution
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:windowExecutionId:CancelMaintenanceWindowExecution'
, cancelMaintenanceWindowExecution_windowExecutionId
- The ID of the maintenance window execution to stop.
Request Lenses
cancelMaintenanceWindowExecution_windowExecutionId :: Lens' CancelMaintenanceWindowExecution Text Source #
The ID of the maintenance window execution to stop.
Destructuring the Response
data CancelMaintenanceWindowExecutionResponse Source #
See: newCancelMaintenanceWindowExecutionResponse
smart constructor.
CancelMaintenanceWindowExecutionResponse' | |
|
Instances
newCancelMaintenanceWindowExecutionResponse Source #
Create a value of CancelMaintenanceWindowExecutionResponse
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:windowExecutionId:CancelMaintenanceWindowExecution'
, cancelMaintenanceWindowExecutionResponse_windowExecutionId
- The ID of the maintenance window execution that has been stopped.
$sel:httpStatus:CancelMaintenanceWindowExecutionResponse'
, cancelMaintenanceWindowExecutionResponse_httpStatus
- The response's http status code.
Response Lenses
cancelMaintenanceWindowExecutionResponse_windowExecutionId :: Lens' CancelMaintenanceWindowExecutionResponse (Maybe Text) Source #
The ID of the maintenance window execution that has been stopped.
cancelMaintenanceWindowExecutionResponse_httpStatus :: Lens' CancelMaintenanceWindowExecutionResponse Int Source #
The response's http status code.