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
- sourceIdentifier :: Maybe Text
- date :: Maybe POSIX
- eventCategories :: Maybe [Text]
- message :: Maybe Text
- newEvent :: Event
- event_sourceType :: Lens' Event (Maybe SourceType)
- 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
Describes an identifiable significant activity that affects a replication instance or task. This object can provide the message, the available event categories, the date and source of the event, and the DMS resource type.
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 type of DMS resource that generates events.
Valid values: replication-instance | endpoint | replication-task
$sel:sourceIdentifier:Event'
, event_sourceIdentifier
- The identifier of an event source.
$sel:date:Event'
, event_date
- The date of the event.
$sel:eventCategories:Event'
, event_eventCategories
- The event categories available for the specified source type.
$sel:message:Event'
, event_message
- The event message.
event_sourceType :: Lens' Event (Maybe SourceType) Source #
The type of DMS resource that generates events.
Valid values: replication-instance | endpoint | replication-task