{
"type": "object",
"required": [
"id",
"name",
"cause",
"decisionTaskCompletedEventId"
],
"properties": {
"id": {
"allOf": [
{
"$ref": "#/components/schemas/FunctionId"
},
{
"description": "The ID provided in the ScheduleLambdaFunction decision that failed. "
}
]
},
"name": {
"allOf": [
{
"$ref": "#/components/schemas/FunctionName"
},
{
"description": "The name of the Lambda function."
}
]
},
"cause": {
"allOf": [
{
"$ref": "#/components/schemas/ScheduleLambdaFunctionFailedCause"
},
{
"description": "
The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
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.
LambdaFunctionCompleted event corresponding to the decision that resulted in scheduling this Lambda task. To help diagnose issues, use this information to trace back the chain of events leading up to this event."
}
]
}
},
"description": "Provides the details of the ScheduleLambdaFunctionFailed event. It isn't set for other event types.",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "ScheduleLambdaFunctionFailedEventAttributes"
}