| 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 |
Amazonka.DAX.Types.Event
Description
Synopsis
- data Event = Event' {
- date :: Maybe POSIX
- message :: Maybe Text
- sourceName :: Maybe Text
- sourceType :: Maybe SourceType
- newEvent :: Event
- event_date :: Lens' Event (Maybe UTCTime)
- event_message :: Lens' Event (Maybe Text)
- event_sourceName :: Lens' Event (Maybe Text)
- event_sourceType :: Lens' Event (Maybe SourceType)
Documentation
Represents a single occurrence of something interesting within the system. Some examples of events are creating a DAX cluster, adding or removing a node, or rebooting a node.
See: newEvent smart constructor.
Constructors
| Event' | |
Fields
| |
Instances
| FromJSON Event Source # | |
| Generic Event Source # | |
| Read Event Source # | |
| Show Event Source # | |
| NFData Event Source # | |
Defined in Amazonka.DAX.Types.Event | |
| Eq Event Source # | |
| Hashable Event Source # | |
Defined in Amazonka.DAX.Types.Event | |
| type Rep Event Source # | |
Defined in Amazonka.DAX.Types.Event type Rep Event = D1 ('MetaData "Event" "Amazonka.DAX.Types.Event" "amazonka-dynamodb-dax-2.0-FwsdPL1z9NS2dTys8oHQ2n" 'False) (C1 ('MetaCons "Event'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "date") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "sourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SourceType))))) | |
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:date:Event', event_date - The date and time when the event occurred.
$sel:message:Event', event_message - A user-defined message associated with the event.
$sel:sourceName:Event', event_sourceName - The source of the event. For example, if the event occurred at the node
level, the source would be the node ID.
$sel:sourceType:Event', event_sourceType - Specifies the origin of this event - a cluster, a parameter group, a
node ID, etc.
event_sourceName :: Lens' Event (Maybe Text) Source #
The source of the event. For example, if the event occurred at the node level, the source would be the node ID.
event_sourceType :: Lens' Event (Maybe SourceType) Source #
Specifies the origin of this event - a cluster, a parameter group, a node ID, etc.