ScheduleActivityTaskFailedEventAttributes

public struct ScheduleActivityTaskFailedEventAttributes : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The activityId provided in the ScheduleActivityTask decision that failed.

    Declaration

    Swift

    public let activityId: String
  • The activity type provided in the ScheduleActivityTask decision that failed.

    Declaration

    Swift

    public let activityType: ActivityType
  • 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.

    Declaration

    Swift

    public let cause: ScheduleActivityTaskFailedCause
  • 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.

    Declaration

    Swift

    public let decisionTaskCompletedEventId: Int64
  • Undocumented

    Declaration

    Swift

    public init(activityId: String, activityType: ActivityType, cause: ScheduleActivityTaskFailedCause, decisionTaskCompletedEventId: Int64)