api-2.json 80 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838
  1. {
  2. "version":"2.0",
  3. "metadata":{
  4. "apiVersion":"2012-01-25",
  5. "endpointPrefix":"swf",
  6. "jsonVersion":"1.0",
  7. "serviceAbbreviation":"Amazon SWF",
  8. "serviceFullName":"Amazon Simple Workflow Service",
  9. "signatureVersion":"v4",
  10. "targetPrefix":"SimpleWorkflowService",
  11. "timestampFormat":"unixTimestamp",
  12. "protocol":"json"
  13. },
  14. "operations":{
  15. "CountClosedWorkflowExecutions":{
  16. "name":"CountClosedWorkflowExecutions",
  17. "http":{
  18. "method":"POST",
  19. "requestUri":"/"
  20. },
  21. "input":{"shape":"CountClosedWorkflowExecutionsInput"},
  22. "output":{"shape":"WorkflowExecutionCount"},
  23. "errors":[
  24. {
  25. "shape":"UnknownResourceFault",
  26. "exception":true
  27. },
  28. {
  29. "shape":"OperationNotPermittedFault",
  30. "exception":true
  31. }
  32. ]
  33. },
  34. "CountOpenWorkflowExecutions":{
  35. "name":"CountOpenWorkflowExecutions",
  36. "http":{
  37. "method":"POST",
  38. "requestUri":"/"
  39. },
  40. "input":{"shape":"CountOpenWorkflowExecutionsInput"},
  41. "output":{"shape":"WorkflowExecutionCount"},
  42. "errors":[
  43. {
  44. "shape":"UnknownResourceFault",
  45. "exception":true
  46. },
  47. {
  48. "shape":"OperationNotPermittedFault",
  49. "exception":true
  50. }
  51. ]
  52. },
  53. "CountPendingActivityTasks":{
  54. "name":"CountPendingActivityTasks",
  55. "http":{
  56. "method":"POST",
  57. "requestUri":"/"
  58. },
  59. "input":{"shape":"CountPendingActivityTasksInput"},
  60. "output":{"shape":"PendingTaskCount"},
  61. "errors":[
  62. {
  63. "shape":"UnknownResourceFault",
  64. "exception":true
  65. },
  66. {
  67. "shape":"OperationNotPermittedFault",
  68. "exception":true
  69. }
  70. ]
  71. },
  72. "CountPendingDecisionTasks":{
  73. "name":"CountPendingDecisionTasks",
  74. "http":{
  75. "method":"POST",
  76. "requestUri":"/"
  77. },
  78. "input":{"shape":"CountPendingDecisionTasksInput"},
  79. "output":{"shape":"PendingTaskCount"},
  80. "errors":[
  81. {
  82. "shape":"UnknownResourceFault",
  83. "exception":true
  84. },
  85. {
  86. "shape":"OperationNotPermittedFault",
  87. "exception":true
  88. }
  89. ]
  90. },
  91. "DeprecateActivityType":{
  92. "name":"DeprecateActivityType",
  93. "http":{
  94. "method":"POST",
  95. "requestUri":"/"
  96. },
  97. "input":{"shape":"DeprecateActivityTypeInput"},
  98. "errors":[
  99. {
  100. "shape":"UnknownResourceFault",
  101. "exception":true
  102. },
  103. {
  104. "shape":"TypeDeprecatedFault",
  105. "exception":true
  106. },
  107. {
  108. "shape":"OperationNotPermittedFault",
  109. "exception":true
  110. }
  111. ]
  112. },
  113. "DeprecateDomain":{
  114. "name":"DeprecateDomain",
  115. "http":{
  116. "method":"POST",
  117. "requestUri":"/"
  118. },
  119. "input":{"shape":"DeprecateDomainInput"},
  120. "errors":[
  121. {
  122. "shape":"UnknownResourceFault",
  123. "exception":true
  124. },
  125. {
  126. "shape":"DomainDeprecatedFault",
  127. "exception":true
  128. },
  129. {
  130. "shape":"OperationNotPermittedFault",
  131. "exception":true
  132. }
  133. ]
  134. },
  135. "DeprecateWorkflowType":{
  136. "name":"DeprecateWorkflowType",
  137. "http":{
  138. "method":"POST",
  139. "requestUri":"/"
  140. },
  141. "input":{"shape":"DeprecateWorkflowTypeInput"},
  142. "errors":[
  143. {
  144. "shape":"UnknownResourceFault",
  145. "exception":true
  146. },
  147. {
  148. "shape":"TypeDeprecatedFault",
  149. "exception":true
  150. },
  151. {
  152. "shape":"OperationNotPermittedFault",
  153. "exception":true
  154. }
  155. ]
  156. },
  157. "DescribeActivityType":{
  158. "name":"DescribeActivityType",
  159. "http":{
  160. "method":"POST",
  161. "requestUri":"/"
  162. },
  163. "input":{"shape":"DescribeActivityTypeInput"},
  164. "output":{"shape":"ActivityTypeDetail"},
  165. "errors":[
  166. {
  167. "shape":"UnknownResourceFault",
  168. "exception":true
  169. },
  170. {
  171. "shape":"OperationNotPermittedFault",
  172. "exception":true
  173. }
  174. ]
  175. },
  176. "DescribeDomain":{
  177. "name":"DescribeDomain",
  178. "http":{
  179. "method":"POST",
  180. "requestUri":"/"
  181. },
  182. "input":{"shape":"DescribeDomainInput"},
  183. "output":{"shape":"DomainDetail"},
  184. "errors":[
  185. {
  186. "shape":"UnknownResourceFault",
  187. "exception":true
  188. },
  189. {
  190. "shape":"OperationNotPermittedFault",
  191. "exception":true
  192. }
  193. ]
  194. },
  195. "DescribeWorkflowExecution":{
  196. "name":"DescribeWorkflowExecution",
  197. "http":{
  198. "method":"POST",
  199. "requestUri":"/"
  200. },
  201. "input":{"shape":"DescribeWorkflowExecutionInput"},
  202. "output":{"shape":"WorkflowExecutionDetail"},
  203. "errors":[
  204. {
  205. "shape":"UnknownResourceFault",
  206. "exception":true
  207. },
  208. {
  209. "shape":"OperationNotPermittedFault",
  210. "exception":true
  211. }
  212. ]
  213. },
  214. "DescribeWorkflowType":{
  215. "name":"DescribeWorkflowType",
  216. "http":{
  217. "method":"POST",
  218. "requestUri":"/"
  219. },
  220. "input":{"shape":"DescribeWorkflowTypeInput"},
  221. "output":{"shape":"WorkflowTypeDetail"},
  222. "errors":[
  223. {
  224. "shape":"UnknownResourceFault",
  225. "exception":true
  226. },
  227. {
  228. "shape":"OperationNotPermittedFault",
  229. "exception":true
  230. }
  231. ]
  232. },
  233. "GetWorkflowExecutionHistory":{
  234. "name":"GetWorkflowExecutionHistory",
  235. "http":{
  236. "method":"POST",
  237. "requestUri":"/"
  238. },
  239. "input":{"shape":"GetWorkflowExecutionHistoryInput"},
  240. "output":{"shape":"History"},
  241. "errors":[
  242. {
  243. "shape":"UnknownResourceFault",
  244. "exception":true
  245. },
  246. {
  247. "shape":"OperationNotPermittedFault",
  248. "exception":true
  249. }
  250. ]
  251. },
  252. "ListActivityTypes":{
  253. "name":"ListActivityTypes",
  254. "http":{
  255. "method":"POST",
  256. "requestUri":"/"
  257. },
  258. "input":{"shape":"ListActivityTypesInput"},
  259. "output":{"shape":"ActivityTypeInfos"},
  260. "errors":[
  261. {
  262. "shape":"OperationNotPermittedFault",
  263. "exception":true
  264. },
  265. {
  266. "shape":"UnknownResourceFault",
  267. "exception":true
  268. }
  269. ]
  270. },
  271. "ListClosedWorkflowExecutions":{
  272. "name":"ListClosedWorkflowExecutions",
  273. "http":{
  274. "method":"POST",
  275. "requestUri":"/"
  276. },
  277. "input":{"shape":"ListClosedWorkflowExecutionsInput"},
  278. "output":{"shape":"WorkflowExecutionInfos"},
  279. "errors":[
  280. {
  281. "shape":"UnknownResourceFault",
  282. "exception":true
  283. },
  284. {
  285. "shape":"OperationNotPermittedFault",
  286. "exception":true
  287. }
  288. ]
  289. },
  290. "ListDomains":{
  291. "name":"ListDomains",
  292. "http":{
  293. "method":"POST",
  294. "requestUri":"/"
  295. },
  296. "input":{"shape":"ListDomainsInput"},
  297. "output":{"shape":"DomainInfos"},
  298. "errors":[
  299. {
  300. "shape":"OperationNotPermittedFault",
  301. "exception":true
  302. }
  303. ]
  304. },
  305. "ListOpenWorkflowExecutions":{
  306. "name":"ListOpenWorkflowExecutions",
  307. "http":{
  308. "method":"POST",
  309. "requestUri":"/"
  310. },
  311. "input":{"shape":"ListOpenWorkflowExecutionsInput"},
  312. "output":{"shape":"WorkflowExecutionInfos"},
  313. "errors":[
  314. {
  315. "shape":"UnknownResourceFault",
  316. "exception":true
  317. },
  318. {
  319. "shape":"OperationNotPermittedFault",
  320. "exception":true
  321. }
  322. ]
  323. },
  324. "ListWorkflowTypes":{
  325. "name":"ListWorkflowTypes",
  326. "http":{
  327. "method":"POST",
  328. "requestUri":"/"
  329. },
  330. "input":{"shape":"ListWorkflowTypesInput"},
  331. "output":{"shape":"WorkflowTypeInfos"},
  332. "errors":[
  333. {
  334. "shape":"OperationNotPermittedFault",
  335. "exception":true
  336. },
  337. {
  338. "shape":"UnknownResourceFault",
  339. "exception":true
  340. }
  341. ]
  342. },
  343. "PollForActivityTask":{
  344. "name":"PollForActivityTask",
  345. "http":{
  346. "method":"POST",
  347. "requestUri":"/"
  348. },
  349. "input":{"shape":"PollForActivityTaskInput"},
  350. "output":{"shape":"ActivityTask"},
  351. "errors":[
  352. {
  353. "shape":"UnknownResourceFault",
  354. "exception":true
  355. },
  356. {
  357. "shape":"OperationNotPermittedFault",
  358. "exception":true
  359. },
  360. {
  361. "shape":"LimitExceededFault",
  362. "exception":true
  363. }
  364. ]
  365. },
  366. "PollForDecisionTask":{
  367. "name":"PollForDecisionTask",
  368. "http":{
  369. "method":"POST",
  370. "requestUri":"/"
  371. },
  372. "input":{"shape":"PollForDecisionTaskInput"},
  373. "output":{"shape":"DecisionTask"},
  374. "errors":[
  375. {
  376. "shape":"UnknownResourceFault",
  377. "exception":true
  378. },
  379. {
  380. "shape":"OperationNotPermittedFault",
  381. "exception":true
  382. },
  383. {
  384. "shape":"LimitExceededFault",
  385. "exception":true
  386. }
  387. ]
  388. },
  389. "RecordActivityTaskHeartbeat":{
  390. "name":"RecordActivityTaskHeartbeat",
  391. "http":{
  392. "method":"POST",
  393. "requestUri":"/"
  394. },
  395. "input":{"shape":"RecordActivityTaskHeartbeatInput"},
  396. "output":{"shape":"ActivityTaskStatus"},
  397. "errors":[
  398. {
  399. "shape":"UnknownResourceFault",
  400. "exception":true
  401. },
  402. {
  403. "shape":"OperationNotPermittedFault",
  404. "exception":true
  405. }
  406. ]
  407. },
  408. "RegisterActivityType":{
  409. "name":"RegisterActivityType",
  410. "http":{
  411. "method":"POST",
  412. "requestUri":"/"
  413. },
  414. "input":{"shape":"RegisterActivityTypeInput"},
  415. "errors":[
  416. {
  417. "shape":"TypeAlreadyExistsFault",
  418. "exception":true
  419. },
  420. {
  421. "shape":"LimitExceededFault",
  422. "exception":true
  423. },
  424. {
  425. "shape":"UnknownResourceFault",
  426. "exception":true
  427. },
  428. {
  429. "shape":"OperationNotPermittedFault",
  430. "exception":true
  431. }
  432. ]
  433. },
  434. "RegisterDomain":{
  435. "name":"RegisterDomain",
  436. "http":{
  437. "method":"POST",
  438. "requestUri":"/"
  439. },
  440. "input":{"shape":"RegisterDomainInput"},
  441. "errors":[
  442. {
  443. "shape":"DomainAlreadyExistsFault",
  444. "exception":true
  445. },
  446. {
  447. "shape":"LimitExceededFault",
  448. "exception":true
  449. },
  450. {
  451. "shape":"OperationNotPermittedFault",
  452. "exception":true
  453. }
  454. ]
  455. },
  456. "RegisterWorkflowType":{
  457. "name":"RegisterWorkflowType",
  458. "http":{
  459. "method":"POST",
  460. "requestUri":"/"
  461. },
  462. "input":{"shape":"RegisterWorkflowTypeInput"},
  463. "errors":[
  464. {
  465. "shape":"TypeAlreadyExistsFault",
  466. "exception":true
  467. },
  468. {
  469. "shape":"LimitExceededFault",
  470. "exception":true
  471. },
  472. {
  473. "shape":"UnknownResourceFault",
  474. "exception":true
  475. },
  476. {
  477. "shape":"OperationNotPermittedFault",
  478. "exception":true
  479. }
  480. ]
  481. },
  482. "RequestCancelWorkflowExecution":{
  483. "name":"RequestCancelWorkflowExecution",
  484. "http":{
  485. "method":"POST",
  486. "requestUri":"/"
  487. },
  488. "input":{"shape":"RequestCancelWorkflowExecutionInput"},
  489. "errors":[
  490. {
  491. "shape":"UnknownResourceFault",
  492. "exception":true
  493. },
  494. {
  495. "shape":"OperationNotPermittedFault",
  496. "exception":true
  497. }
  498. ]
  499. },
  500. "RespondActivityTaskCanceled":{
  501. "name":"RespondActivityTaskCanceled",
  502. "http":{
  503. "method":"POST",
  504. "requestUri":"/"
  505. },
  506. "input":{"shape":"RespondActivityTaskCanceledInput"},
  507. "errors":[
  508. {
  509. "shape":"UnknownResourceFault",
  510. "exception":true
  511. },
  512. {
  513. "shape":"OperationNotPermittedFault",
  514. "exception":true
  515. }
  516. ]
  517. },
  518. "RespondActivityTaskCompleted":{
  519. "name":"RespondActivityTaskCompleted",
  520. "http":{
  521. "method":"POST",
  522. "requestUri":"/"
  523. },
  524. "input":{"shape":"RespondActivityTaskCompletedInput"},
  525. "errors":[
  526. {
  527. "shape":"UnknownResourceFault",
  528. "exception":true
  529. },
  530. {
  531. "shape":"OperationNotPermittedFault",
  532. "exception":true
  533. }
  534. ]
  535. },
  536. "RespondActivityTaskFailed":{
  537. "name":"RespondActivityTaskFailed",
  538. "http":{
  539. "method":"POST",
  540. "requestUri":"/"
  541. },
  542. "input":{"shape":"RespondActivityTaskFailedInput"},
  543. "errors":[
  544. {
  545. "shape":"UnknownResourceFault",
  546. "exception":true
  547. },
  548. {
  549. "shape":"OperationNotPermittedFault",
  550. "exception":true
  551. }
  552. ]
  553. },
  554. "RespondDecisionTaskCompleted":{
  555. "name":"RespondDecisionTaskCompleted",
  556. "http":{
  557. "method":"POST",
  558. "requestUri":"/"
  559. },
  560. "input":{"shape":"RespondDecisionTaskCompletedInput"},
  561. "errors":[
  562. {
  563. "shape":"UnknownResourceFault",
  564. "exception":true
  565. },
  566. {
  567. "shape":"OperationNotPermittedFault",
  568. "exception":true
  569. }
  570. ]
  571. },
  572. "SignalWorkflowExecution":{
  573. "name":"SignalWorkflowExecution",
  574. "http":{
  575. "method":"POST",
  576. "requestUri":"/"
  577. },
  578. "input":{"shape":"SignalWorkflowExecutionInput"},
  579. "errors":[
  580. {
  581. "shape":"UnknownResourceFault",
  582. "exception":true
  583. },
  584. {
  585. "shape":"OperationNotPermittedFault",
  586. "exception":true
  587. }
  588. ]
  589. },
  590. "StartWorkflowExecution":{
  591. "name":"StartWorkflowExecution",
  592. "http":{
  593. "method":"POST",
  594. "requestUri":"/"
  595. },
  596. "input":{"shape":"StartWorkflowExecutionInput"},
  597. "output":{"shape":"Run"},
  598. "errors":[
  599. {
  600. "shape":"UnknownResourceFault",
  601. "exception":true
  602. },
  603. {
  604. "shape":"TypeDeprecatedFault",
  605. "exception":true
  606. },
  607. {
  608. "shape":"WorkflowExecutionAlreadyStartedFault",
  609. "exception":true
  610. },
  611. {
  612. "shape":"LimitExceededFault",
  613. "exception":true
  614. },
  615. {
  616. "shape":"OperationNotPermittedFault",
  617. "exception":true
  618. },
  619. {
  620. "shape":"DefaultUndefinedFault",
  621. "exception":true
  622. }
  623. ]
  624. },
  625. "TerminateWorkflowExecution":{
  626. "name":"TerminateWorkflowExecution",
  627. "http":{
  628. "method":"POST",
  629. "requestUri":"/"
  630. },
  631. "input":{"shape":"TerminateWorkflowExecutionInput"},
  632. "errors":[
  633. {
  634. "shape":"UnknownResourceFault",
  635. "exception":true
  636. },
  637. {
  638. "shape":"OperationNotPermittedFault",
  639. "exception":true
  640. }
  641. ]
  642. }
  643. },
  644. "shapes":{
  645. "ActivityId":{
  646. "type":"string",
  647. "min":1,
  648. "max":256
  649. },
  650. "ActivityTask":{
  651. "type":"structure",
  652. "required":[
  653. "taskToken",
  654. "activityId",
  655. "startedEventId",
  656. "workflowExecution",
  657. "activityType"
  658. ],
  659. "members":{
  660. "taskToken":{"shape":"TaskToken"},
  661. "activityId":{"shape":"ActivityId"},
  662. "startedEventId":{"shape":"EventId"},
  663. "workflowExecution":{"shape":"WorkflowExecution"},
  664. "activityType":{"shape":"ActivityType"},
  665. "input":{"shape":"Data"}
  666. }
  667. },
  668. "ActivityTaskCancelRequestedEventAttributes":{
  669. "type":"structure",
  670. "required":[
  671. "decisionTaskCompletedEventId",
  672. "activityId"
  673. ],
  674. "members":{
  675. "decisionTaskCompletedEventId":{"shape":"EventId"},
  676. "activityId":{"shape":"ActivityId"}
  677. }
  678. },
  679. "ActivityTaskCanceledEventAttributes":{
  680. "type":"structure",
  681. "required":[
  682. "scheduledEventId",
  683. "startedEventId"
  684. ],
  685. "members":{
  686. "details":{"shape":"Data"},
  687. "scheduledEventId":{"shape":"EventId"},
  688. "startedEventId":{"shape":"EventId"},
  689. "latestCancelRequestedEventId":{"shape":"EventId"}
  690. }
  691. },
  692. "ActivityTaskCompletedEventAttributes":{
  693. "type":"structure",
  694. "required":[
  695. "scheduledEventId",
  696. "startedEventId"
  697. ],
  698. "members":{
  699. "result":{"shape":"Data"},
  700. "scheduledEventId":{"shape":"EventId"},
  701. "startedEventId":{"shape":"EventId"}
  702. }
  703. },
  704. "ActivityTaskFailedEventAttributes":{
  705. "type":"structure",
  706. "required":[
  707. "scheduledEventId",
  708. "startedEventId"
  709. ],
  710. "members":{
  711. "reason":{"shape":"FailureReason"},
  712. "details":{"shape":"Data"},
  713. "scheduledEventId":{"shape":"EventId"},
  714. "startedEventId":{"shape":"EventId"}
  715. }
  716. },
  717. "ActivityTaskScheduledEventAttributes":{
  718. "type":"structure",
  719. "required":[
  720. "activityType",
  721. "activityId",
  722. "taskList",
  723. "decisionTaskCompletedEventId"
  724. ],
  725. "members":{
  726. "activityType":{"shape":"ActivityType"},
  727. "activityId":{"shape":"ActivityId"},
  728. "input":{"shape":"Data"},
  729. "control":{"shape":"Data"},
  730. "scheduleToStartTimeout":{"shape":"DurationInSecondsOptional"},
  731. "scheduleToCloseTimeout":{"shape":"DurationInSecondsOptional"},
  732. "startToCloseTimeout":{"shape":"DurationInSecondsOptional"},
  733. "taskList":{"shape":"TaskList"},
  734. "taskPriority":{"shape":"TaskPriority"},
  735. "decisionTaskCompletedEventId":{"shape":"EventId"},
  736. "heartbeatTimeout":{"shape":"DurationInSecondsOptional"}
  737. }
  738. },
  739. "ActivityTaskStartedEventAttributes":{
  740. "type":"structure",
  741. "required":["scheduledEventId"],
  742. "members":{
  743. "identity":{"shape":"Identity"},
  744. "scheduledEventId":{"shape":"EventId"}
  745. }
  746. },
  747. "ActivityTaskStatus":{
  748. "type":"structure",
  749. "required":["cancelRequested"],
  750. "members":{
  751. "cancelRequested":{"shape":"Canceled"}
  752. }
  753. },
  754. "ActivityTaskTimedOutEventAttributes":{
  755. "type":"structure",
  756. "required":[
  757. "timeoutType",
  758. "scheduledEventId",
  759. "startedEventId"
  760. ],
  761. "members":{
  762. "timeoutType":{"shape":"ActivityTaskTimeoutType"},
  763. "scheduledEventId":{"shape":"EventId"},
  764. "startedEventId":{"shape":"EventId"},
  765. "details":{"shape":"LimitedData"}
  766. }
  767. },
  768. "ActivityTaskTimeoutType":{
  769. "type":"string",
  770. "enum":[
  771. "START_TO_CLOSE",
  772. "SCHEDULE_TO_START",
  773. "SCHEDULE_TO_CLOSE",
  774. "HEARTBEAT"
  775. ]
  776. },
  777. "ActivityType":{
  778. "type":"structure",
  779. "required":[
  780. "name",
  781. "version"
  782. ],
  783. "members":{
  784. "name":{"shape":"Name"},
  785. "version":{"shape":"Version"}
  786. }
  787. },
  788. "ActivityTypeConfiguration":{
  789. "type":"structure",
  790. "members":{
  791. "defaultTaskStartToCloseTimeout":{"shape":"DurationInSecondsOptional"},
  792. "defaultTaskHeartbeatTimeout":{"shape":"DurationInSecondsOptional"},
  793. "defaultTaskList":{"shape":"TaskList"},
  794. "defaultTaskPriority":{"shape":"TaskPriority"},
  795. "defaultTaskScheduleToStartTimeout":{"shape":"DurationInSecondsOptional"},
  796. "defaultTaskScheduleToCloseTimeout":{"shape":"DurationInSecondsOptional"}
  797. }
  798. },
  799. "ActivityTypeDetail":{
  800. "type":"structure",
  801. "required":[
  802. "typeInfo",
  803. "configuration"
  804. ],
  805. "members":{
  806. "typeInfo":{"shape":"ActivityTypeInfo"},
  807. "configuration":{"shape":"ActivityTypeConfiguration"}
  808. }
  809. },
  810. "ActivityTypeInfo":{
  811. "type":"structure",
  812. "required":[
  813. "activityType",
  814. "status",
  815. "creationDate"
  816. ],
  817. "members":{
  818. "activityType":{"shape":"ActivityType"},
  819. "status":{"shape":"RegistrationStatus"},
  820. "description":{"shape":"Description"},
  821. "creationDate":{"shape":"Timestamp"},
  822. "deprecationDate":{"shape":"Timestamp"}
  823. }
  824. },
  825. "ActivityTypeInfoList":{
  826. "type":"list",
  827. "member":{"shape":"ActivityTypeInfo"}
  828. },
  829. "ActivityTypeInfos":{
  830. "type":"structure",
  831. "required":["typeInfos"],
  832. "members":{
  833. "typeInfos":{"shape":"ActivityTypeInfoList"},
  834. "nextPageToken":{"shape":"PageToken"}
  835. }
  836. },
  837. "Arn":{
  838. "type":"string",
  839. "min":1,
  840. "max":1224
  841. },
  842. "CancelTimerDecisionAttributes":{
  843. "type":"structure",
  844. "required":["timerId"],
  845. "members":{
  846. "timerId":{"shape":"TimerId"}
  847. }
  848. },
  849. "CancelTimerFailedCause":{
  850. "type":"string",
  851. "enum":[
  852. "TIMER_ID_UNKNOWN",
  853. "OPERATION_NOT_PERMITTED"
  854. ]
  855. },
  856. "CancelTimerFailedEventAttributes":{
  857. "type":"structure",
  858. "required":[
  859. "timerId",
  860. "cause",
  861. "decisionTaskCompletedEventId"
  862. ],
  863. "members":{
  864. "timerId":{"shape":"TimerId"},
  865. "cause":{"shape":"CancelTimerFailedCause"},
  866. "decisionTaskCompletedEventId":{"shape":"EventId"}
  867. }
  868. },
  869. "CancelWorkflowExecutionDecisionAttributes":{
  870. "type":"structure",
  871. "members":{
  872. "details":{"shape":"Data"}
  873. }
  874. },
  875. "CancelWorkflowExecutionFailedCause":{
  876. "type":"string",
  877. "enum":[
  878. "UNHANDLED_DECISION",
  879. "OPERATION_NOT_PERMITTED"
  880. ]
  881. },
  882. "CancelWorkflowExecutionFailedEventAttributes":{
  883. "type":"structure",
  884. "required":[
  885. "cause",
  886. "decisionTaskCompletedEventId"
  887. ],
  888. "members":{
  889. "cause":{"shape":"CancelWorkflowExecutionFailedCause"},
  890. "decisionTaskCompletedEventId":{"shape":"EventId"}
  891. }
  892. },
  893. "Canceled":{"type":"boolean"},
  894. "CauseMessage":{
  895. "type":"string",
  896. "max":1728
  897. },
  898. "ChildPolicy":{
  899. "type":"string",
  900. "enum":[
  901. "TERMINATE",
  902. "REQUEST_CANCEL",
  903. "ABANDON"
  904. ]
  905. },
  906. "ChildWorkflowExecutionCanceledEventAttributes":{
  907. "type":"structure",
  908. "required":[
  909. "workflowExecution",
  910. "workflowType",
  911. "initiatedEventId",
  912. "startedEventId"
  913. ],
  914. "members":{
  915. "workflowExecution":{"shape":"WorkflowExecution"},
  916. "workflowType":{"shape":"WorkflowType"},
  917. "details":{"shape":"Data"},
  918. "initiatedEventId":{"shape":"EventId"},
  919. "startedEventId":{"shape":"EventId"}
  920. }
  921. },
  922. "ChildWorkflowExecutionCompletedEventAttributes":{
  923. "type":"structure",
  924. "required":[
  925. "workflowExecution",
  926. "workflowType",
  927. "initiatedEventId",
  928. "startedEventId"
  929. ],
  930. "members":{
  931. "workflowExecution":{"shape":"WorkflowExecution"},
  932. "workflowType":{"shape":"WorkflowType"},
  933. "result":{"shape":"Data"},
  934. "initiatedEventId":{"shape":"EventId"},
  935. "startedEventId":{"shape":"EventId"}
  936. }
  937. },
  938. "ChildWorkflowExecutionFailedEventAttributes":{
  939. "type":"structure",
  940. "required":[
  941. "workflowExecution",
  942. "workflowType",
  943. "initiatedEventId",
  944. "startedEventId"
  945. ],
  946. "members":{
  947. "workflowExecution":{"shape":"WorkflowExecution"},
  948. "workflowType":{"shape":"WorkflowType"},
  949. "reason":{"shape":"FailureReason"},
  950. "details":{"shape":"Data"},
  951. "initiatedEventId":{"shape":"EventId"},
  952. "startedEventId":{"shape":"EventId"}
  953. }
  954. },
  955. "ChildWorkflowExecutionStartedEventAttributes":{
  956. "type":"structure",
  957. "required":[
  958. "workflowExecution",
  959. "workflowType",
  960. "initiatedEventId"
  961. ],
  962. "members":{
  963. "workflowExecution":{"shape":"WorkflowExecution"},
  964. "workflowType":{"shape":"WorkflowType"},
  965. "initiatedEventId":{"shape":"EventId"}
  966. }
  967. },
  968. "ChildWorkflowExecutionTerminatedEventAttributes":{
  969. "type":"structure",
  970. "required":[
  971. "workflowExecution",
  972. "workflowType",
  973. "initiatedEventId",
  974. "startedEventId"
  975. ],
  976. "members":{
  977. "workflowExecution":{"shape":"WorkflowExecution"},
  978. "workflowType":{"shape":"WorkflowType"},
  979. "initiatedEventId":{"shape":"EventId"},
  980. "startedEventId":{"shape":"EventId"}
  981. }
  982. },
  983. "ChildWorkflowExecutionTimedOutEventAttributes":{
  984. "type":"structure",
  985. "required":[
  986. "workflowExecution",
  987. "workflowType",
  988. "timeoutType",
  989. "initiatedEventId",
  990. "startedEventId"
  991. ],
  992. "members":{
  993. "workflowExecution":{"shape":"WorkflowExecution"},
  994. "workflowType":{"shape":"WorkflowType"},
  995. "timeoutType":{"shape":"WorkflowExecutionTimeoutType"},
  996. "initiatedEventId":{"shape":"EventId"},
  997. "startedEventId":{"shape":"EventId"}
  998. }
  999. },
  1000. "CloseStatus":{
  1001. "type":"string",
  1002. "enum":[
  1003. "COMPLETED",
  1004. "FAILED",
  1005. "CANCELED",
  1006. "TERMINATED",
  1007. "CONTINUED_AS_NEW",
  1008. "TIMED_OUT"
  1009. ]
  1010. },
  1011. "CloseStatusFilter":{
  1012. "type":"structure",
  1013. "required":["status"],
  1014. "members":{
  1015. "status":{"shape":"CloseStatus"}
  1016. }
  1017. },
  1018. "CompleteWorkflowExecutionDecisionAttributes":{
  1019. "type":"structure",
  1020. "members":{
  1021. "result":{"shape":"Data"}
  1022. }
  1023. },
  1024. "CompleteWorkflowExecutionFailedCause":{
  1025. "type":"string",
  1026. "enum":[
  1027. "UNHANDLED_DECISION",
  1028. "OPERATION_NOT_PERMITTED"
  1029. ]
  1030. },
  1031. "CompleteWorkflowExecutionFailedEventAttributes":{
  1032. "type":"structure",
  1033. "required":[
  1034. "cause",
  1035. "decisionTaskCompletedEventId"
  1036. ],
  1037. "members":{
  1038. "cause":{"shape":"CompleteWorkflowExecutionFailedCause"},
  1039. "decisionTaskCompletedEventId":{"shape":"EventId"}
  1040. }
  1041. },
  1042. "ContinueAsNewWorkflowExecutionDecisionAttributes":{
  1043. "type":"structure",
  1044. "members":{
  1045. "input":{"shape":"Data"},
  1046. "executionStartToCloseTimeout":{"shape":"DurationInSecondsOptional"},
  1047. "taskList":{"shape":"TaskList"},
  1048. "taskPriority":{"shape":"TaskPriority"},
  1049. "taskStartToCloseTimeout":{"shape":"DurationInSecondsOptional"},
  1050. "childPolicy":{"shape":"ChildPolicy"},
  1051. "tagList":{"shape":"TagList"},
  1052. "workflowTypeVersion":{"shape":"Version"},
  1053. "lambdaRole":{"shape":"Arn"}
  1054. }
  1055. },
  1056. "ContinueAsNewWorkflowExecutionFailedCause":{
  1057. "type":"string",
  1058. "enum":[
  1059. "UNHANDLED_DECISION",
  1060. "WORKFLOW_TYPE_DEPRECATED",
  1061. "WORKFLOW_TYPE_DOES_NOT_EXIST",
  1062. "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED",
  1063. "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED",
  1064. "DEFAULT_TASK_LIST_UNDEFINED",
  1065. "DEFAULT_CHILD_POLICY_UNDEFINED",
  1066. "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED",
  1067. "OPERATION_NOT_PERMITTED"
  1068. ]
  1069. },
  1070. "ContinueAsNewWorkflowExecutionFailedEventAttributes":{
  1071. "type":"structure",
  1072. "required":[
  1073. "cause",
  1074. "decisionTaskCompletedEventId"
  1075. ],
  1076. "members":{
  1077. "cause":{"shape":"ContinueAsNewWorkflowExecutionFailedCause"},
  1078. "decisionTaskCompletedEventId":{"shape":"EventId"}
  1079. }
  1080. },
  1081. "Count":{
  1082. "type":"integer",
  1083. "min":0
  1084. },
  1085. "CountClosedWorkflowExecutionsInput":{
  1086. "type":"structure",
  1087. "required":["domain"],
  1088. "members":{
  1089. "domain":{"shape":"DomainName"},
  1090. "startTimeFilter":{"shape":"ExecutionTimeFilter"},
  1091. "closeTimeFilter":{"shape":"ExecutionTimeFilter"},
  1092. "executionFilter":{"shape":"WorkflowExecutionFilter"},
  1093. "typeFilter":{"shape":"WorkflowTypeFilter"},
  1094. "tagFilter":{"shape":"TagFilter"},
  1095. "closeStatusFilter":{"shape":"CloseStatusFilter"}
  1096. }
  1097. },
  1098. "CountOpenWorkflowExecutionsInput":{
  1099. "type":"structure",
  1100. "required":[
  1101. "domain",
  1102. "startTimeFilter"
  1103. ],
  1104. "members":{
  1105. "domain":{"shape":"DomainName"},
  1106. "startTimeFilter":{"shape":"ExecutionTimeFilter"},
  1107. "typeFilter":{"shape":"WorkflowTypeFilter"},
  1108. "tagFilter":{"shape":"TagFilter"},
  1109. "executionFilter":{"shape":"WorkflowExecutionFilter"}
  1110. }
  1111. },
  1112. "CountPendingActivityTasksInput":{
  1113. "type":"structure",
  1114. "required":[
  1115. "domain",
  1116. "taskList"
  1117. ],
  1118. "members":{
  1119. "domain":{"shape":"DomainName"},
  1120. "taskList":{"shape":"TaskList"}
  1121. }
  1122. },
  1123. "CountPendingDecisionTasksInput":{
  1124. "type":"structure",
  1125. "required":[
  1126. "domain",
  1127. "taskList"
  1128. ],
  1129. "members":{
  1130. "domain":{"shape":"DomainName"},
  1131. "taskList":{"shape":"TaskList"}
  1132. }
  1133. },
  1134. "Data":{
  1135. "type":"string",
  1136. "max":32768
  1137. },
  1138. "Decision":{
  1139. "type":"structure",
  1140. "required":["decisionType"],
  1141. "members":{
  1142. "decisionType":{"shape":"DecisionType"},
  1143. "scheduleActivityTaskDecisionAttributes":{"shape":"ScheduleActivityTaskDecisionAttributes"},
  1144. "requestCancelActivityTaskDecisionAttributes":{"shape":"RequestCancelActivityTaskDecisionAttributes"},
  1145. "completeWorkflowExecutionDecisionAttributes":{"shape":"CompleteWorkflowExecutionDecisionAttributes"},
  1146. "failWorkflowExecutionDecisionAttributes":{"shape":"FailWorkflowExecutionDecisionAttributes"},
  1147. "cancelWorkflowExecutionDecisionAttributes":{"shape":"CancelWorkflowExecutionDecisionAttributes"},
  1148. "continueAsNewWorkflowExecutionDecisionAttributes":{"shape":"ContinueAsNewWorkflowExecutionDecisionAttributes"},
  1149. "recordMarkerDecisionAttributes":{"shape":"RecordMarkerDecisionAttributes"},
  1150. "startTimerDecisionAttributes":{"shape":"StartTimerDecisionAttributes"},
  1151. "cancelTimerDecisionAttributes":{"shape":"CancelTimerDecisionAttributes"},
  1152. "signalExternalWorkflowExecutionDecisionAttributes":{"shape":"SignalExternalWorkflowExecutionDecisionAttributes"},
  1153. "requestCancelExternalWorkflowExecutionDecisionAttributes":{"shape":"RequestCancelExternalWorkflowExecutionDecisionAttributes"},
  1154. "startChildWorkflowExecutionDecisionAttributes":{"shape":"StartChildWorkflowExecutionDecisionAttributes"},
  1155. "scheduleLambdaFunctionDecisionAttributes":{"shape":"ScheduleLambdaFunctionDecisionAttributes"}
  1156. }
  1157. },
  1158. "DecisionList":{
  1159. "type":"list",
  1160. "member":{"shape":"Decision"}
  1161. },
  1162. "DecisionTask":{
  1163. "type":"structure",
  1164. "required":[
  1165. "taskToken",
  1166. "startedEventId",
  1167. "workflowExecution",
  1168. "workflowType",
  1169. "events"
  1170. ],
  1171. "members":{
  1172. "taskToken":{"shape":"TaskToken"},
  1173. "startedEventId":{"shape":"EventId"},
  1174. "workflowExecution":{"shape":"WorkflowExecution"},
  1175. "workflowType":{"shape":"WorkflowType"},
  1176. "events":{"shape":"HistoryEventList"},
  1177. "nextPageToken":{"shape":"PageToken"},
  1178. "previousStartedEventId":{"shape":"EventId"}
  1179. }
  1180. },
  1181. "DecisionTaskCompletedEventAttributes":{
  1182. "type":"structure",
  1183. "required":[
  1184. "scheduledEventId",
  1185. "startedEventId"
  1186. ],
  1187. "members":{
  1188. "executionContext":{"shape":"Data"},
  1189. "scheduledEventId":{"shape":"EventId"},
  1190. "startedEventId":{"shape":"EventId"}
  1191. }
  1192. },
  1193. "DecisionTaskScheduledEventAttributes":{
  1194. "type":"structure",
  1195. "required":["taskList"],
  1196. "members":{
  1197. "taskList":{"shape":"TaskList"},
  1198. "taskPriority":{"shape":"TaskPriority"},
  1199. "startToCloseTimeout":{"shape":"DurationInSecondsOptional"}
  1200. }
  1201. },
  1202. "DecisionTaskStartedEventAttributes":{
  1203. "type":"structure",
  1204. "required":["scheduledEventId"],
  1205. "members":{
  1206. "identity":{"shape":"Identity"},
  1207. "scheduledEventId":{"shape":"EventId"}
  1208. }
  1209. },
  1210. "DecisionTaskTimedOutEventAttributes":{
  1211. "type":"structure",
  1212. "required":[
  1213. "timeoutType",
  1214. "scheduledEventId",
  1215. "startedEventId"
  1216. ],
  1217. "members":{
  1218. "timeoutType":{"shape":"DecisionTaskTimeoutType"},
  1219. "scheduledEventId":{"shape":"EventId"},
  1220. "startedEventId":{"shape":"EventId"}
  1221. }
  1222. },
  1223. "DecisionTaskTimeoutType":{
  1224. "type":"string",
  1225. "enum":["START_TO_CLOSE"]
  1226. },
  1227. "DecisionType":{
  1228. "type":"string",
  1229. "enum":[
  1230. "ScheduleActivityTask",
  1231. "RequestCancelActivityTask",
  1232. "CompleteWorkflowExecution",
  1233. "FailWorkflowExecution",
  1234. "CancelWorkflowExecution",
  1235. "ContinueAsNewWorkflowExecution",
  1236. "RecordMarker",
  1237. "StartTimer",
  1238. "CancelTimer",
  1239. "SignalExternalWorkflowExecution",
  1240. "RequestCancelExternalWorkflowExecution",
  1241. "StartChildWorkflowExecution",
  1242. "ScheduleLambdaFunction"
  1243. ]
  1244. },
  1245. "DefaultUndefinedFault":{
  1246. "type":"structure",
  1247. "members":{
  1248. "message":{"shape":"ErrorMessage"}
  1249. },
  1250. "exception":true
  1251. },
  1252. "DeprecateActivityTypeInput":{
  1253. "type":"structure",
  1254. "required":[
  1255. "domain",
  1256. "activityType"
  1257. ],
  1258. "members":{
  1259. "domain":{"shape":"DomainName"},
  1260. "activityType":{"shape":"ActivityType"}
  1261. }
  1262. },
  1263. "DeprecateDomainInput":{
  1264. "type":"structure",
  1265. "required":["name"],
  1266. "members":{
  1267. "name":{"shape":"DomainName"}
  1268. }
  1269. },
  1270. "DeprecateWorkflowTypeInput":{
  1271. "type":"structure",
  1272. "required":[
  1273. "domain",
  1274. "workflowType"
  1275. ],
  1276. "members":{
  1277. "domain":{"shape":"DomainName"},
  1278. "workflowType":{"shape":"WorkflowType"}
  1279. }
  1280. },
  1281. "DescribeActivityTypeInput":{
  1282. "type":"structure",
  1283. "required":[
  1284. "domain",
  1285. "activityType"
  1286. ],
  1287. "members":{
  1288. "domain":{"shape":"DomainName"},
  1289. "activityType":{"shape":"ActivityType"}
  1290. }
  1291. },
  1292. "DescribeDomainInput":{
  1293. "type":"structure",
  1294. "required":["name"],
  1295. "members":{
  1296. "name":{"shape":"DomainName"}
  1297. }
  1298. },
  1299. "DescribeWorkflowExecutionInput":{
  1300. "type":"structure",
  1301. "required":[
  1302. "domain",
  1303. "execution"
  1304. ],
  1305. "members":{
  1306. "domain":{"shape":"DomainName"},
  1307. "execution":{"shape":"WorkflowExecution"}
  1308. }
  1309. },
  1310. "DescribeWorkflowTypeInput":{
  1311. "type":"structure",
  1312. "required":[
  1313. "domain",
  1314. "workflowType"
  1315. ],
  1316. "members":{
  1317. "domain":{"shape":"DomainName"},
  1318. "workflowType":{"shape":"WorkflowType"}
  1319. }
  1320. },
  1321. "Description":{
  1322. "type":"string",
  1323. "max":1024
  1324. },
  1325. "DomainAlreadyExistsFault":{
  1326. "type":"structure",
  1327. "members":{
  1328. "message":{"shape":"ErrorMessage"}
  1329. },
  1330. "exception":true
  1331. },
  1332. "DomainConfiguration":{
  1333. "type":"structure",
  1334. "required":["workflowExecutionRetentionPeriodInDays"],
  1335. "members":{
  1336. "workflowExecutionRetentionPeriodInDays":{"shape":"DurationInDays"}
  1337. }
  1338. },
  1339. "DomainDeprecatedFault":{
  1340. "type":"structure",
  1341. "members":{
  1342. "message":{"shape":"ErrorMessage"}
  1343. },
  1344. "exception":true
  1345. },
  1346. "DomainDetail":{
  1347. "type":"structure",
  1348. "required":[
  1349. "domainInfo",
  1350. "configuration"
  1351. ],
  1352. "members":{
  1353. "domainInfo":{"shape":"DomainInfo"},
  1354. "configuration":{"shape":"DomainConfiguration"}
  1355. }
  1356. },
  1357. "DomainInfo":{
  1358. "type":"structure",
  1359. "required":[
  1360. "name",
  1361. "status"
  1362. ],
  1363. "members":{
  1364. "name":{"shape":"DomainName"},
  1365. "status":{"shape":"RegistrationStatus"},
  1366. "description":{"shape":"Description"}
  1367. }
  1368. },
  1369. "DomainInfoList":{
  1370. "type":"list",
  1371. "member":{"shape":"DomainInfo"}
  1372. },
  1373. "DomainInfos":{
  1374. "type":"structure",
  1375. "required":["domainInfos"],
  1376. "members":{
  1377. "domainInfos":{"shape":"DomainInfoList"},
  1378. "nextPageToken":{"shape":"PageToken"}
  1379. }
  1380. },
  1381. "DomainName":{
  1382. "type":"string",
  1383. "min":1,
  1384. "max":256
  1385. },
  1386. "DurationInDays":{
  1387. "type":"string",
  1388. "min":1,
  1389. "max":8
  1390. },
  1391. "DurationInSeconds":{
  1392. "type":"string",
  1393. "min":1,
  1394. "max":8
  1395. },
  1396. "DurationInSecondsOptional":{
  1397. "type":"string",
  1398. "max":8
  1399. },
  1400. "ErrorMessage":{"type":"string"},
  1401. "EventId":{"type":"long"},
  1402. "EventType":{
  1403. "type":"string",
  1404. "enum":[
  1405. "WorkflowExecutionStarted",
  1406. "WorkflowExecutionCancelRequested",
  1407. "WorkflowExecutionCompleted",
  1408. "CompleteWorkflowExecutionFailed",
  1409. "WorkflowExecutionFailed",
  1410. "FailWorkflowExecutionFailed",
  1411. "WorkflowExecutionTimedOut",
  1412. "WorkflowExecutionCanceled",
  1413. "CancelWorkflowExecutionFailed",
  1414. "WorkflowExecutionContinuedAsNew",
  1415. "ContinueAsNewWorkflowExecutionFailed",
  1416. "WorkflowExecutionTerminated",
  1417. "DecisionTaskScheduled",
  1418. "DecisionTaskStarted",
  1419. "DecisionTaskCompleted",
  1420. "DecisionTaskTimedOut",
  1421. "ActivityTaskScheduled",
  1422. "ScheduleActivityTaskFailed",
  1423. "ActivityTaskStarted",
  1424. "ActivityTaskCompleted",
  1425. "ActivityTaskFailed",
  1426. "ActivityTaskTimedOut",
  1427. "ActivityTaskCanceled",
  1428. "ActivityTaskCancelRequested",
  1429. "RequestCancelActivityTaskFailed",
  1430. "WorkflowExecutionSignaled",
  1431. "MarkerRecorded",
  1432. "RecordMarkerFailed",
  1433. "TimerStarted",
  1434. "StartTimerFailed",
  1435. "TimerFired",
  1436. "TimerCanceled",
  1437. "CancelTimerFailed",
  1438. "StartChildWorkflowExecutionInitiated",
  1439. "StartChildWorkflowExecutionFailed",
  1440. "ChildWorkflowExecutionStarted",
  1441. "ChildWorkflowExecutionCompleted",
  1442. "ChildWorkflowExecutionFailed",
  1443. "ChildWorkflowExecutionTimedOut",
  1444. "ChildWorkflowExecutionCanceled",
  1445. "ChildWorkflowExecutionTerminated",
  1446. "SignalExternalWorkflowExecutionInitiated",
  1447. "SignalExternalWorkflowExecutionFailed",
  1448. "ExternalWorkflowExecutionSignaled",
  1449. "RequestCancelExternalWorkflowExecutionInitiated",
  1450. "RequestCancelExternalWorkflowExecutionFailed",
  1451. "ExternalWorkflowExecutionCancelRequested",
  1452. "LambdaFunctionScheduled",
  1453. "LambdaFunctionStarted",
  1454. "LambdaFunctionCompleted",
  1455. "LambdaFunctionFailed",
  1456. "LambdaFunctionTimedOut",
  1457. "ScheduleLambdaFunctionFailed",
  1458. "StartLambdaFunctionFailed"
  1459. ]
  1460. },
  1461. "ExecutionStatus":{
  1462. "type":"string",
  1463. "enum":[
  1464. "OPEN",
  1465. "CLOSED"
  1466. ]
  1467. },
  1468. "ExecutionTimeFilter":{
  1469. "type":"structure",
  1470. "required":["oldestDate"],
  1471. "members":{
  1472. "oldestDate":{"shape":"Timestamp"},
  1473. "latestDate":{"shape":"Timestamp"}
  1474. }
  1475. },
  1476. "ExternalWorkflowExecutionCancelRequestedEventAttributes":{
  1477. "type":"structure",
  1478. "required":[
  1479. "workflowExecution",
  1480. "initiatedEventId"
  1481. ],
  1482. "members":{
  1483. "workflowExecution":{"shape":"WorkflowExecution"},
  1484. "initiatedEventId":{"shape":"EventId"}
  1485. }
  1486. },
  1487. "ExternalWorkflowExecutionSignaledEventAttributes":{
  1488. "type":"structure",
  1489. "required":[
  1490. "workflowExecution",
  1491. "initiatedEventId"
  1492. ],
  1493. "members":{
  1494. "workflowExecution":{"shape":"WorkflowExecution"},
  1495. "initiatedEventId":{"shape":"EventId"}
  1496. }
  1497. },
  1498. "FailWorkflowExecutionDecisionAttributes":{
  1499. "type":"structure",
  1500. "members":{
  1501. "reason":{"shape":"FailureReason"},
  1502. "details":{"shape":"Data"}
  1503. }
  1504. },
  1505. "FailWorkflowExecutionFailedCause":{
  1506. "type":"string",
  1507. "enum":[
  1508. "UNHANDLED_DECISION",
  1509. "OPERATION_NOT_PERMITTED"
  1510. ]
  1511. },
  1512. "FailWorkflowExecutionFailedEventAttributes":{
  1513. "type":"structure",
  1514. "required":[
  1515. "cause",
  1516. "decisionTaskCompletedEventId"
  1517. ],
  1518. "members":{
  1519. "cause":{"shape":"FailWorkflowExecutionFailedCause"},
  1520. "decisionTaskCompletedEventId":{"shape":"EventId"}
  1521. }
  1522. },
  1523. "FailureReason":{
  1524. "type":"string",
  1525. "max":256
  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. },
  1542. "GetWorkflowExecutionHistoryInput":{
  1543. "type":"structure",
  1544. "required":[
  1545. "domain",
  1546. "execution"
  1547. ],
  1548. "members":{
  1549. "domain":{"shape":"DomainName"},
  1550. "execution":{"shape":"WorkflowExecution"},
  1551. "nextPageToken":{"shape":"PageToken"},
  1552. "maximumPageSize":{"shape":"PageSize"},
  1553. "reverseOrder":{"shape":"ReverseOrder"}
  1554. }
  1555. },
  1556. "History":{
  1557. "type":"structure",
  1558. "required":["events"],
  1559. "members":{
  1560. "events":{"shape":"HistoryEventList"},
  1561. "nextPageToken":{"shape":"PageToken"}
  1562. }
  1563. },
  1564. "HistoryEvent":{
  1565. "type":"structure",
  1566. "required":[
  1567. "eventTimestamp",
  1568. "eventType",
  1569. "eventId"
  1570. ],
  1571. "members":{
  1572. "eventTimestamp":{"shape":"Timestamp"},
  1573. "eventType":{"shape":"EventType"},
  1574. "eventId":{"shape":"EventId"},
  1575. "workflowExecutionStartedEventAttributes":{"shape":"WorkflowExecutionStartedEventAttributes"},
  1576. "workflowExecutionCompletedEventAttributes":{"shape":"WorkflowExecutionCompletedEventAttributes"},
  1577. "completeWorkflowExecutionFailedEventAttributes":{"shape":"CompleteWorkflowExecutionFailedEventAttributes"},
  1578. "workflowExecutionFailedEventAttributes":{"shape":"WorkflowExecutionFailedEventAttributes"},
  1579. "failWorkflowExecutionFailedEventAttributes":{"shape":"FailWorkflowExecutionFailedEventAttributes"},
  1580. "workflowExecutionTimedOutEventAttributes":{"shape":"WorkflowExecutionTimedOutEventAttributes"},
  1581. "workflowExecutionCanceledEventAttributes":{"shape":"WorkflowExecutionCanceledEventAttributes"},
  1582. "cancelWorkflowExecutionFailedEventAttributes":{"shape":"CancelWorkflowExecutionFailedEventAttributes"},
  1583. "workflowExecutionContinuedAsNewEventAttributes":{"shape":"WorkflowExecutionContinuedAsNewEventAttributes"},
  1584. "continueAsNewWorkflowExecutionFailedEventAttributes":{"shape":"ContinueAsNewWorkflowExecutionFailedEventAttributes"},
  1585. "workflowExecutionTerminatedEventAttributes":{"shape":"WorkflowExecutionTerminatedEventAttributes"},
  1586. "workflowExecutionCancelRequestedEventAttributes":{"shape":"WorkflowExecutionCancelRequestedEventAttributes"},
  1587. "decisionTaskScheduledEventAttributes":{"shape":"DecisionTaskScheduledEventAttributes"},
  1588. "decisionTaskStartedEventAttributes":{"shape":"DecisionTaskStartedEventAttributes"},
  1589. "decisionTaskCompletedEventAttributes":{"shape":"DecisionTaskCompletedEventAttributes"},
  1590. "decisionTaskTimedOutEventAttributes":{"shape":"DecisionTaskTimedOutEventAttributes"},
  1591. "activityTaskScheduledEventAttributes":{"shape":"ActivityTaskScheduledEventAttributes"},
  1592. "activityTaskStartedEventAttributes":{"shape":"ActivityTaskStartedEventAttributes"},
  1593. "activityTaskCompletedEventAttributes":{"shape":"ActivityTaskCompletedEventAttributes"},
  1594. "activityTaskFailedEventAttributes":{"shape":"ActivityTaskFailedEventAttributes"},
  1595. "activityTaskTimedOutEventAttributes":{"shape":"ActivityTaskTimedOutEventAttributes"},
  1596. "activityTaskCanceledEventAttributes":{"shape":"ActivityTaskCanceledEventAttributes"},
  1597. "activityTaskCancelRequestedEventAttributes":{"shape":"ActivityTaskCancelRequestedEventAttributes"},
  1598. "workflowExecutionSignaledEventAttributes":{"shape":"WorkflowExecutionSignaledEventAttributes"},
  1599. "markerRecordedEventAttributes":{"shape":"MarkerRecordedEventAttributes"},
  1600. "recordMarkerFailedEventAttributes":{"shape":"RecordMarkerFailedEventAttributes"},
  1601. "timerStartedEventAttributes":{"shape":"TimerStartedEventAttributes"},
  1602. "timerFiredEventAttributes":{"shape":"TimerFiredEventAttributes"},
  1603. "timerCanceledEventAttributes":{"shape":"TimerCanceledEventAttributes"},
  1604. "startChildWorkflowExecutionInitiatedEventAttributes":{"shape":"StartChildWorkflowExecutionInitiatedEventAttributes"},
  1605. "childWorkflowExecutionStartedEventAttributes":{"shape":"ChildWorkflowExecutionStartedEventAttributes"},
  1606. "childWorkflowExecutionCompletedEventAttributes":{"shape":"ChildWorkflowExecutionCompletedEventAttributes"},
  1607. "childWorkflowExecutionFailedEventAttributes":{"shape":"ChildWorkflowExecutionFailedEventAttributes"},
  1608. "childWorkflowExecutionTimedOutEventAttributes":{"shape":"ChildWorkflowExecutionTimedOutEventAttributes"},
  1609. "childWorkflowExecutionCanceledEventAttributes":{"shape":"ChildWorkflowExecutionCanceledEventAttributes"},
  1610. "childWorkflowExecutionTerminatedEventAttributes":{"shape":"ChildWorkflowExecutionTerminatedEventAttributes"},
  1611. "signalExternalWorkflowExecutionInitiatedEventAttributes":{"shape":"SignalExternalWorkflowExecutionInitiatedEventAttributes"},
  1612. "externalWorkflowExecutionSignaledEventAttributes":{"shape":"ExternalWorkflowExecutionSignaledEventAttributes"},
  1613. "signalExternalWorkflowExecutionFailedEventAttributes":{"shape":"SignalExternalWorkflowExecutionFailedEventAttributes"},
  1614. "externalWorkflowExecutionCancelRequestedEventAttributes":{"shape":"ExternalWorkflowExecutionCancelRequestedEventAttributes"},
  1615. "requestCancelExternalWorkflowExecutionInitiatedEventAttributes":{"shape":"RequestCancelExternalWorkflowExecutionInitiatedEventAttributes"},
  1616. "requestCancelExternalWorkflowExecutionFailedEventAttributes":{"shape":"RequestCancelExternalWorkflowExecutionFailedEventAttributes"},
  1617. "scheduleActivityTaskFailedEventAttributes":{"shape":"ScheduleActivityTaskFailedEventAttributes"},
  1618. "requestCancelActivityTaskFailedEventAttributes":{"shape":"RequestCancelActivityTaskFailedEventAttributes"},
  1619. "startTimerFailedEventAttributes":{"shape":"StartTimerFailedEventAttributes"},
  1620. "cancelTimerFailedEventAttributes":{"shape":"CancelTimerFailedEventAttributes"},
  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"}
  1629. }
  1630. },
  1631. "HistoryEventList":{
  1632. "type":"list",
  1633. "member":{"shape":"HistoryEvent"}
  1634. },
  1635. "Identity":{
  1636. "type":"string",
  1637. "max":256
  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. },
  1702. "LimitExceededFault":{
  1703. "type":"structure",
  1704. "members":{
  1705. "message":{"shape":"ErrorMessage"}
  1706. },
  1707. "exception":true
  1708. },
  1709. "LimitedData":{
  1710. "type":"string",
  1711. "max":2048
  1712. },
  1713. "ListActivityTypesInput":{
  1714. "type":"structure",
  1715. "required":[
  1716. "domain",
  1717. "registrationStatus"
  1718. ],
  1719. "members":{
  1720. "domain":{"shape":"DomainName"},
  1721. "name":{"shape":"Name"},
  1722. "registrationStatus":{"shape":"RegistrationStatus"},
  1723. "nextPageToken":{"shape":"PageToken"},
  1724. "maximumPageSize":{"shape":"PageSize"},
  1725. "reverseOrder":{"shape":"ReverseOrder"}
  1726. }
  1727. },
  1728. "ListClosedWorkflowExecutionsInput":{
  1729. "type":"structure",
  1730. "required":["domain"],
  1731. "members":{
  1732. "domain":{"shape":"DomainName"},
  1733. "startTimeFilter":{"shape":"ExecutionTimeFilter"},
  1734. "closeTimeFilter":{"shape":"ExecutionTimeFilter"},
  1735. "executionFilter":{"shape":"WorkflowExecutionFilter"},
  1736. "closeStatusFilter":{"shape":"CloseStatusFilter"},
  1737. "typeFilter":{"shape":"WorkflowTypeFilter"},
  1738. "tagFilter":{"shape":"TagFilter"},
  1739. "nextPageToken":{"shape":"PageToken"},
  1740. "maximumPageSize":{"shape":"PageSize"},
  1741. "reverseOrder":{"shape":"ReverseOrder"}
  1742. }
  1743. },
  1744. "ListDomainsInput":{
  1745. "type":"structure",
  1746. "required":["registrationStatus"],
  1747. "members":{
  1748. "nextPageToken":{"shape":"PageToken"},
  1749. "registrationStatus":{"shape":"RegistrationStatus"},
  1750. "maximumPageSize":{"shape":"PageSize"},
  1751. "reverseOrder":{"shape":"ReverseOrder"}
  1752. }
  1753. },
  1754. "ListOpenWorkflowExecutionsInput":{
  1755. "type":"structure",
  1756. "required":[
  1757. "domain",
  1758. "startTimeFilter"
  1759. ],
  1760. "members":{
  1761. "domain":{"shape":"DomainName"},
  1762. "startTimeFilter":{"shape":"ExecutionTimeFilter"},
  1763. "typeFilter":{"shape":"WorkflowTypeFilter"},
  1764. "tagFilter":{"shape":"TagFilter"},
  1765. "nextPageToken":{"shape":"PageToken"},
  1766. "maximumPageSize":{"shape":"PageSize"},
  1767. "reverseOrder":{"shape":"ReverseOrder"},
  1768. "executionFilter":{"shape":"WorkflowExecutionFilter"}
  1769. }
  1770. },
  1771. "ListWorkflowTypesInput":{
  1772. "type":"structure",
  1773. "required":[
  1774. "domain",
  1775. "registrationStatus"
  1776. ],
  1777. "members":{
  1778. "domain":{"shape":"DomainName"},
  1779. "name":{"shape":"Name"},
  1780. "registrationStatus":{"shape":"RegistrationStatus"},
  1781. "nextPageToken":{"shape":"PageToken"},
  1782. "maximumPageSize":{"shape":"PageSize"},
  1783. "reverseOrder":{"shape":"ReverseOrder"}
  1784. }
  1785. },
  1786. "MarkerName":{
  1787. "type":"string",
  1788. "min":1,
  1789. "max":256
  1790. },
  1791. "MarkerRecordedEventAttributes":{
  1792. "type":"structure",
  1793. "required":[
  1794. "markerName",
  1795. "decisionTaskCompletedEventId"
  1796. ],
  1797. "members":{
  1798. "markerName":{"shape":"MarkerName"},
  1799. "details":{"shape":"Data"},
  1800. "decisionTaskCompletedEventId":{"shape":"EventId"}
  1801. }
  1802. },
  1803. "Name":{
  1804. "type":"string",
  1805. "min":1,
  1806. "max":256
  1807. },
  1808. "OpenDecisionTasksCount":{
  1809. "type":"integer",
  1810. "min":0,
  1811. "max":1
  1812. },
  1813. "OperationNotPermittedFault":{
  1814. "type":"structure",
  1815. "members":{
  1816. "message":{"shape":"ErrorMessage"}
  1817. },
  1818. "exception":true
  1819. },
  1820. "PageSize":{
  1821. "type":"integer",
  1822. "min":0,
  1823. "max":1000
  1824. },
  1825. "PageToken":{
  1826. "type":"string",
  1827. "max":2048
  1828. },
  1829. "PendingTaskCount":{
  1830. "type":"structure",
  1831. "required":["count"],
  1832. "members":{
  1833. "count":{"shape":"Count"},
  1834. "truncated":{"shape":"Truncated"}
  1835. }
  1836. },
  1837. "PollForActivityTaskInput":{
  1838. "type":"structure",
  1839. "required":[
  1840. "domain",
  1841. "taskList"
  1842. ],
  1843. "members":{
  1844. "domain":{"shape":"DomainName"},
  1845. "taskList":{"shape":"TaskList"},
  1846. "identity":{"shape":"Identity"}
  1847. }
  1848. },
  1849. "PollForDecisionTaskInput":{
  1850. "type":"structure",
  1851. "required":[
  1852. "domain",
  1853. "taskList"
  1854. ],
  1855. "members":{
  1856. "domain":{"shape":"DomainName"},
  1857. "taskList":{"shape":"TaskList"},
  1858. "identity":{"shape":"Identity"},
  1859. "nextPageToken":{"shape":"PageToken"},
  1860. "maximumPageSize":{"shape":"PageSize"},
  1861. "reverseOrder":{"shape":"ReverseOrder"}
  1862. }
  1863. },
  1864. "RecordActivityTaskHeartbeatInput":{
  1865. "type":"structure",
  1866. "required":["taskToken"],
  1867. "members":{
  1868. "taskToken":{"shape":"TaskToken"},
  1869. "details":{"shape":"LimitedData"}
  1870. }
  1871. },
  1872. "RecordMarkerDecisionAttributes":{
  1873. "type":"structure",
  1874. "required":["markerName"],
  1875. "members":{
  1876. "markerName":{"shape":"MarkerName"},
  1877. "details":{"shape":"Data"}
  1878. }
  1879. },
  1880. "RecordMarkerFailedCause":{
  1881. "type":"string",
  1882. "enum":["OPERATION_NOT_PERMITTED"]
  1883. },
  1884. "RecordMarkerFailedEventAttributes":{
  1885. "type":"structure",
  1886. "required":[
  1887. "markerName",
  1888. "cause",
  1889. "decisionTaskCompletedEventId"
  1890. ],
  1891. "members":{
  1892. "markerName":{"shape":"MarkerName"},
  1893. "cause":{"shape":"RecordMarkerFailedCause"},
  1894. "decisionTaskCompletedEventId":{"shape":"EventId"}
  1895. }
  1896. },
  1897. "RegisterActivityTypeInput":{
  1898. "type":"structure",
  1899. "required":[
  1900. "domain",
  1901. "name",
  1902. "version"
  1903. ],
  1904. "members":{
  1905. "domain":{"shape":"DomainName"},
  1906. "name":{"shape":"Name"},
  1907. "version":{"shape":"Version"},
  1908. "description":{"shape":"Description"},
  1909. "defaultTaskStartToCloseTimeout":{"shape":"DurationInSecondsOptional"},
  1910. "defaultTaskHeartbeatTimeout":{"shape":"DurationInSecondsOptional"},
  1911. "defaultTaskList":{"shape":"TaskList"},
  1912. "defaultTaskPriority":{"shape":"TaskPriority"},
  1913. "defaultTaskScheduleToStartTimeout":{"shape":"DurationInSecondsOptional"},
  1914. "defaultTaskScheduleToCloseTimeout":{"shape":"DurationInSecondsOptional"}
  1915. }
  1916. },
  1917. "RegisterDomainInput":{
  1918. "type":"structure",
  1919. "required":[
  1920. "name",
  1921. "workflowExecutionRetentionPeriodInDays"
  1922. ],
  1923. "members":{
  1924. "name":{"shape":"DomainName"},
  1925. "description":{"shape":"Description"},
  1926. "workflowExecutionRetentionPeriodInDays":{"shape":"DurationInDays"}
  1927. }
  1928. },
  1929. "RegisterWorkflowTypeInput":{
  1930. "type":"structure",
  1931. "required":[
  1932. "domain",
  1933. "name",
  1934. "version"
  1935. ],
  1936. "members":{
  1937. "domain":{"shape":"DomainName"},
  1938. "name":{"shape":"Name"},
  1939. "version":{"shape":"Version"},
  1940. "description":{"shape":"Description"},
  1941. "defaultTaskStartToCloseTimeout":{"shape":"DurationInSecondsOptional"},
  1942. "defaultExecutionStartToCloseTimeout":{"shape":"DurationInSecondsOptional"},
  1943. "defaultTaskList":{"shape":"TaskList"},
  1944. "defaultTaskPriority":{"shape":"TaskPriority"},
  1945. "defaultChildPolicy":{"shape":"ChildPolicy"},
  1946. "defaultLambdaRole":{"shape":"Arn"}
  1947. }
  1948. },
  1949. "RegistrationStatus":{
  1950. "type":"string",
  1951. "enum":[
  1952. "REGISTERED",
  1953. "DEPRECATED"
  1954. ]
  1955. },
  1956. "RequestCancelActivityTaskDecisionAttributes":{
  1957. "type":"structure",
  1958. "required":["activityId"],
  1959. "members":{
  1960. "activityId":{"shape":"ActivityId"}
  1961. }
  1962. },
  1963. "RequestCancelActivityTaskFailedCause":{
  1964. "type":"string",
  1965. "enum":[
  1966. "ACTIVITY_ID_UNKNOWN",
  1967. "OPERATION_NOT_PERMITTED"
  1968. ]
  1969. },
  1970. "RequestCancelActivityTaskFailedEventAttributes":{
  1971. "type":"structure",
  1972. "required":[
  1973. "activityId",
  1974. "cause",
  1975. "decisionTaskCompletedEventId"
  1976. ],
  1977. "members":{
  1978. "activityId":{"shape":"ActivityId"},
  1979. "cause":{"shape":"RequestCancelActivityTaskFailedCause"},
  1980. "decisionTaskCompletedEventId":{"shape":"EventId"}
  1981. }
  1982. },
  1983. "RequestCancelExternalWorkflowExecutionDecisionAttributes":{
  1984. "type":"structure",
  1985. "required":["workflowId"],
  1986. "members":{
  1987. "workflowId":{"shape":"WorkflowId"},
  1988. "runId":{"shape":"RunIdOptional"},
  1989. "control":{"shape":"Data"}
  1990. }
  1991. },
  1992. "RequestCancelExternalWorkflowExecutionFailedCause":{
  1993. "type":"string",
  1994. "enum":[
  1995. "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION",
  1996. "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",
  1997. "OPERATION_NOT_PERMITTED"
  1998. ]
  1999. },
  2000. "RequestCancelExternalWorkflowExecutionFailedEventAttributes":{
  2001. "type":"structure",
  2002. "required":[
  2003. "workflowId",
  2004. "cause",
  2005. "initiatedEventId",
  2006. "decisionTaskCompletedEventId"
  2007. ],
  2008. "members":{
  2009. "workflowId":{"shape":"WorkflowId"},
  2010. "runId":{"shape":"RunIdOptional"},
  2011. "cause":{"shape":"RequestCancelExternalWorkflowExecutionFailedCause"},
  2012. "initiatedEventId":{"shape":"EventId"},
  2013. "decisionTaskCompletedEventId":{"shape":"EventId"},
  2014. "control":{"shape":"Data"}
  2015. }
  2016. },
  2017. "RequestCancelExternalWorkflowExecutionInitiatedEventAttributes":{
  2018. "type":"structure",
  2019. "required":[
  2020. "workflowId",
  2021. "decisionTaskCompletedEventId"
  2022. ],
  2023. "members":{
  2024. "workflowId":{"shape":"WorkflowId"},
  2025. "runId":{"shape":"RunIdOptional"},
  2026. "decisionTaskCompletedEventId":{"shape":"EventId"},
  2027. "control":{"shape":"Data"}
  2028. }
  2029. },
  2030. "RequestCancelWorkflowExecutionInput":{
  2031. "type":"structure",
  2032. "required":[
  2033. "domain",
  2034. "workflowId"
  2035. ],
  2036. "members":{
  2037. "domain":{"shape":"DomainName"},
  2038. "workflowId":{"shape":"WorkflowId"},
  2039. "runId":{"shape":"RunIdOptional"}
  2040. }
  2041. },
  2042. "RespondActivityTaskCanceledInput":{
  2043. "type":"structure",
  2044. "required":["taskToken"],
  2045. "members":{
  2046. "taskToken":{"shape":"TaskToken"},
  2047. "details":{"shape":"Data"}
  2048. }
  2049. },
  2050. "RespondActivityTaskCompletedInput":{
  2051. "type":"structure",
  2052. "required":["taskToken"],
  2053. "members":{
  2054. "taskToken":{"shape":"TaskToken"},
  2055. "result":{"shape":"Data"}
  2056. }
  2057. },
  2058. "RespondActivityTaskFailedInput":{
  2059. "type":"structure",
  2060. "required":["taskToken"],
  2061. "members":{
  2062. "taskToken":{"shape":"TaskToken"},
  2063. "reason":{"shape":"FailureReason"},
  2064. "details":{"shape":"Data"}
  2065. }
  2066. },
  2067. "RespondDecisionTaskCompletedInput":{
  2068. "type":"structure",
  2069. "required":["taskToken"],
  2070. "members":{
  2071. "taskToken":{"shape":"TaskToken"},
  2072. "decisions":{"shape":"DecisionList"},
  2073. "executionContext":{"shape":"Data"}
  2074. }
  2075. },
  2076. "ReverseOrder":{"type":"boolean"},
  2077. "Run":{
  2078. "type":"structure",
  2079. "members":{
  2080. "runId":{"shape":"RunId"}
  2081. }
  2082. },
  2083. "RunId":{
  2084. "type":"string",
  2085. "min":1,
  2086. "max":64
  2087. },
  2088. "RunIdOptional":{
  2089. "type":"string",
  2090. "max":64
  2091. },
  2092. "ScheduleActivityTaskDecisionAttributes":{
  2093. "type":"structure",
  2094. "required":[
  2095. "activityType",
  2096. "activityId"
  2097. ],
  2098. "members":{
  2099. "activityType":{"shape":"ActivityType"},
  2100. "activityId":{"shape":"ActivityId"},
  2101. "control":{"shape":"Data"},
  2102. "input":{"shape":"Data"},
  2103. "scheduleToCloseTimeout":{"shape":"DurationInSecondsOptional"},
  2104. "taskList":{"shape":"TaskList"},
  2105. "taskPriority":{"shape":"TaskPriority"},
  2106. "scheduleToStartTimeout":{"shape":"DurationInSecondsOptional"},
  2107. "startToCloseTimeout":{"shape":"DurationInSecondsOptional"},
  2108. "heartbeatTimeout":{"shape":"DurationInSecondsOptional"}
  2109. }
  2110. },
  2111. "ScheduleActivityTaskFailedCause":{
  2112. "type":"string",
  2113. "enum":[
  2114. "ACTIVITY_TYPE_DEPRECATED",
  2115. "ACTIVITY_TYPE_DOES_NOT_EXIST",
  2116. "ACTIVITY_ID_ALREADY_IN_USE",
  2117. "OPEN_ACTIVITIES_LIMIT_EXCEEDED",
  2118. "ACTIVITY_CREATION_RATE_EXCEEDED",
  2119. "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED",
  2120. "DEFAULT_TASK_LIST_UNDEFINED",
  2121. "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED",
  2122. "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED",
  2123. "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED",
  2124. "OPERATION_NOT_PERMITTED"
  2125. ]
  2126. },
  2127. "ScheduleActivityTaskFailedEventAttributes":{
  2128. "type":"structure",
  2129. "required":[
  2130. "activityType",
  2131. "activityId",
  2132. "cause",
  2133. "decisionTaskCompletedEventId"
  2134. ],
  2135. "members":{
  2136. "activityType":{"shape":"ActivityType"},
  2137. "activityId":{"shape":"ActivityId"},
  2138. "cause":{"shape":"ScheduleActivityTaskFailedCause"},
  2139. "decisionTaskCompletedEventId":{"shape":"EventId"}
  2140. }
  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. },
  2179. "SignalExternalWorkflowExecutionDecisionAttributes":{
  2180. "type":"structure",
  2181. "required":[
  2182. "workflowId",
  2183. "signalName"
  2184. ],
  2185. "members":{
  2186. "workflowId":{"shape":"WorkflowId"},
  2187. "runId":{"shape":"RunIdOptional"},
  2188. "signalName":{"shape":"SignalName"},
  2189. "input":{"shape":"Data"},
  2190. "control":{"shape":"Data"}
  2191. }
  2192. },
  2193. "SignalExternalWorkflowExecutionFailedCause":{
  2194. "type":"string",
  2195. "enum":[
  2196. "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION",
  2197. "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",
  2198. "OPERATION_NOT_PERMITTED"
  2199. ]
  2200. },
  2201. "SignalExternalWorkflowExecutionFailedEventAttributes":{
  2202. "type":"structure",
  2203. "required":[
  2204. "workflowId",
  2205. "cause",
  2206. "initiatedEventId",
  2207. "decisionTaskCompletedEventId"
  2208. ],
  2209. "members":{
  2210. "workflowId":{"shape":"WorkflowId"},
  2211. "runId":{"shape":"RunIdOptional"},
  2212. "cause":{"shape":"SignalExternalWorkflowExecutionFailedCause"},
  2213. "initiatedEventId":{"shape":"EventId"},
  2214. "decisionTaskCompletedEventId":{"shape":"EventId"},
  2215. "control":{"shape":"Data"}
  2216. }
  2217. },
  2218. "SignalExternalWorkflowExecutionInitiatedEventAttributes":{
  2219. "type":"structure",
  2220. "required":[
  2221. "workflowId",
  2222. "signalName",
  2223. "decisionTaskCompletedEventId"
  2224. ],
  2225. "members":{
  2226. "workflowId":{"shape":"WorkflowId"},
  2227. "runId":{"shape":"RunIdOptional"},
  2228. "signalName":{"shape":"SignalName"},
  2229. "input":{"shape":"Data"},
  2230. "decisionTaskCompletedEventId":{"shape":"EventId"},
  2231. "control":{"shape":"Data"}
  2232. }
  2233. },
  2234. "SignalName":{
  2235. "type":"string",
  2236. "min":1,
  2237. "max":256
  2238. },
  2239. "SignalWorkflowExecutionInput":{
  2240. "type":"structure",
  2241. "required":[
  2242. "domain",
  2243. "workflowId",
  2244. "signalName"
  2245. ],
  2246. "members":{
  2247. "domain":{"shape":"DomainName"},
  2248. "workflowId":{"shape":"WorkflowId"},
  2249. "runId":{"shape":"RunIdOptional"},
  2250. "signalName":{"shape":"SignalName"},
  2251. "input":{"shape":"Data"}
  2252. }
  2253. },
  2254. "StartChildWorkflowExecutionDecisionAttributes":{
  2255. "type":"structure",
  2256. "required":[
  2257. "workflowType",
  2258. "workflowId"
  2259. ],
  2260. "members":{
  2261. "workflowType":{"shape":"WorkflowType"},
  2262. "workflowId":{"shape":"WorkflowId"},
  2263. "control":{"shape":"Data"},
  2264. "input":{"shape":"Data"},
  2265. "executionStartToCloseTimeout":{"shape":"DurationInSecondsOptional"},
  2266. "taskList":{"shape":"TaskList"},
  2267. "taskPriority":{"shape":"TaskPriority"},
  2268. "taskStartToCloseTimeout":{"shape":"DurationInSecondsOptional"},
  2269. "childPolicy":{"shape":"ChildPolicy"},
  2270. "tagList":{"shape":"TagList"},
  2271. "lambdaRole":{"shape":"Arn"}
  2272. }
  2273. },
  2274. "StartChildWorkflowExecutionFailedCause":{
  2275. "type":"string",
  2276. "enum":[
  2277. "WORKFLOW_TYPE_DOES_NOT_EXIST",
  2278. "WORKFLOW_TYPE_DEPRECATED",
  2279. "OPEN_CHILDREN_LIMIT_EXCEEDED",
  2280. "OPEN_WORKFLOWS_LIMIT_EXCEEDED",
  2281. "CHILD_CREATION_RATE_EXCEEDED",
  2282. "WORKFLOW_ALREADY_RUNNING",
  2283. "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED",
  2284. "DEFAULT_TASK_LIST_UNDEFINED",
  2285. "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED",
  2286. "DEFAULT_CHILD_POLICY_UNDEFINED",
  2287. "OPERATION_NOT_PERMITTED"
  2288. ]
  2289. },
  2290. "StartChildWorkflowExecutionFailedEventAttributes":{
  2291. "type":"structure",
  2292. "required":[
  2293. "workflowType",
  2294. "cause",
  2295. "workflowId",
  2296. "initiatedEventId",
  2297. "decisionTaskCompletedEventId"
  2298. ],
  2299. "members":{
  2300. "workflowType":{"shape":"WorkflowType"},
  2301. "cause":{"shape":"StartChildWorkflowExecutionFailedCause"},
  2302. "workflowId":{"shape":"WorkflowId"},
  2303. "initiatedEventId":{"shape":"EventId"},
  2304. "decisionTaskCompletedEventId":{"shape":"EventId"},
  2305. "control":{"shape":"Data"}
  2306. }
  2307. },
  2308. "StartChildWorkflowExecutionInitiatedEventAttributes":{
  2309. "type":"structure",
  2310. "required":[
  2311. "workflowId",
  2312. "workflowType",
  2313. "taskList",
  2314. "decisionTaskCompletedEventId",
  2315. "childPolicy"
  2316. ],
  2317. "members":{
  2318. "workflowId":{"shape":"WorkflowId"},
  2319. "workflowType":{"shape":"WorkflowType"},
  2320. "control":{"shape":"Data"},
  2321. "input":{"shape":"Data"},
  2322. "executionStartToCloseTimeout":{"shape":"DurationInSecondsOptional"},
  2323. "taskList":{"shape":"TaskList"},
  2324. "taskPriority":{"shape":"TaskPriority"},
  2325. "decisionTaskCompletedEventId":{"shape":"EventId"},
  2326. "childPolicy":{"shape":"ChildPolicy"},
  2327. "taskStartToCloseTimeout":{"shape":"DurationInSecondsOptional"},
  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"}
  2342. }
  2343. },
  2344. "StartTimerDecisionAttributes":{
  2345. "type":"structure",
  2346. "required":[
  2347. "timerId",
  2348. "startToFireTimeout"
  2349. ],
  2350. "members":{
  2351. "timerId":{"shape":"TimerId"},
  2352. "control":{"shape":"Data"},
  2353. "startToFireTimeout":{"shape":"DurationInSeconds"}
  2354. }
  2355. },
  2356. "StartTimerFailedCause":{
  2357. "type":"string",
  2358. "enum":[
  2359. "TIMER_ID_ALREADY_IN_USE",
  2360. "OPEN_TIMERS_LIMIT_EXCEEDED",
  2361. "TIMER_CREATION_RATE_EXCEEDED",
  2362. "OPERATION_NOT_PERMITTED"
  2363. ]
  2364. },
  2365. "StartTimerFailedEventAttributes":{
  2366. "type":"structure",
  2367. "required":[
  2368. "timerId",
  2369. "cause",
  2370. "decisionTaskCompletedEventId"
  2371. ],
  2372. "members":{
  2373. "timerId":{"shape":"TimerId"},
  2374. "cause":{"shape":"StartTimerFailedCause"},
  2375. "decisionTaskCompletedEventId":{"shape":"EventId"}
  2376. }
  2377. },
  2378. "StartWorkflowExecutionInput":{
  2379. "type":"structure",
  2380. "required":[
  2381. "domain",
  2382. "workflowId",
  2383. "workflowType"
  2384. ],
  2385. "members":{
  2386. "domain":{"shape":"DomainName"},
  2387. "workflowId":{"shape":"WorkflowId"},
  2388. "workflowType":{"shape":"WorkflowType"},
  2389. "taskList":{"shape":"TaskList"},
  2390. "taskPriority":{"shape":"TaskPriority"},
  2391. "input":{"shape":"Data"},
  2392. "executionStartToCloseTimeout":{"shape":"DurationInSecondsOptional"},
  2393. "tagList":{"shape":"TagList"},
  2394. "taskStartToCloseTimeout":{"shape":"DurationInSecondsOptional"},
  2395. "childPolicy":{"shape":"ChildPolicy"},
  2396. "lambdaRole":{"shape":"Arn"}
  2397. }
  2398. },
  2399. "Tag":{
  2400. "type":"string",
  2401. "min":1,
  2402. "max":256
  2403. },
  2404. "TagFilter":{
  2405. "type":"structure",
  2406. "required":["tag"],
  2407. "members":{
  2408. "tag":{"shape":"Tag"}
  2409. }
  2410. },
  2411. "TagList":{
  2412. "type":"list",
  2413. "member":{"shape":"Tag"},
  2414. "max":5
  2415. },
  2416. "TaskList":{
  2417. "type":"structure",
  2418. "required":["name"],
  2419. "members":{
  2420. "name":{"shape":"Name"}
  2421. }
  2422. },
  2423. "TaskPriority":{
  2424. "type":"string",
  2425. "max":11
  2426. },
  2427. "TaskToken":{
  2428. "type":"string",
  2429. "min":1,
  2430. "max":1024
  2431. },
  2432. "TerminateReason":{
  2433. "type":"string",
  2434. "max":256
  2435. },
  2436. "TerminateWorkflowExecutionInput":{
  2437. "type":"structure",
  2438. "required":[
  2439. "domain",
  2440. "workflowId"
  2441. ],
  2442. "members":{
  2443. "domain":{"shape":"DomainName"},
  2444. "workflowId":{"shape":"WorkflowId"},
  2445. "runId":{"shape":"RunIdOptional"},
  2446. "reason":{"shape":"TerminateReason"},
  2447. "details":{"shape":"Data"},
  2448. "childPolicy":{"shape":"ChildPolicy"}
  2449. }
  2450. },
  2451. "TimerCanceledEventAttributes":{
  2452. "type":"structure",
  2453. "required":[
  2454. "timerId",
  2455. "startedEventId",
  2456. "decisionTaskCompletedEventId"
  2457. ],
  2458. "members":{
  2459. "timerId":{"shape":"TimerId"},
  2460. "startedEventId":{"shape":"EventId"},
  2461. "decisionTaskCompletedEventId":{"shape":"EventId"}
  2462. }
  2463. },
  2464. "TimerFiredEventAttributes":{
  2465. "type":"structure",
  2466. "required":[
  2467. "timerId",
  2468. "startedEventId"
  2469. ],
  2470. "members":{
  2471. "timerId":{"shape":"TimerId"},
  2472. "startedEventId":{"shape":"EventId"}
  2473. }
  2474. },
  2475. "TimerId":{
  2476. "type":"string",
  2477. "min":1,
  2478. "max":256
  2479. },
  2480. "TimerStartedEventAttributes":{
  2481. "type":"structure",
  2482. "required":[
  2483. "timerId",
  2484. "startToFireTimeout",
  2485. "decisionTaskCompletedEventId"
  2486. ],
  2487. "members":{
  2488. "timerId":{"shape":"TimerId"},
  2489. "control":{"shape":"Data"},
  2490. "startToFireTimeout":{"shape":"DurationInSeconds"},
  2491. "decisionTaskCompletedEventId":{"shape":"EventId"}
  2492. }
  2493. },
  2494. "Timestamp":{"type":"timestamp"},
  2495. "Truncated":{"type":"boolean"},
  2496. "TypeAlreadyExistsFault":{
  2497. "type":"structure",
  2498. "members":{
  2499. "message":{"shape":"ErrorMessage"}
  2500. },
  2501. "exception":true
  2502. },
  2503. "TypeDeprecatedFault":{
  2504. "type":"structure",
  2505. "members":{
  2506. "message":{"shape":"ErrorMessage"}
  2507. },
  2508. "exception":true
  2509. },
  2510. "UnknownResourceFault":{
  2511. "type":"structure",
  2512. "members":{
  2513. "message":{"shape":"ErrorMessage"}
  2514. },
  2515. "exception":true
  2516. },
  2517. "Version":{
  2518. "type":"string",
  2519. "min":1,
  2520. "max":64
  2521. },
  2522. "VersionOptional":{
  2523. "type":"string",
  2524. "max":64
  2525. },
  2526. "WorkflowExecution":{
  2527. "type":"structure",
  2528. "required":[
  2529. "workflowId",
  2530. "runId"
  2531. ],
  2532. "members":{
  2533. "workflowId":{"shape":"WorkflowId"},
  2534. "runId":{"shape":"RunId"}
  2535. }
  2536. },
  2537. "WorkflowExecutionAlreadyStartedFault":{
  2538. "type":"structure",
  2539. "members":{
  2540. "message":{"shape":"ErrorMessage"}
  2541. },
  2542. "exception":true
  2543. },
  2544. "WorkflowExecutionCancelRequestedCause":{
  2545. "type":"string",
  2546. "enum":["CHILD_POLICY_APPLIED"]
  2547. },
  2548. "WorkflowExecutionCancelRequestedEventAttributes":{
  2549. "type":"structure",
  2550. "members":{
  2551. "externalWorkflowExecution":{"shape":"WorkflowExecution"},
  2552. "externalInitiatedEventId":{"shape":"EventId"},
  2553. "cause":{"shape":"WorkflowExecutionCancelRequestedCause"}
  2554. }
  2555. },
  2556. "WorkflowExecutionCanceledEventAttributes":{
  2557. "type":"structure",
  2558. "required":["decisionTaskCompletedEventId"],
  2559. "members":{
  2560. "details":{"shape":"Data"},
  2561. "decisionTaskCompletedEventId":{"shape":"EventId"}
  2562. }
  2563. },
  2564. "WorkflowExecutionCompletedEventAttributes":{
  2565. "type":"structure",
  2566. "required":["decisionTaskCompletedEventId"],
  2567. "members":{
  2568. "result":{"shape":"Data"},
  2569. "decisionTaskCompletedEventId":{"shape":"EventId"}
  2570. }
  2571. },
  2572. "WorkflowExecutionConfiguration":{
  2573. "type":"structure",
  2574. "required":[
  2575. "taskStartToCloseTimeout",
  2576. "executionStartToCloseTimeout",
  2577. "taskList",
  2578. "childPolicy"
  2579. ],
  2580. "members":{
  2581. "taskStartToCloseTimeout":{"shape":"DurationInSeconds"},
  2582. "executionStartToCloseTimeout":{"shape":"DurationInSeconds"},
  2583. "taskList":{"shape":"TaskList"},
  2584. "taskPriority":{"shape":"TaskPriority"},
  2585. "childPolicy":{"shape":"ChildPolicy"},
  2586. "lambdaRole":{"shape":"Arn"}
  2587. }
  2588. },
  2589. "WorkflowExecutionContinuedAsNewEventAttributes":{
  2590. "type":"structure",
  2591. "required":[
  2592. "decisionTaskCompletedEventId",
  2593. "newExecutionRunId",
  2594. "taskList",
  2595. "childPolicy",
  2596. "workflowType"
  2597. ],
  2598. "members":{
  2599. "input":{"shape":"Data"},
  2600. "decisionTaskCompletedEventId":{"shape":"EventId"},
  2601. "newExecutionRunId":{"shape":"RunId"},
  2602. "executionStartToCloseTimeout":{"shape":"DurationInSecondsOptional"},
  2603. "taskList":{"shape":"TaskList"},
  2604. "taskPriority":{"shape":"TaskPriority"},
  2605. "taskStartToCloseTimeout":{"shape":"DurationInSecondsOptional"},
  2606. "childPolicy":{"shape":"ChildPolicy"},
  2607. "tagList":{"shape":"TagList"},
  2608. "workflowType":{"shape":"WorkflowType"},
  2609. "lambdaRole":{"shape":"Arn"}
  2610. }
  2611. },
  2612. "WorkflowExecutionCount":{
  2613. "type":"structure",
  2614. "required":["count"],
  2615. "members":{
  2616. "count":{"shape":"Count"},
  2617. "truncated":{"shape":"Truncated"}
  2618. }
  2619. },
  2620. "WorkflowExecutionDetail":{
  2621. "type":"structure",
  2622. "required":[
  2623. "executionInfo",
  2624. "executionConfiguration",
  2625. "openCounts"
  2626. ],
  2627. "members":{
  2628. "executionInfo":{"shape":"WorkflowExecutionInfo"},
  2629. "executionConfiguration":{"shape":"WorkflowExecutionConfiguration"},
  2630. "openCounts":{"shape":"WorkflowExecutionOpenCounts"},
  2631. "latestActivityTaskTimestamp":{"shape":"Timestamp"},
  2632. "latestExecutionContext":{"shape":"Data"}
  2633. }
  2634. },
  2635. "WorkflowExecutionFailedEventAttributes":{
  2636. "type":"structure",
  2637. "required":["decisionTaskCompletedEventId"],
  2638. "members":{
  2639. "reason":{"shape":"FailureReason"},
  2640. "details":{"shape":"Data"},
  2641. "decisionTaskCompletedEventId":{"shape":"EventId"}
  2642. }
  2643. },
  2644. "WorkflowExecutionFilter":{
  2645. "type":"structure",
  2646. "required":["workflowId"],
  2647. "members":{
  2648. "workflowId":{"shape":"WorkflowId"}
  2649. }
  2650. },
  2651. "WorkflowExecutionInfo":{
  2652. "type":"structure",
  2653. "required":[
  2654. "execution",
  2655. "workflowType",
  2656. "startTimestamp",
  2657. "executionStatus"
  2658. ],
  2659. "members":{
  2660. "execution":{"shape":"WorkflowExecution"},
  2661. "workflowType":{"shape":"WorkflowType"},
  2662. "startTimestamp":{"shape":"Timestamp"},
  2663. "closeTimestamp":{"shape":"Timestamp"},
  2664. "executionStatus":{"shape":"ExecutionStatus"},
  2665. "closeStatus":{"shape":"CloseStatus"},
  2666. "parent":{"shape":"WorkflowExecution"},
  2667. "tagList":{"shape":"TagList"},
  2668. "cancelRequested":{"shape":"Canceled"}
  2669. }
  2670. },
  2671. "WorkflowExecutionInfoList":{
  2672. "type":"list",
  2673. "member":{"shape":"WorkflowExecutionInfo"}
  2674. },
  2675. "WorkflowExecutionInfos":{
  2676. "type":"structure",
  2677. "required":["executionInfos"],
  2678. "members":{
  2679. "executionInfos":{"shape":"WorkflowExecutionInfoList"},
  2680. "nextPageToken":{"shape":"PageToken"}
  2681. }
  2682. },
  2683. "WorkflowExecutionOpenCounts":{
  2684. "type":"structure",
  2685. "required":[
  2686. "openActivityTasks",
  2687. "openDecisionTasks",
  2688. "openTimers",
  2689. "openChildWorkflowExecutions"
  2690. ],
  2691. "members":{
  2692. "openActivityTasks":{"shape":"Count"},
  2693. "openDecisionTasks":{"shape":"OpenDecisionTasksCount"},
  2694. "openTimers":{"shape":"Count"},
  2695. "openChildWorkflowExecutions":{"shape":"Count"},
  2696. "openLambdaFunctions":{"shape":"Count"}
  2697. }
  2698. },
  2699. "WorkflowExecutionSignaledEventAttributes":{
  2700. "type":"structure",
  2701. "required":["signalName"],
  2702. "members":{
  2703. "signalName":{"shape":"SignalName"},
  2704. "input":{"shape":"Data"},
  2705. "externalWorkflowExecution":{"shape":"WorkflowExecution"},
  2706. "externalInitiatedEventId":{"shape":"EventId"}
  2707. }
  2708. },
  2709. "WorkflowExecutionStartedEventAttributes":{
  2710. "type":"structure",
  2711. "required":[
  2712. "childPolicy",
  2713. "taskList",
  2714. "workflowType"
  2715. ],
  2716. "members":{
  2717. "input":{"shape":"Data"},
  2718. "executionStartToCloseTimeout":{"shape":"DurationInSecondsOptional"},
  2719. "taskStartToCloseTimeout":{"shape":"DurationInSecondsOptional"},
  2720. "childPolicy":{"shape":"ChildPolicy"},
  2721. "taskList":{"shape":"TaskList"},
  2722. "workflowType":{"shape":"WorkflowType"},
  2723. "tagList":{"shape":"TagList"},
  2724. "taskPriority":{"shape":"TaskPriority"},
  2725. "continuedExecutionRunId":{"shape":"RunIdOptional"},
  2726. "parentWorkflowExecution":{"shape":"WorkflowExecution"},
  2727. "parentInitiatedEventId":{"shape":"EventId"},
  2728. "lambdaRole":{"shape":"Arn"}
  2729. }
  2730. },
  2731. "WorkflowExecutionTerminatedCause":{
  2732. "type":"string",
  2733. "enum":[
  2734. "CHILD_POLICY_APPLIED",
  2735. "EVENT_LIMIT_EXCEEDED",
  2736. "OPERATOR_INITIATED"
  2737. ]
  2738. },
  2739. "WorkflowExecutionTerminatedEventAttributes":{
  2740. "type":"structure",
  2741. "required":["childPolicy"],
  2742. "members":{
  2743. "reason":{"shape":"TerminateReason"},
  2744. "details":{"shape":"Data"},
  2745. "childPolicy":{"shape":"ChildPolicy"},
  2746. "cause":{"shape":"WorkflowExecutionTerminatedCause"}
  2747. }
  2748. },
  2749. "WorkflowExecutionTimedOutEventAttributes":{
  2750. "type":"structure",
  2751. "required":[
  2752. "timeoutType",
  2753. "childPolicy"
  2754. ],
  2755. "members":{
  2756. "timeoutType":{"shape":"WorkflowExecutionTimeoutType"},
  2757. "childPolicy":{"shape":"ChildPolicy"}
  2758. }
  2759. },
  2760. "WorkflowExecutionTimeoutType":{
  2761. "type":"string",
  2762. "enum":["START_TO_CLOSE"]
  2763. },
  2764. "WorkflowId":{
  2765. "type":"string",
  2766. "min":1,
  2767. "max":256
  2768. },
  2769. "WorkflowType":{
  2770. "type":"structure",
  2771. "required":[
  2772. "name",
  2773. "version"
  2774. ],
  2775. "members":{
  2776. "name":{"shape":"Name"},
  2777. "version":{"shape":"Version"}
  2778. }
  2779. },
  2780. "WorkflowTypeConfiguration":{
  2781. "type":"structure",
  2782. "members":{
  2783. "defaultTaskStartToCloseTimeout":{"shape":"DurationInSecondsOptional"},
  2784. "defaultExecutionStartToCloseTimeout":{"shape":"DurationInSecondsOptional"},
  2785. "defaultTaskList":{"shape":"TaskList"},
  2786. "defaultTaskPriority":{"shape":"TaskPriority"},
  2787. "defaultChildPolicy":{"shape":"ChildPolicy"},
  2788. "defaultLambdaRole":{"shape":"Arn"}
  2789. }
  2790. },
  2791. "WorkflowTypeDetail":{
  2792. "type":"structure",
  2793. "required":[
  2794. "typeInfo",
  2795. "configuration"
  2796. ],
  2797. "members":{
  2798. "typeInfo":{"shape":"WorkflowTypeInfo"},
  2799. "configuration":{"shape":"WorkflowTypeConfiguration"}
  2800. }
  2801. },
  2802. "WorkflowTypeFilter":{
  2803. "type":"structure",
  2804. "required":["name"],
  2805. "members":{
  2806. "name":{"shape":"Name"},
  2807. "version":{"shape":"VersionOptional"}
  2808. }
  2809. },
  2810. "WorkflowTypeInfo":{
  2811. "type":"structure",
  2812. "required":[
  2813. "workflowType",
  2814. "status",
  2815. "creationDate"
  2816. ],
  2817. "members":{
  2818. "workflowType":{"shape":"WorkflowType"},
  2819. "status":{"shape":"RegistrationStatus"},
  2820. "description":{"shape":"Description"},
  2821. "creationDate":{"shape":"Timestamp"},
  2822. "deprecationDate":{"shape":"Timestamp"}
  2823. }
  2824. },
  2825. "WorkflowTypeInfoList":{
  2826. "type":"list",
  2827. "member":{"shape":"WorkflowTypeInfo"}
  2828. },
  2829. "WorkflowTypeInfos":{
  2830. "type":"structure",
  2831. "required":["typeInfos"],
  2832. "members":{
  2833. "typeInfos":{"shape":"WorkflowTypeInfoList"},
  2834. "nextPageToken":{"shape":"PageToken"}
  2835. }
  2836. }
  2837. }
  2838. }