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' {
- sourceType :: Maybe SourceType
- sourceArn :: Maybe Text
- sourceIdentifier :: Maybe Text
- date :: Maybe ISO8601
- eventCategories :: Maybe [Text]
- message :: Maybe Text
- newEvent :: Event
- event_sourceType :: Lens' Event (Maybe SourceType)
- event_sourceArn :: 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)
Documentation
This data type is used as a response element in the DescribeEvents
action.
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
- Specifies the source type for this event.
$sel:sourceArn:Event'
, event_sourceArn
- The Amazon Resource Name (ARN) for the event.
$sel:sourceIdentifier:Event'
, event_sourceIdentifier
- Provides the identifier for the source of the event.
$sel:date:Event'
, event_date
- Specifies the date and time of the event.
$sel:eventCategories:Event'
, event_eventCategories
- Specifies the category for the event.
$sel:message:Event'
, event_message
- Provides the text of this event.
event_sourceType :: Lens' Event (Maybe SourceType) Source #
Specifies the source type for this event.