ScheduleActivityTaskFailedEventAttributes

Provides the details of the ScheduleActivityTaskFailed event.

AutomationTask CoordinationWorkflow

Properties

Name Type Description
activityType object
activityId object
cause object
decisionTaskCompletedEventId object
View JSON Schema on GitHub

JSON Schema

amazon-swf-scheduleactivitytaskfailedeventattributes-schema.json Raw ↑
{
  "type": "object",
  "required": [
    "activityType",
    "activityId",
    "cause",
    "decisionTaskCompletedEventId"
  ],
  "properties": {
    "activityType": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ActivityType"
        },
        {
          "description": "The activity type provided in the <code>ScheduleActivityTask</code> decision that failed."
        }
      ]
    },
    "activityId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ActivityId"
        },
        {
          "description": "The activityId provided in the <code>ScheduleActivityTask</code> decision that failed."
        }
      ]
    },
    "cause": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ScheduleActivityTaskFailedCause"
        },
        {
          "description": "<p>The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.</p> <note> <p>If <code>cause</code> is set to <code>OPERATION_NOT_PERMITTED</code>, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p> </note>"
        }
      ]
    },
    "decisionTaskCompletedEventId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/EventId"
        },
        {
          "description": "The ID of the <code>DecisionTaskCompleted</code> 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."
        }
      ]
    }
  },
  "description": "Provides the details of the <code>ScheduleActivityTaskFailed</code> event.",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "ScheduleActivityTaskFailedEventAttributes"
}