libZSservicesZSamazonka-dmsZSamazonka-dms
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.DMS.Types.Event

Description

 
Synopsis

Documentation

data Event Source #

Describes an identifiable significant activity that affects a replication instance or task. This object can provide the message, the available event categories, the date and source of the event, and the DMS resource type.

See: newEvent smart constructor.

Constructors

Event' 

Fields

Instances

Instances details
Eq Event Source # 
Instance details

Defined in Amazonka.DMS.Types.Event

Methods

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

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

Read Event Source # 
Instance details

Defined in Amazonka.DMS.Types.Event

Show Event Source # 
Instance details

Defined in Amazonka.DMS.Types.Event

Methods

showsPrec :: Int -> Event -> ShowS #

show :: Event -> String #

showList :: [Event] -> ShowS #

Generic Event Source # 
Instance details

Defined in Amazonka.DMS.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.DMS.Types.Event

Methods

rnf :: Event -> () #

Hashable Event Source # 
Instance details

Defined in Amazonka.DMS.Types.Event

Methods

hashWithSalt :: Int -> Event -> Int #

hash :: Event -> Int #

FromJSON Event Source # 
Instance details

Defined in Amazonka.DMS.Types.Event

type Rep Event Source # 
Instance details

Defined in Amazonka.DMS.Types.Event

type Rep Event = D1 ('MetaData "Event" "Amazonka.DMS.Types.Event" "libZSservicesZSamazonka-dmsZSamazonka-dms" '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 POSIX)) :*: (S1 ('MetaSel ('Just "eventCategories") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: 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 - The type of DMS resource that generates events.

Valid values: replication-instance | endpoint | replication-task

$sel:sourceIdentifier:Event', event_sourceIdentifier - The identifier of an event source.

$sel:date:Event', event_date - The date of the event.

$sel:eventCategories:Event', event_eventCategories - The event categories available for the specified source type.

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

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

The type of DMS resource that generates events.

Valid values: replication-instance | endpoint | replication-task

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

The identifier of an event source.

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

The date of the event.

event_eventCategories :: Lens' Event (Maybe [Text]) Source #

The event categories available for the specified source type.

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

The event message.