libZSservicesZSamazonka-dlmZSamazonka-dlm
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.DLM.Types.EventSource

Description

 
Synopsis

Documentation

data EventSource Source #

Specifies an event that triggers an event-based policy.

See: newEventSource smart constructor.

Constructors

EventSource' 

Fields

Instances

Instances details
Eq EventSource Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSource

Read EventSource Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSource

Show EventSource Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSource

Generic EventSource Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSource

Associated Types

type Rep EventSource :: Type -> Type #

NFData EventSource Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSource

Methods

rnf :: EventSource -> () #

Hashable EventSource Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSource

ToJSON EventSource Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSource

FromJSON EventSource Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSource

type Rep EventSource Source # 
Instance details

Defined in Amazonka.DLM.Types.EventSource

type Rep EventSource = D1 ('MetaData "EventSource" "Amazonka.DLM.Types.EventSource" "libZSservicesZSamazonka-dlmZSamazonka-dlm" 'False) (C1 ('MetaCons "EventSource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventParameters)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EventSourceValues)))

newEventSource Source #

Create a value of EventSource 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:parameters:EventSource', eventSource_parameters - Information about the event.

$sel:type':EventSource', eventSource_type - The source of the event. Currently only managed CloudWatch Events rules are supported.

eventSource_type :: Lens' EventSource EventSourceValues Source #

The source of the event. Currently only managed CloudWatch Events rules are supported.