| 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.SSM.CancelMaintenanceWindowExecution
Description
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.
Constructors
| CancelMaintenanceWindowExecution' | |
Fields
| |
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:
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.
Constructors
| CancelMaintenanceWindowExecutionResponse' | |
Fields
| |
Instances
newCancelMaintenanceWindowExecutionResponse Source #
Arguments
| :: Int | |
| -> CancelMaintenanceWindowExecutionResponse |
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:
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.