|
1 | 1 | { |
| 2 | + "version":"2.0", |
2 | 3 | "metadata":{ |
3 | 4 | "apiVersion":"2012-01-25", |
4 | 5 | "endpointPrefix":"swf", |
|
833 | 834 | "nextPageToken":{"shape":"PageToken"} |
834 | 835 | } |
835 | 836 | }, |
| 837 | + "Arn":{ |
| 838 | + "type":"string", |
| 839 | + "min":1, |
| 840 | + "max":1224 |
| 841 | + }, |
836 | 842 | "CancelTimerDecisionAttributes":{ |
837 | 843 | "type":"structure", |
838 | 844 | "required":["timerId"], |
|
885 | 891 | } |
886 | 892 | }, |
887 | 893 | "Canceled":{"type":"boolean"}, |
| 894 | + "CauseMessage":{ |
| 895 | + "type":"string", |
| 896 | + "max":1728 |
| 897 | + }, |
888 | 898 | "ChildPolicy":{ |
889 | 899 | "type":"string", |
890 | 900 | "enum":[ |
|
1039 | 1049 | "taskStartToCloseTimeout":{"shape":"DurationInSecondsOptional"}, |
1040 | 1050 | "childPolicy":{"shape":"ChildPolicy"}, |
1041 | 1051 | "tagList":{"shape":"TagList"}, |
1042 | | - "workflowTypeVersion":{"shape":"Version"} |
| 1052 | + "workflowTypeVersion":{"shape":"Version"}, |
| 1053 | + "lambdaRole":{"shape":"Arn"} |
1043 | 1054 | } |
1044 | 1055 | }, |
1045 | 1056 | "ContinueAsNewWorkflowExecutionFailedCause":{ |
|
1140 | 1151 | "cancelTimerDecisionAttributes":{"shape":"CancelTimerDecisionAttributes"}, |
1141 | 1152 | "signalExternalWorkflowExecutionDecisionAttributes":{"shape":"SignalExternalWorkflowExecutionDecisionAttributes"}, |
1142 | 1153 | "requestCancelExternalWorkflowExecutionDecisionAttributes":{"shape":"RequestCancelExternalWorkflowExecutionDecisionAttributes"}, |
1143 | | - "startChildWorkflowExecutionDecisionAttributes":{"shape":"StartChildWorkflowExecutionDecisionAttributes"} |
| 1154 | + "startChildWorkflowExecutionDecisionAttributes":{"shape":"StartChildWorkflowExecutionDecisionAttributes"}, |
| 1155 | + "scheduleLambdaFunctionDecisionAttributes":{"shape":"ScheduleLambdaFunctionDecisionAttributes"} |
1144 | 1156 | } |
1145 | 1157 | }, |
1146 | 1158 | "DecisionList":{ |
|
1226 | 1238 | "CancelTimer", |
1227 | 1239 | "SignalExternalWorkflowExecution", |
1228 | 1240 | "RequestCancelExternalWorkflowExecution", |
1229 | | - "StartChildWorkflowExecution" |
| 1241 | + "StartChildWorkflowExecution", |
| 1242 | + "ScheduleLambdaFunction" |
1230 | 1243 | ] |
1231 | 1244 | }, |
1232 | 1245 | "DefaultUndefinedFault":{ |
|
1435 | 1448 | "ExternalWorkflowExecutionSignaled", |
1436 | 1449 | "RequestCancelExternalWorkflowExecutionInitiated", |
1437 | 1450 | "RequestCancelExternalWorkflowExecutionFailed", |
1438 | | - "ExternalWorkflowExecutionCancelRequested" |
| 1451 | + "ExternalWorkflowExecutionCancelRequested", |
| 1452 | + "LambdaFunctionScheduled", |
| 1453 | + "LambdaFunctionStarted", |
| 1454 | + "LambdaFunctionCompleted", |
| 1455 | + "LambdaFunctionFailed", |
| 1456 | + "LambdaFunctionTimedOut", |
| 1457 | + "ScheduleLambdaFunctionFailed", |
| 1458 | + "StartLambdaFunctionFailed" |
1439 | 1459 | ] |
1440 | 1460 | }, |
1441 | 1461 | "ExecutionStatus":{ |
|
1504 | 1524 | "type":"string", |
1505 | 1525 | "max":256 |
1506 | 1526 | }, |
| 1527 | + "FunctionId":{ |
| 1528 | + "type":"string", |
| 1529 | + "min":1, |
| 1530 | + "max":256 |
| 1531 | + }, |
| 1532 | + "FunctionInput":{ |
| 1533 | + "type":"string", |
| 1534 | + "min":1, |
| 1535 | + "max":32768 |
| 1536 | + }, |
| 1537 | + "FunctionName":{ |
| 1538 | + "type":"string", |
| 1539 | + "min":1, |
| 1540 | + "max":64 |
| 1541 | + }, |
1507 | 1542 | "GetWorkflowExecutionHistoryInput":{ |
1508 | 1543 | "type":"structure", |
1509 | 1544 | "required":[ |
|
1583 | 1618 | "requestCancelActivityTaskFailedEventAttributes":{"shape":"RequestCancelActivityTaskFailedEventAttributes"}, |
1584 | 1619 | "startTimerFailedEventAttributes":{"shape":"StartTimerFailedEventAttributes"}, |
1585 | 1620 | "cancelTimerFailedEventAttributes":{"shape":"CancelTimerFailedEventAttributes"}, |
1586 | | - "startChildWorkflowExecutionFailedEventAttributes":{"shape":"StartChildWorkflowExecutionFailedEventAttributes"} |
| 1621 | + "startChildWorkflowExecutionFailedEventAttributes":{"shape":"StartChildWorkflowExecutionFailedEventAttributes"}, |
| 1622 | + "lambdaFunctionScheduledEventAttributes":{"shape":"LambdaFunctionScheduledEventAttributes"}, |
| 1623 | + "lambdaFunctionStartedEventAttributes":{"shape":"LambdaFunctionStartedEventAttributes"}, |
| 1624 | + "lambdaFunctionCompletedEventAttributes":{"shape":"LambdaFunctionCompletedEventAttributes"}, |
| 1625 | + "lambdaFunctionFailedEventAttributes":{"shape":"LambdaFunctionFailedEventAttributes"}, |
| 1626 | + "lambdaFunctionTimedOutEventAttributes":{"shape":"LambdaFunctionTimedOutEventAttributes"}, |
| 1627 | + "scheduleLambdaFunctionFailedEventAttributes":{"shape":"ScheduleLambdaFunctionFailedEventAttributes"}, |
| 1628 | + "startLambdaFunctionFailedEventAttributes":{"shape":"StartLambdaFunctionFailedEventAttributes"} |
1587 | 1629 | } |
1588 | 1630 | }, |
1589 | 1631 | "HistoryEventList":{ |
|
1594 | 1636 | "type":"string", |
1595 | 1637 | "max":256 |
1596 | 1638 | }, |
| 1639 | + "LambdaFunctionCompletedEventAttributes":{ |
| 1640 | + "type":"structure", |
| 1641 | + "required":[ |
| 1642 | + "scheduledEventId", |
| 1643 | + "startedEventId" |
| 1644 | + ], |
| 1645 | + "members":{ |
| 1646 | + "scheduledEventId":{"shape":"EventId"}, |
| 1647 | + "startedEventId":{"shape":"EventId"}, |
| 1648 | + "result":{"shape":"Data"} |
| 1649 | + } |
| 1650 | + }, |
| 1651 | + "LambdaFunctionFailedEventAttributes":{ |
| 1652 | + "type":"structure", |
| 1653 | + "required":[ |
| 1654 | + "scheduledEventId", |
| 1655 | + "startedEventId" |
| 1656 | + ], |
| 1657 | + "members":{ |
| 1658 | + "scheduledEventId":{"shape":"EventId"}, |
| 1659 | + "startedEventId":{"shape":"EventId"}, |
| 1660 | + "reason":{"shape":"FailureReason"}, |
| 1661 | + "details":{"shape":"Data"} |
| 1662 | + } |
| 1663 | + }, |
| 1664 | + "LambdaFunctionScheduledEventAttributes":{ |
| 1665 | + "type":"structure", |
| 1666 | + "required":[ |
| 1667 | + "id", |
| 1668 | + "name", |
| 1669 | + "decisionTaskCompletedEventId" |
| 1670 | + ], |
| 1671 | + "members":{ |
| 1672 | + "id":{"shape":"FunctionId"}, |
| 1673 | + "name":{"shape":"FunctionName"}, |
| 1674 | + "input":{"shape":"FunctionInput"}, |
| 1675 | + "startToCloseTimeout":{"shape":"DurationInSecondsOptional"}, |
| 1676 | + "decisionTaskCompletedEventId":{"shape":"EventId"} |
| 1677 | + } |
| 1678 | + }, |
| 1679 | + "LambdaFunctionStartedEventAttributes":{ |
| 1680 | + "type":"structure", |
| 1681 | + "required":["scheduledEventId"], |
| 1682 | + "members":{ |
| 1683 | + "scheduledEventId":{"shape":"EventId"} |
| 1684 | + } |
| 1685 | + }, |
| 1686 | + "LambdaFunctionTimedOutEventAttributes":{ |
| 1687 | + "type":"structure", |
| 1688 | + "required":[ |
| 1689 | + "scheduledEventId", |
| 1690 | + "startedEventId" |
| 1691 | + ], |
| 1692 | + "members":{ |
| 1693 | + "scheduledEventId":{"shape":"EventId"}, |
| 1694 | + "startedEventId":{"shape":"EventId"}, |
| 1695 | + "timeoutType":{"shape":"LambdaFunctionTimeoutType"} |
| 1696 | + } |
| 1697 | + }, |
| 1698 | + "LambdaFunctionTimeoutType":{ |
| 1699 | + "type":"string", |
| 1700 | + "enum":["START_TO_CLOSE"] |
| 1701 | + }, |
1597 | 1702 | "LimitExceededFault":{ |
1598 | 1703 | "type":"structure", |
1599 | 1704 | "members":{ |
|
1837 | 1942 | "defaultExecutionStartToCloseTimeout":{"shape":"DurationInSecondsOptional"}, |
1838 | 1943 | "defaultTaskList":{"shape":"TaskList"}, |
1839 | 1944 | "defaultTaskPriority":{"shape":"TaskPriority"}, |
1840 | | - "defaultChildPolicy":{"shape":"ChildPolicy"} |
| 1945 | + "defaultChildPolicy":{"shape":"ChildPolicy"}, |
| 1946 | + "defaultLambdaRole":{"shape":"Arn"} |
1841 | 1947 | } |
1842 | 1948 | }, |
1843 | 1949 | "RegistrationStatus":{ |
|
2033 | 2139 | "decisionTaskCompletedEventId":{"shape":"EventId"} |
2034 | 2140 | } |
2035 | 2141 | }, |
| 2142 | + "ScheduleLambdaFunctionDecisionAttributes":{ |
| 2143 | + "type":"structure", |
| 2144 | + "required":[ |
| 2145 | + "id", |
| 2146 | + "name" |
| 2147 | + ], |
| 2148 | + "members":{ |
| 2149 | + "id":{"shape":"FunctionId"}, |
| 2150 | + "name":{"shape":"FunctionName"}, |
| 2151 | + "input":{"shape":"FunctionInput"}, |
| 2152 | + "startToCloseTimeout":{"shape":"DurationInSecondsOptional"} |
| 2153 | + } |
| 2154 | + }, |
| 2155 | + "ScheduleLambdaFunctionFailedCause":{ |
| 2156 | + "type":"string", |
| 2157 | + "enum":[ |
| 2158 | + "ID_ALREADY_IN_USE", |
| 2159 | + "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED", |
| 2160 | + "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED", |
| 2161 | + "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION" |
| 2162 | + ] |
| 2163 | + }, |
| 2164 | + "ScheduleLambdaFunctionFailedEventAttributes":{ |
| 2165 | + "type":"structure", |
| 2166 | + "required":[ |
| 2167 | + "id", |
| 2168 | + "name", |
| 2169 | + "cause", |
| 2170 | + "decisionTaskCompletedEventId" |
| 2171 | + ], |
| 2172 | + "members":{ |
| 2173 | + "id":{"shape":"FunctionId"}, |
| 2174 | + "name":{"shape":"FunctionName"}, |
| 2175 | + "cause":{"shape":"ScheduleLambdaFunctionFailedCause"}, |
| 2176 | + "decisionTaskCompletedEventId":{"shape":"EventId"} |
| 2177 | + } |
| 2178 | + }, |
2036 | 2179 | "SignalExternalWorkflowExecutionDecisionAttributes":{ |
2037 | 2180 | "type":"structure", |
2038 | 2181 | "required":[ |
|
2124 | 2267 | "taskPriority":{"shape":"TaskPriority"}, |
2125 | 2268 | "taskStartToCloseTimeout":{"shape":"DurationInSecondsOptional"}, |
2126 | 2269 | "childPolicy":{"shape":"ChildPolicy"}, |
2127 | | - "tagList":{"shape":"TagList"} |
| 2270 | + "tagList":{"shape":"TagList"}, |
| 2271 | + "lambdaRole":{"shape":"Arn"} |
2128 | 2272 | } |
2129 | 2273 | }, |
2130 | 2274 | "StartChildWorkflowExecutionFailedCause":{ |
|
2181 | 2325 | "decisionTaskCompletedEventId":{"shape":"EventId"}, |
2182 | 2326 | "childPolicy":{"shape":"ChildPolicy"}, |
2183 | 2327 | "taskStartToCloseTimeout":{"shape":"DurationInSecondsOptional"}, |
2184 | | - "tagList":{"shape":"TagList"} |
| 2328 | + "tagList":{"shape":"TagList"}, |
| 2329 | + "lambdaRole":{"shape":"Arn"} |
| 2330 | + } |
| 2331 | + }, |
| 2332 | + "StartLambdaFunctionFailedCause":{ |
| 2333 | + "type":"string", |
| 2334 | + "enum":["ASSUME_ROLE_FAILED"] |
| 2335 | + }, |
| 2336 | + "StartLambdaFunctionFailedEventAttributes":{ |
| 2337 | + "type":"structure", |
| 2338 | + "members":{ |
| 2339 | + "scheduledEventId":{"shape":"EventId"}, |
| 2340 | + "cause":{"shape":"StartLambdaFunctionFailedCause"}, |
| 2341 | + "message":{"shape":"CauseMessage"} |
2185 | 2342 | } |
2186 | 2343 | }, |
2187 | 2344 | "StartTimerDecisionAttributes":{ |
|
2235 | 2392 | "executionStartToCloseTimeout":{"shape":"DurationInSecondsOptional"}, |
2236 | 2393 | "tagList":{"shape":"TagList"}, |
2237 | 2394 | "taskStartToCloseTimeout":{"shape":"DurationInSecondsOptional"}, |
2238 | | - "childPolicy":{"shape":"ChildPolicy"} |
| 2395 | + "childPolicy":{"shape":"ChildPolicy"}, |
| 2396 | + "lambdaRole":{"shape":"Arn"} |
2239 | 2397 | } |
2240 | 2398 | }, |
2241 | 2399 | "Tag":{ |
|
2424 | 2582 | "executionStartToCloseTimeout":{"shape":"DurationInSeconds"}, |
2425 | 2583 | "taskList":{"shape":"TaskList"}, |
2426 | 2584 | "taskPriority":{"shape":"TaskPriority"}, |
2427 | | - "childPolicy":{"shape":"ChildPolicy"} |
| 2585 | + "childPolicy":{"shape":"ChildPolicy"}, |
| 2586 | + "lambdaRole":{"shape":"Arn"} |
2428 | 2587 | } |
2429 | 2588 | }, |
2430 | 2589 | "WorkflowExecutionContinuedAsNewEventAttributes":{ |
|
2446 | 2605 | "taskStartToCloseTimeout":{"shape":"DurationInSecondsOptional"}, |
2447 | 2606 | "childPolicy":{"shape":"ChildPolicy"}, |
2448 | 2607 | "tagList":{"shape":"TagList"}, |
2449 | | - "workflowType":{"shape":"WorkflowType"} |
| 2608 | + "workflowType":{"shape":"WorkflowType"}, |
| 2609 | + "lambdaRole":{"shape":"Arn"} |
2450 | 2610 | } |
2451 | 2611 | }, |
2452 | 2612 | "WorkflowExecutionCount":{ |
|
2532 | 2692 | "openActivityTasks":{"shape":"Count"}, |
2533 | 2693 | "openDecisionTasks":{"shape":"OpenDecisionTasksCount"}, |
2534 | 2694 | "openTimers":{"shape":"Count"}, |
2535 | | - "openChildWorkflowExecutions":{"shape":"Count"} |
| 2695 | + "openChildWorkflowExecutions":{"shape":"Count"}, |
| 2696 | + "openLambdaFunctions":{"shape":"Count"} |
2536 | 2697 | } |
2537 | 2698 | }, |
2538 | 2699 | "WorkflowExecutionSignaledEventAttributes":{ |
|
2563 | 2724 | "taskPriority":{"shape":"TaskPriority"}, |
2564 | 2725 | "continuedExecutionRunId":{"shape":"RunIdOptional"}, |
2565 | 2726 | "parentWorkflowExecution":{"shape":"WorkflowExecution"}, |
2566 | | - "parentInitiatedEventId":{"shape":"EventId"} |
| 2727 | + "parentInitiatedEventId":{"shape":"EventId"}, |
| 2728 | + "lambdaRole":{"shape":"Arn"} |
2567 | 2729 | } |
2568 | 2730 | }, |
2569 | 2731 | "WorkflowExecutionTerminatedCause":{ |
|
2622 | 2784 | "defaultExecutionStartToCloseTimeout":{"shape":"DurationInSecondsOptional"}, |
2623 | 2785 | "defaultTaskList":{"shape":"TaskList"}, |
2624 | 2786 | "defaultTaskPriority":{"shape":"TaskPriority"}, |
2625 | | - "defaultChildPolicy":{"shape":"ChildPolicy"} |
| 2787 | + "defaultChildPolicy":{"shape":"ChildPolicy"}, |
| 2788 | + "defaultLambdaRole":{"shape":"Arn"} |
2626 | 2789 | } |
2627 | 2790 | }, |
2628 | 2791 | "WorkflowTypeDetail":{ |
|
0 commit comments