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 |
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.
Instances
newDeleteMaintenanceWindow Source #
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:
$sel:windowId: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.
DeleteMaintenanceWindowResponse' | |
|
Instances
Eq DeleteMaintenanceWindowResponse Source # | |
Read DeleteMaintenanceWindowResponse Source # | |
Show DeleteMaintenanceWindowResponse Source # | |
Defined in Amazonka.SSM.DeleteMaintenanceWindow | |
Generic DeleteMaintenanceWindowResponse Source # | |
NFData DeleteMaintenanceWindowResponse Source # | |
Defined in Amazonka.SSM.DeleteMaintenanceWindow rnf :: DeleteMaintenanceWindowResponse -> () # | |
type Rep DeleteMaintenanceWindowResponse Source # | |
Defined in Amazonka.SSM.DeleteMaintenanceWindow type Rep DeleteMaintenanceWindowResponse = D1 ('MetaData "DeleteMaintenanceWindowResponse" "Amazonka.SSM.DeleteMaintenanceWindow" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "DeleteMaintenanceWindowResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "windowId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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:
$sel:windowId: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.