libZSservicesZSamazonka-elasticacheZSamazonka-elasticache
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.ElastiCache.Types.Event

Description

 
Synopsis

Documentation

data Event Source #

Represents a single occurrence of something interesting within the system. Some examples of events are creating a cluster, adding or removing a cache node, or rebooting a node.

See: newEvent smart constructor.

Constructors

Event' 

Fields

Instances

Instances details
Eq Event Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Event

Methods

(==) :: Event -> Event -> Bool #

(/=) :: Event -> Event -> Bool #

Read Event Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Event

Show Event Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Event

Methods

showsPrec :: Int -> Event -> ShowS #

show :: Event -> String #

showList :: [Event] -> ShowS #

Generic Event Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Event

Associated Types

type Rep Event :: Type -> Type #

Methods

from :: Event -> Rep Event x #

to :: Rep Event x -> Event #

NFData Event Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Event

Methods

rnf :: Event -> () #

Hashable Event Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Event

Methods

hashWithSalt :: Int -> Event -> Int #

hash :: Event -> Int #

FromXML Event Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Event

Methods

parseXML :: [Node] -> Either String Event #

type Rep Event Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Event

type Rep Event = D1 ('MetaData "Event" "Amazonka.ElastiCache.Types.Event" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "Event'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SourceType)) :*: S1 ('MetaSel ('Just "sourceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "date") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newEvent :: Event Source #

Create a value of Event 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:sourceType:Event', event_sourceType - Specifies the origin of this event - a cluster, a parameter group, a security group, etc.

$sel:sourceIdentifier:Event', event_sourceIdentifier - The identifier for the source of the event. For example, if the event occurred at the cluster level, the identifier would be the name of the cluster.

$sel:date:Event', event_date - The date and time when the event occurred.

$sel:message:Event', event_message - The text of the event.

event_sourceType :: Lens' Event (Maybe SourceType) Source #

Specifies the origin of this event - a cluster, a parameter group, a security group, etc.

event_sourceIdentifier :: Lens' Event (Maybe Text) Source #

The identifier for the source of the event. For example, if the event occurred at the cluster level, the identifier would be the name of the cluster.

event_date :: Lens' Event (Maybe UTCTime) Source #

The date and time when the event occurred.

event_message :: Lens' Event (Maybe Text) Source #

The text of the event.