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

Description

 
Synopsis

Documentation

data ScheduleActivityTaskFailedEventAttributes Source #

Provides the details of the ScheduleActivityTaskFailed event.

See: newScheduleActivityTaskFailedEventAttributes smart constructor.

Constructors

ScheduleActivityTaskFailedEventAttributes' 

Fields

  • activityType :: ActivityType

    The activity type provided in the ScheduleActivityTask decision that failed.

  • activityId :: Text

    The activityId provided in the ScheduleActivityTask decision that failed.

  • cause :: ScheduleActivityTaskFailedCause

    The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

    If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

  • decisionTaskCompletedEventId :: Integer

    The ID of the DecisionTaskCompleted event corresponding to the decision that resulted in the scheduling of 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 ScheduleActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ScheduleActivityTaskFailedEventAttributes

Read ScheduleActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ScheduleActivityTaskFailedEventAttributes

Show ScheduleActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ScheduleActivityTaskFailedEventAttributes

Generic ScheduleActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ScheduleActivityTaskFailedEventAttributes

NFData ScheduleActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ScheduleActivityTaskFailedEventAttributes

Hashable ScheduleActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ScheduleActivityTaskFailedEventAttributes

FromJSON ScheduleActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ScheduleActivityTaskFailedEventAttributes

type Rep ScheduleActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ScheduleActivityTaskFailedEventAttributes

type Rep ScheduleActivityTaskFailedEventAttributes = D1 ('MetaData "ScheduleActivityTaskFailedEventAttributes" "Amazonka.SWF.Types.ScheduleActivityTaskFailedEventAttributes" "libZSservicesZSamazonka-swfZSamazonka-swf" 'False) (C1 ('MetaCons "ScheduleActivityTaskFailedEventAttributes'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "activityType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ActivityType) :*: S1 ('MetaSel ('Just "activityId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "cause") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ScheduleActivityTaskFailedCause) :*: S1 ('MetaSel ('Just "decisionTaskCompletedEventId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer))))

newScheduleActivityTaskFailedEventAttributes Source #

Create a value of ScheduleActivityTaskFailedEventAttributes 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:activityType:ScheduleActivityTaskFailedEventAttributes', scheduleActivityTaskFailedEventAttributes_activityType - The activity type provided in the ScheduleActivityTask decision that failed.

$sel:activityId:ScheduleActivityTaskFailedEventAttributes', scheduleActivityTaskFailedEventAttributes_activityId - The activityId provided in the ScheduleActivityTask decision that failed.

$sel:cause:ScheduleActivityTaskFailedEventAttributes', scheduleActivityTaskFailedEventAttributes_cause - The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

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

scheduleActivityTaskFailedEventAttributes_activityType :: Lens' ScheduleActivityTaskFailedEventAttributes ActivityType Source #

The activity type provided in the ScheduleActivityTask decision that failed.

scheduleActivityTaskFailedEventAttributes_activityId :: Lens' ScheduleActivityTaskFailedEventAttributes Text Source #

The activityId provided in the ScheduleActivityTask decision that failed.

scheduleActivityTaskFailedEventAttributes_cause :: Lens' ScheduleActivityTaskFailedEventAttributes ScheduleActivityTaskFailedCause Source #

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

scheduleActivityTaskFailedEventAttributes_decisionTaskCompletedEventId :: Lens' ScheduleActivityTaskFailedEventAttributes Integer Source #

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