amazonka-lightsail-2.0: Amazon Lightsail SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Lightsail.Types.LogEvent

Description

 
Synopsis

Documentation

data LogEvent Source #

Describes a database log event.

See: newLogEvent smart constructor.

Constructors

LogEvent' 

Fields

Instances

Instances details
FromJSON LogEvent Source # 
Instance details

Defined in Amazonka.Lightsail.Types.LogEvent

Generic LogEvent Source # 
Instance details

Defined in Amazonka.Lightsail.Types.LogEvent

Associated Types

type Rep LogEvent :: Type -> Type #

Methods

from :: LogEvent -> Rep LogEvent x #

to :: Rep LogEvent x -> LogEvent #

Read LogEvent Source # 
Instance details

Defined in Amazonka.Lightsail.Types.LogEvent

Show LogEvent Source # 
Instance details

Defined in Amazonka.Lightsail.Types.LogEvent

NFData LogEvent Source # 
Instance details

Defined in Amazonka.Lightsail.Types.LogEvent

Methods

rnf :: LogEvent -> () #

Eq LogEvent Source # 
Instance details

Defined in Amazonka.Lightsail.Types.LogEvent

Hashable LogEvent Source # 
Instance details

Defined in Amazonka.Lightsail.Types.LogEvent

Methods

hashWithSalt :: Int -> LogEvent -> Int #

hash :: LogEvent -> Int #

type Rep LogEvent Source # 
Instance details

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.

logEvent_createdAt :: Lens' LogEvent (Maybe UTCTime) Source #

The timestamp when the database log event was created.

logEvent_message :: Lens' LogEvent (Maybe Text) Source #

The message of the database log event.