File tree Expand file tree Collapse file tree 3 files changed +341
-14
lines changed
Expand file tree Collapse file tree 3 files changed +341
-14
lines changed Original file line number Diff line number Diff line change 9090 "BackoffRate" : 2
9191 }
9292 ],
93+ "Next" : " AssessmentChoice"
94+ },
95+ "AssessmentChoice" : {
96+ "Type" : " Choice" ,
97+ "QueryLanguage" : " JSONata" ,
98+ "Choices" : [
99+ {
100+ "Condition" : " {% ${IsAssessmentEnabled} = true %}" ,
101+ "Next" : " AssessmentStep"
102+ }
103+ ],
104+ "Default" : " SectionComplete"
105+ },
106+ "AssessmentStep" : {
107+ "Type" : " Task" ,
108+ "Resource" : " ${AssessmentFunctionArn}" ,
109+ "Parameters" : {
110+ "execution_arn.$" : " $$.Execution.Id" ,
111+ "document.$" : " $.document" ,
112+ "section_id.$" : " $.section_id"
113+ },
114+ "ResultPath" : " $.AssessmentResult" ,
115+ "Retry" : [
116+ {
117+ "ErrorEquals" : [
118+ " Sandbox.Timedout" ,
119+ " Lambda.ServiceException" ,
120+ " Lambda.AWSLambdaException" ,
121+ " Lambda.SdkClientException" ,
122+ " Lambda.TooManyRequestsException" ,
123+ " ServiceQuotaExceededException" ,
124+ " ThrottlingException" ,
125+ " ProvisionedThroughputExceededException" ,
126+ " RequestLimitExceeded"
127+ ],
128+ "IntervalSeconds" : 2 ,
129+ "MaxAttempts" : 10 ,
130+ "BackoffRate" : 2
131+ }
132+ ],
133+ "Next" : " SectionComplete"
134+ },
135+ "SectionComplete" : {
136+ "Type" : " Pass" ,
93137 "End" : true
94138 }
95139 }
170214 "End" : true
171215 }
172216 }
173- }
217+ }
You can’t perform that action at this time.
0 commit comments