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 |
Synopsis
- data Event = Event' {}
- newEvent :: Event
- event_sourceType :: Lens' Event (Maybe SourceType)
- event_severity :: Lens' Event (Maybe Text)
- event_sourceIdentifier :: Lens' Event (Maybe Text)
- event_date :: Lens' Event (Maybe UTCTime)
- event_eventCategories :: Lens' Event (Maybe [Text])
- event_message :: Lens' Event (Maybe Text)
- event_eventId :: Lens' Event (Maybe Text)
Documentation
Describes an event.
See: newEvent
smart constructor.
Event' | |
|
Instances
Create a value of Event
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:sourceType:Event'
, event_sourceType
- The source type for this event.
$sel:severity:Event'
, event_severity
- The severity of the event.
Values: ERROR, INFO
$sel:sourceIdentifier:Event'
, event_sourceIdentifier
- The identifier for the source of the event.
$sel:date:Event'
, event_date
- The date and time of the event.
$sel:eventCategories:Event'
, event_eventCategories
- A list of the event categories.
Values: Configuration, Management, Monitoring, Security, Pending
$sel:message:Event'
, event_message
- The text of this event.
$sel:eventId:Event'
, event_eventId
- The identifier of the event.
event_sourceType :: Lens' Event (Maybe SourceType) Source #
The source type for this event.
event_sourceIdentifier :: Lens' Event (Maybe Text) Source #
The identifier for the source of the event.