libZSservicesZSamazonka-lightsailZSamazonka-lightsail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq LogEvent Source # 
Instance details

Defined in Amazonka.Lightsail.Types.LogEvent

Read LogEvent Source # 
Instance details

Defined in Amazonka.Lightsail.Types.LogEvent

Show 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 #

NFData LogEvent Source # 
Instance details

Defined in Amazonka.Lightsail.Types.LogEvent

Methods

rnf :: LogEvent -> () #

Hashable LogEvent Source # 
Instance details

Defined in Amazonka.Lightsail.Types.LogEvent

Methods

hashWithSalt :: Int -> LogEvent -> Int #

hash :: LogEvent -> Int #

FromJSON LogEvent Source # 
Instance details

Defined in Amazonka.Lightsail.Types.LogEvent

type Rep LogEvent Source # 
Instance details

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.

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.