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.ActivityTaskFailedEventAttributes

Description

 
Synopsis

Documentation

data ActivityTaskFailedEventAttributes Source #

Provides the details of the ActivityTaskFailed event.

See: newActivityTaskFailedEventAttributes smart constructor.

Constructors

ActivityTaskFailedEventAttributes' 

Fields

  • reason :: Maybe Text

    The reason provided for the failure.

  • details :: Maybe Text

    The details of 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
Eq ActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ActivityTaskFailedEventAttributes

Read ActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ActivityTaskFailedEventAttributes

Show 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 #

NFData ActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ActivityTaskFailedEventAttributes

Hashable ActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ActivityTaskFailedEventAttributes

FromJSON 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" "libZSservicesZSamazonka-swfZSamazonka-swf" 'False) (C1 ('MetaCons "ActivityTaskFailedEventAttributes'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "details") '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:reason:ActivityTaskFailedEventAttributes', activityTaskFailedEventAttributes_reason - The reason provided for the failure.

$sel:details:ActivityTaskFailedEventAttributes', activityTaskFailedEventAttributes_details - The details of 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.