-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstep-functions.json
112 lines (112 loc) · 3.08 KB
/
step-functions.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"StartAt": "Authorization",
"States": {
"Authorization": {
"Type": "Task",
"Resource": "arn:aws:states:::lambda:invoke",
"OutputPath": "$.Payload",
"Parameters": {
"Payload": {
"authorization.$": "$.authorization",
"model": "quetzal-transit",
"scenario_path_S3.$": "$.scenario_path_S3",
"launcher_arg.$": "$.launcher_arg",
"metadata.$": "$.metadata"
},
"FunctionName": "arn:aws:lambda:ca-central-1:142023388927:function:quetzal-api-auth:$LATEST"
},
"Retry": [
{
"ErrorEquals": [
"Lambda.ServiceException",
"Lambda.SdkClientException",
"Lambda.TooManyRequestsException"
],
"IntervalSeconds": 2,
"MaxAttempts": 2,
"BackoffRate": 2
},
{
"ErrorEquals": [
"Lambda.AWSLambdaException"
],
"IntervalSeconds": 30,
"MaxAttempts": 4,
"BackoffRate": 2
}
],
"Next": "Transit analysis"
},
"Transit analysis": {
"Type": "Task",
"Resource": "arn:aws:states:::lambda:invoke",
"OutputPath": "$.Payload",
"Parameters": {
"Payload": {
"notebook_path": "notebooks/2_model/main.ipynb",
"scenario_path_S3.$": "$.scenario_path_S3",
"launcher_arg.$": "$.launcher_arg",
"metadata.$": "$.metadata"
},
"FunctionName": "arn:aws:lambda:ca-central-1:142023388927:function:quetzal-transit:$LATEST"
},
"Retry": [
{
"ErrorEquals": [
"Lambda.ServiceException",
"Lambda.SdkClientException",
"Lambda.TooManyRequestsException"
],
"IntervalSeconds": 2,
"MaxAttempts": 2,
"BackoffRate": 2
},
{
"ErrorEquals": [
"Lambda.AWSLambdaException"
],
"IntervalSeconds": 30,
"MaxAttempts": 4,
"BackoffRate": 2
}
],
"Next": "Pathfinder"
},
"Pathfinder": {
"Type": "Task",
"Resource": "arn:aws:states:::lambda:invoke",
"OutputPath": "$.Payload",
"Parameters": {
"Payload": {
"notebook_path": "notebooks/2_model/pathfinder.ipynb",
"scenario_path_S3.$": "$.scenario_path_S3",
"launcher_arg.$": "$.launcher_arg",
"metadata.$": "$.metadata"
},
"FunctionName": "arn:aws:lambda:ca-central-1:142023388927:function:quetzal-transit:$LATEST"
},
"Retry": [
{
"ErrorEquals": [
"Lambda.ServiceException",
"Lambda.SdkClientException",
"Lambda.TooManyRequestsException"
],
"IntervalSeconds": 2,
"MaxAttempts": 2,
"BackoffRate": 2
},
{
"ErrorEquals": [
"Lambda.AWSLambdaException"
],
"IntervalSeconds": 30,
"MaxAttempts": 4,
"BackoffRate": 2
}
],
"End": true
}
},
"Comment": "Quetzal Transit model"
}