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

Description

 
Synopsis

Documentation

data ActivityTaskCanceledEventAttributes Source #

Provides the details of the ActivityTaskCanceled event.

See: newActivityTaskCanceledEventAttributes smart constructor.

Constructors

ActivityTaskCanceledEventAttributes' 

Fields

  • latestCancelRequestedEventId :: Maybe Integer

    If set, contains the ID of the last ActivityTaskCancelRequested event recorded for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

  • details :: Maybe Text

    Details of the cancellation.

  • 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 ActivityTaskCanceledEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ActivityTaskCanceledEventAttributes

Read ActivityTaskCanceledEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ActivityTaskCanceledEventAttributes

Show ActivityTaskCanceledEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ActivityTaskCanceledEventAttributes

Generic ActivityTaskCanceledEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ActivityTaskCanceledEventAttributes

NFData ActivityTaskCanceledEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ActivityTaskCanceledEventAttributes

Hashable ActivityTaskCanceledEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ActivityTaskCanceledEventAttributes

FromJSON ActivityTaskCanceledEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ActivityTaskCanceledEventAttributes

type Rep ActivityTaskCanceledEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ActivityTaskCanceledEventAttributes

type Rep ActivityTaskCanceledEventAttributes = D1 ('MetaData "ActivityTaskCanceledEventAttributes" "Amazonka.SWF.Types.ActivityTaskCanceledEventAttributes" "libZSservicesZSamazonka-swfZSamazonka-swf" 'False) (C1 ('MetaCons "ActivityTaskCanceledEventAttributes'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "latestCancelRequestedEventId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: 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))))

newActivityTaskCanceledEventAttributes Source #

Create a value of ActivityTaskCanceledEventAttributes 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:latestCancelRequestedEventId:ActivityTaskCanceledEventAttributes', activityTaskCanceledEventAttributes_latestCancelRequestedEventId - If set, contains the ID of the last ActivityTaskCancelRequested event recorded for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

$sel:details:ActivityTaskCanceledEventAttributes', activityTaskCanceledEventAttributes_details - Details of the cancellation.

$sel:scheduledEventId:ActivityTaskCanceledEventAttributes', activityTaskCanceledEventAttributes_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:ActivityTaskCanceledEventAttributes', activityTaskCanceledEventAttributes_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.

activityTaskCanceledEventAttributes_latestCancelRequestedEventId :: Lens' ActivityTaskCanceledEventAttributes (Maybe Integer) Source #

If set, contains the ID of the last ActivityTaskCancelRequested event recorded for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

activityTaskCanceledEventAttributes_scheduledEventId :: Lens' ActivityTaskCanceledEventAttributes 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.

activityTaskCanceledEventAttributes_startedEventId :: Lens' ActivityTaskCanceledEventAttributes 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.