libZSservicesZSamazonka-swfZSamazonka-swf
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.SWF.Types.TimerStartedEventAttributes

Description

 
Synopsis

Documentation

data TimerStartedEventAttributes Source #

Provides the details of the TimerStarted event.

See: newTimerStartedEventAttributes smart constructor.

Constructors

TimerStartedEventAttributes' 

Fields

  • control :: Maybe Text

    Data attached to the event that can be used by the decider in subsequent workflow tasks.

  • timerId :: Text

    The unique ID of the timer that was started.

  • startToFireTimeout :: Text

    The duration of time after which the timer fires.

    The duration is specified in seconds, an integer greater than or equal to 0.

  • decisionTaskCompletedEventId :: Integer

    The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartTimer decision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

Instances

Instances details
Eq TimerStartedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.TimerStartedEventAttributes

Read TimerStartedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.TimerStartedEventAttributes

Show TimerStartedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.TimerStartedEventAttributes

Generic TimerStartedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.TimerStartedEventAttributes

Associated Types

type Rep TimerStartedEventAttributes :: Type -> Type #

NFData TimerStartedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.TimerStartedEventAttributes

Hashable TimerStartedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.TimerStartedEventAttributes

FromJSON TimerStartedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.TimerStartedEventAttributes

type Rep TimerStartedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.TimerStartedEventAttributes

type Rep TimerStartedEventAttributes = D1 ('MetaData "TimerStartedEventAttributes" "Amazonka.SWF.Types.TimerStartedEventAttributes" "libZSservicesZSamazonka-swfZSamazonka-swf" 'False) (C1 ('MetaCons "TimerStartedEventAttributes'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "control") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "timerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "startToFireTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "decisionTaskCompletedEventId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer))))

newTimerStartedEventAttributes Source #

Create a value of TimerStartedEventAttributes 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:control:TimerStartedEventAttributes', timerStartedEventAttributes_control - Data attached to the event that can be used by the decider in subsequent workflow tasks.

$sel:timerId:TimerStartedEventAttributes', timerStartedEventAttributes_timerId - The unique ID of the timer that was started.

$sel:startToFireTimeout:TimerStartedEventAttributes', timerStartedEventAttributes_startToFireTimeout - The duration of time after which the timer fires.

The duration is specified in seconds, an integer greater than or equal to 0.

$sel:decisionTaskCompletedEventId:TimerStartedEventAttributes', timerStartedEventAttributes_decisionTaskCompletedEventId - The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartTimer decision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

timerStartedEventAttributes_control :: Lens' TimerStartedEventAttributes (Maybe Text) Source #

Data attached to the event that can be used by the decider in subsequent workflow tasks.

timerStartedEventAttributes_timerId :: Lens' TimerStartedEventAttributes Text Source #

The unique ID of the timer that was started.

timerStartedEventAttributes_startToFireTimeout :: Lens' TimerStartedEventAttributes Text Source #

The duration of time after which the timer fires.

The duration is specified in seconds, an integer greater than or equal to 0.

timerStartedEventAttributes_decisionTaskCompletedEventId :: Lens' TimerStartedEventAttributes Integer Source #

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartTimer decision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.