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 |
Documentation
Describes a database log event.
See: newLogEvent
smart constructor.
Instances
FromJSON LogEvent Source # | |
Generic LogEvent Source # | |
Read LogEvent Source # | |
Show LogEvent Source # | |
NFData LogEvent Source # | |
Defined in Amazonka.Lightsail.Types.LogEvent | |
Eq LogEvent Source # | |
Hashable LogEvent Source # | |
Defined in Amazonka.Lightsail.Types.LogEvent | |
type Rep LogEvent Source # | |
Defined in Amazonka.Lightsail.Types.LogEvent type Rep LogEvent = D1 ('MetaData "LogEvent" "Amazonka.Lightsail.Types.LogEvent" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "LogEvent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
newLogEvent :: LogEvent Source #
Create a value of LogEvent
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:LogEvent'
, logEvent_createdAt
- The timestamp when the database log event was created.
$sel:message:LogEvent'
, logEvent_message
- The message of the database log event.