| 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.DeleteMaintenanceWindow
Description
Deletes a maintenance window.
Synopsis
- data DeleteMaintenanceWindow = DeleteMaintenanceWindow' {}
- newDeleteMaintenanceWindow :: Text -> DeleteMaintenanceWindow
- deleteMaintenanceWindow_windowId :: Lens' DeleteMaintenanceWindow Text
- data DeleteMaintenanceWindowResponse = DeleteMaintenanceWindowResponse' {
- windowId :: Maybe Text
- httpStatus :: Int
- newDeleteMaintenanceWindowResponse :: Int -> DeleteMaintenanceWindowResponse
- deleteMaintenanceWindowResponse_windowId :: Lens' DeleteMaintenanceWindowResponse (Maybe Text)
- deleteMaintenanceWindowResponse_httpStatus :: Lens' DeleteMaintenanceWindowResponse Int
Creating a Request
data DeleteMaintenanceWindow Source #
See: newDeleteMaintenanceWindow smart constructor.
Constructors
| DeleteMaintenanceWindow' | |
Instances
newDeleteMaintenanceWindow Source #
Arguments
| :: Text | |
| -> DeleteMaintenanceWindow |
Create a value of DeleteMaintenanceWindow 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:
DeleteMaintenanceWindow, deleteMaintenanceWindow_windowId - The ID of the maintenance window to delete.
Request Lenses
deleteMaintenanceWindow_windowId :: Lens' DeleteMaintenanceWindow Text Source #
The ID of the maintenance window to delete.
Destructuring the Response
data DeleteMaintenanceWindowResponse Source #
See: newDeleteMaintenanceWindowResponse smart constructor.
Constructors
| DeleteMaintenanceWindowResponse' | |
Fields
| |
Instances
newDeleteMaintenanceWindowResponse Source #
Create a value of DeleteMaintenanceWindowResponse 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:
DeleteMaintenanceWindow, deleteMaintenanceWindowResponse_windowId - The ID of the deleted maintenance window.
$sel:httpStatus:DeleteMaintenanceWindowResponse', deleteMaintenanceWindowResponse_httpStatus - The response's http status code.
Response Lenses
deleteMaintenanceWindowResponse_windowId :: Lens' DeleteMaintenanceWindowResponse (Maybe Text) Source #
The ID of the deleted maintenance window.
deleteMaintenanceWindowResponse_httpStatus :: Lens' DeleteMaintenanceWindowResponse Int Source #
The response's http status code.