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.RelationalDatabaseEvent

Description

 
Synopsis

Documentation

data RelationalDatabaseEvent Source #

Describes an event for a database.

See: newRelationalDatabaseEvent smart constructor.

Constructors

RelationalDatabaseEvent' 

Fields

Instances

Instances details
Eq RelationalDatabaseEvent Source # 
Instance details

Defined in Amazonka.Lightsail.Types.RelationalDatabaseEvent

Read RelationalDatabaseEvent Source # 
Instance details

Defined in Amazonka.Lightsail.Types.RelationalDatabaseEvent

Show RelationalDatabaseEvent Source # 
Instance details

Defined in Amazonka.Lightsail.Types.RelationalDatabaseEvent

Generic RelationalDatabaseEvent Source # 
Instance details

Defined in Amazonka.Lightsail.Types.RelationalDatabaseEvent

Associated Types

type Rep RelationalDatabaseEvent :: Type -> Type #

NFData RelationalDatabaseEvent Source # 
Instance details

Defined in Amazonka.Lightsail.Types.RelationalDatabaseEvent

Methods

rnf :: RelationalDatabaseEvent -> () #

Hashable RelationalDatabaseEvent Source # 
Instance details

Defined in Amazonka.Lightsail.Types.RelationalDatabaseEvent

FromJSON RelationalDatabaseEvent Source # 
Instance details

Defined in Amazonka.Lightsail.Types.RelationalDatabaseEvent

type Rep RelationalDatabaseEvent Source # 
Instance details

Defined in Amazonka.Lightsail.Types.RelationalDatabaseEvent

type Rep RelationalDatabaseEvent = D1 ('MetaData "RelationalDatabaseEvent" "Amazonka.Lightsail.Types.RelationalDatabaseEvent" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "RelationalDatabaseEvent'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "eventCategories") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "resource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newRelationalDatabaseEvent :: RelationalDatabaseEvent Source #

Create a value of RelationalDatabaseEvent 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:RelationalDatabaseEvent', relationalDatabaseEvent_createdAt - The timestamp when the database event was created.

$sel:eventCategories:RelationalDatabaseEvent', relationalDatabaseEvent_eventCategories - The category that the database event belongs to.

$sel:resource:RelationalDatabaseEvent', relationalDatabaseEvent_resource - The database that the database event relates to.

$sel:message:RelationalDatabaseEvent', relationalDatabaseEvent_message - The message of the database event.

relationalDatabaseEvent_createdAt :: Lens' RelationalDatabaseEvent (Maybe UTCTime) Source #

The timestamp when the database event was created.

relationalDatabaseEvent_eventCategories :: Lens' RelationalDatabaseEvent (Maybe [Text]) Source #

The category that the database event belongs to.

relationalDatabaseEvent_resource :: Lens' RelationalDatabaseEvent (Maybe Text) Source #

The database that the database event relates to.