amazonka-swf-2.0: Amazon Simple Workflow Service 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.SWF.Types.ActivityTaskFailedEventAttributes

Description

 
Synopsis

Documentation

data ActivityTaskFailedEventAttributes Source #

Provides the details of the ActivityTaskFailed event.

See: newActivityTaskFailedEventAttributes smart constructor.

Constructors

ActivityTaskFailedEventAttributes' 

Fields

  • details :: Maybe Text

    The details of the failure.

  • reason :: Maybe Text

    The reason provided for the failure.

  • scheduledEventId :: Integer

    The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

  • startedEventId :: Integer

    The ID of the ActivityTaskStarted event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

Instances

Instances details
FromJSON ActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ActivityTaskFailedEventAttributes

Generic ActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ActivityTaskFailedEventAttributes

Associated Types

type Rep ActivityTaskFailedEventAttributes :: Type -> Type #

Read ActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ActivityTaskFailedEventAttributes

Show ActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ActivityTaskFailedEventAttributes

NFData ActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ActivityTaskFailedEventAttributes

Eq ActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ActivityTaskFailedEventAttributes

Hashable ActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ActivityTaskFailedEventAttributes

type Rep ActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ActivityTaskFailedEventAttributes

type Rep ActivityTaskFailedEventAttributes = D1 ('MetaData "ActivityTaskFailedEventAttributes" "Amazonka.SWF.Types.ActivityTaskFailedEventAttributes" "amazonka-swf-2.0-DdTBZQl9wbxDbv1sov8BbM" 'False) (C1 ('MetaCons "ActivityTaskFailedEventAttributes'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "details") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "scheduledEventId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer) :*: S1 ('MetaSel ('Just "startedEventId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer))))

newActivityTaskFailedEventAttributes Source #

Create a value of ActivityTaskFailedEventAttributes 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:details:ActivityTaskFailedEventAttributes', activityTaskFailedEventAttributes_details - The details of the failure.

$sel:reason:ActivityTaskFailedEventAttributes', activityTaskFailedEventAttributes_reason - The reason provided for the failure.

$sel:scheduledEventId:ActivityTaskFailedEventAttributes', activityTaskFailedEventAttributes_scheduledEventId - The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

$sel:startedEventId:ActivityTaskFailedEventAttributes', activityTaskFailedEventAttributes_startedEventId - The ID of the ActivityTaskStarted event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

activityTaskFailedEventAttributes_scheduledEventId :: Lens' ActivityTaskFailedEventAttributes Integer Source #

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

activityTaskFailedEventAttributes_startedEventId :: Lens' ActivityTaskFailedEventAttributes Integer Source #

The ID of the ActivityTaskStarted event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.