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 |
Documentation
Describes a database log event.
See: newLogEvent
smart constructor.
Instances
Eq LogEvent Source # | |
Read LogEvent Source # | |
Show LogEvent Source # | |
Generic LogEvent Source # | |
NFData LogEvent Source # | |
Defined in Amazonka.Lightsail.Types.LogEvent | |
Hashable LogEvent Source # | |
Defined in Amazonka.Lightsail.Types.LogEvent | |
FromJSON LogEvent Source # | |
type Rep LogEvent Source # | |
Defined in Amazonka.Lightsail.Types.LogEvent type Rep LogEvent = D1 ('MetaData "LogEvent" "Amazonka.Lightsail.Types.LogEvent" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" '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.