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 |
Synopsis
- data InstanceStatusEvent = InstanceStatusEvent' {}
- newInstanceStatusEvent :: InstanceStatusEvent
- instanceStatusEvent_code :: Lens' InstanceStatusEvent (Maybe EventCode)
- instanceStatusEvent_description :: Lens' InstanceStatusEvent (Maybe Text)
- instanceStatusEvent_instanceEventId :: Lens' InstanceStatusEvent (Maybe Text)
- instanceStatusEvent_notAfter :: Lens' InstanceStatusEvent (Maybe UTCTime)
- instanceStatusEvent_notBefore :: Lens' InstanceStatusEvent (Maybe UTCTime)
- instanceStatusEvent_notBeforeDeadline :: Lens' InstanceStatusEvent (Maybe UTCTime)
Documentation
data InstanceStatusEvent Source #
Describes a scheduled event for an instance.
See: newInstanceStatusEvent
smart constructor.
InstanceStatusEvent' | |
|
Instances
newInstanceStatusEvent :: InstanceStatusEvent Source #
Create a value of InstanceStatusEvent
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:code:InstanceStatusEvent'
, instanceStatusEvent_code
- The event code.
$sel:description:InstanceStatusEvent'
, instanceStatusEvent_description
- A description of the event.
After a scheduled event is completed, it can still be described for up to a week. If the event has been completed, this description starts with the following text: [Completed].
$sel:instanceEventId:InstanceStatusEvent'
, instanceStatusEvent_instanceEventId
- The ID of the event.
$sel:notAfter:InstanceStatusEvent'
, instanceStatusEvent_notAfter
- The latest scheduled end time for the event.
$sel:notBefore:InstanceStatusEvent'
, instanceStatusEvent_notBefore
- The earliest scheduled start time for the event.
$sel:notBeforeDeadline:InstanceStatusEvent'
, instanceStatusEvent_notBeforeDeadline
- The deadline for starting the event.
instanceStatusEvent_code :: Lens' InstanceStatusEvent (Maybe EventCode) Source #
The event code.
instanceStatusEvent_description :: Lens' InstanceStatusEvent (Maybe Text) Source #
A description of the event.
After a scheduled event is completed, it can still be described for up to a week. If the event has been completed, this description starts with the following text: [Completed].
instanceStatusEvent_instanceEventId :: Lens' InstanceStatusEvent (Maybe Text) Source #
The ID of the event.
instanceStatusEvent_notAfter :: Lens' InstanceStatusEvent (Maybe UTCTime) Source #
The latest scheduled end time for the event.
instanceStatusEvent_notBefore :: Lens' InstanceStatusEvent (Maybe UTCTime) Source #
The earliest scheduled start time for the event.
instanceStatusEvent_notBeforeDeadline :: Lens' InstanceStatusEvent (Maybe UTCTime) Source #
The deadline for starting the event.