amazonka-dataexchange-2.0: Amazon Data Exchange SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DataExchange.Types.EventActionEntry

Description

 
Synopsis

Documentation

data EventActionEntry Source #

An event action is an object that defines the relationship between a specific event and an automated action that will be taken on behalf of the customer.

See: newEventActionEntry smart constructor.

Constructors

EventActionEntry' 

Fields

  • action :: Action

    What occurs after a certain event.

  • arn :: Text

    The Amazon Resource Name (ARN) for the event action.

  • createdAt :: ISO8601

    The date and time that the event action was created, in ISO 8601 format.

  • event :: Event

    What occurs to start an action.

  • id :: Text

    The unique identifier for the event action.

  • updatedAt :: ISO8601

    The date and time that the event action was last updated, in ISO 8601 format.

Instances

Instances details
FromJSON EventActionEntry Source # 
Instance details

Defined in Amazonka.DataExchange.Types.EventActionEntry

Generic EventActionEntry Source # 
Instance details

Defined in Amazonka.DataExchange.Types.EventActionEntry

Associated Types

type Rep EventActionEntry :: Type -> Type #

Read EventActionEntry Source # 
Instance details

Defined in Amazonka.DataExchange.Types.EventActionEntry

Show EventActionEntry Source # 
Instance details

Defined in Amazonka.DataExchange.Types.EventActionEntry

NFData EventActionEntry Source # 
Instance details

Defined in Amazonka.DataExchange.Types.EventActionEntry

Methods

rnf :: EventActionEntry -> () #

Eq EventActionEntry Source # 
Instance details

Defined in Amazonka.DataExchange.Types.EventActionEntry

Hashable EventActionEntry Source # 
Instance details

Defined in Amazonka.DataExchange.Types.EventActionEntry

type Rep EventActionEntry Source # 
Instance details

Defined in Amazonka.DataExchange.Types.EventActionEntry

type Rep EventActionEntry = D1 ('MetaData "EventActionEntry" "Amazonka.DataExchange.Types.EventActionEntry" "amazonka-dataexchange-2.0-E9wmOad6xSxAaT3Y4FNlvY" 'False) (C1 ('MetaCons "EventActionEntry'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Action) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601))) :*: (S1 ('MetaSel ('Just "event") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Event) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601)))))

newEventActionEntry Source #

Create a value of EventActionEntry 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:action:EventActionEntry', eventActionEntry_action - What occurs after a certain event.

$sel:arn:EventActionEntry', eventActionEntry_arn - The Amazon Resource Name (ARN) for the event action.

$sel:createdAt:EventActionEntry', eventActionEntry_createdAt - The date and time that the event action was created, in ISO 8601 format.

$sel:event:EventActionEntry', eventActionEntry_event - What occurs to start an action.

$sel:id:EventActionEntry', eventActionEntry_id - The unique identifier for the event action.

$sel:updatedAt:EventActionEntry', eventActionEntry_updatedAt - The date and time that the event action was last updated, in ISO 8601 format.

eventActionEntry_action :: Lens' EventActionEntry Action Source #

What occurs after a certain event.

eventActionEntry_arn :: Lens' EventActionEntry Text Source #

The Amazon Resource Name (ARN) for the event action.

eventActionEntry_createdAt :: Lens' EventActionEntry UTCTime Source #

The date and time that the event action was created, in ISO 8601 format.

eventActionEntry_event :: Lens' EventActionEntry Event Source #

What occurs to start an action.

eventActionEntry_id :: Lens' EventActionEntry Text Source #

The unique identifier for the event action.

eventActionEntry_updatedAt :: Lens' EventActionEntry UTCTime Source #

The date and time that the event action was last updated, in ISO 8601 format.