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 |
Disassociates one or more targets from an event window.
For more information, see Define event windows for scheduled events in the Amazon EC2 User Guide.
Synopsis
- data DisassociateInstanceEventWindow = DisassociateInstanceEventWindow' {}
- newDisassociateInstanceEventWindow :: Text -> InstanceEventWindowDisassociationRequest -> DisassociateInstanceEventWindow
- disassociateInstanceEventWindow_dryRun :: Lens' DisassociateInstanceEventWindow (Maybe Bool)
- disassociateInstanceEventWindow_instanceEventWindowId :: Lens' DisassociateInstanceEventWindow Text
- disassociateInstanceEventWindow_associationTarget :: Lens' DisassociateInstanceEventWindow InstanceEventWindowDisassociationRequest
- data DisassociateInstanceEventWindowResponse = DisassociateInstanceEventWindowResponse' {}
- newDisassociateInstanceEventWindowResponse :: Int -> DisassociateInstanceEventWindowResponse
- disassociateInstanceEventWindowResponse_instanceEventWindow :: Lens' DisassociateInstanceEventWindowResponse (Maybe InstanceEventWindow)
- disassociateInstanceEventWindowResponse_httpStatus :: Lens' DisassociateInstanceEventWindowResponse Int
Creating a Request
data DisassociateInstanceEventWindow Source #
See: newDisassociateInstanceEventWindow
smart constructor.
DisassociateInstanceEventWindow' | |
|
Instances
newDisassociateInstanceEventWindow Source #
Create a value of DisassociateInstanceEventWindow
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:dryRun:DisassociateInstanceEventWindow'
, disassociateInstanceEventWindow_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
DisassociateInstanceEventWindow
, disassociateInstanceEventWindow_instanceEventWindowId
- The ID of the event window.
DisassociateInstanceEventWindow
, disassociateInstanceEventWindow_associationTarget
- One or more targets to disassociate from the specified event window.
Request Lenses
disassociateInstanceEventWindow_dryRun :: Lens' DisassociateInstanceEventWindow (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
disassociateInstanceEventWindow_instanceEventWindowId :: Lens' DisassociateInstanceEventWindow Text Source #
The ID of the event window.
disassociateInstanceEventWindow_associationTarget :: Lens' DisassociateInstanceEventWindow InstanceEventWindowDisassociationRequest Source #
One or more targets to disassociate from the specified event window.
Destructuring the Response
data DisassociateInstanceEventWindowResponse Source #
See: newDisassociateInstanceEventWindowResponse
smart constructor.
DisassociateInstanceEventWindowResponse' | |
|
Instances
newDisassociateInstanceEventWindowResponse Source #
Create a value of DisassociateInstanceEventWindowResponse
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:instanceEventWindow:DisassociateInstanceEventWindowResponse'
, disassociateInstanceEventWindowResponse_instanceEventWindow
- Information about the event window.
$sel:httpStatus:DisassociateInstanceEventWindowResponse'
, disassociateInstanceEventWindowResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateInstanceEventWindowResponse_instanceEventWindow :: Lens' DisassociateInstanceEventWindowResponse (Maybe InstanceEventWindow) Source #
Information about the event window.
disassociateInstanceEventWindowResponse_httpStatus :: Lens' DisassociateInstanceEventWindowResponse Int Source #
The response's http status code.