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
Documentation
data ServiceEvent Source #
The details for an event that's associated with a service.
See: newServiceEvent
smart constructor.
Instances
newServiceEvent :: ServiceEvent Source #
Create a value of ServiceEvent
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:createdAt:ServiceEvent'
, serviceEvent_createdAt
- The Unix timestamp for the time when the event was triggered.
$sel:id:ServiceEvent'
, serviceEvent_id
- The ID string for the event.
$sel:message:ServiceEvent'
, serviceEvent_message
- The event message.
serviceEvent_createdAt :: Lens' ServiceEvent (Maybe UTCTime) Source #
The Unix timestamp for the time when the event was triggered.
serviceEvent_id :: Lens' ServiceEvent (Maybe Text) Source #
The ID string for the event.
serviceEvent_message :: Lens' ServiceEvent (Maybe Text) Source #
The event message.