@aws-sdk/client-sfn 3.34.0 → 3.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (315) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/SFN.js +1 -20
  3. package/dist-cjs/SFNClient.js +35 -0
  4. package/dist-cjs/commands/CreateActivityCommand.js +36 -0
  5. package/dist-cjs/commands/CreateStateMachineCommand.js +36 -0
  6. package/{dist/cjs → dist-cjs}/commands/DeleteActivityCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/DeleteStateMachineCommand.js +2 -33
  8. package/{dist/cjs → dist-cjs}/commands/DescribeActivityCommand.js +2 -30
  9. package/{dist/cjs → dist-cjs}/commands/DescribeExecutionCommand.js +2 -31
  10. package/{dist/cjs → dist-cjs}/commands/DescribeStateMachineCommand.js +2 -30
  11. package/{dist/cjs → dist-cjs}/commands/DescribeStateMachineForExecutionCommand.js +2 -31
  12. package/dist-cjs/commands/GetActivityTaskCommand.js +36 -0
  13. package/dist-cjs/commands/GetExecutionHistoryCommand.js +36 -0
  14. package/{dist/cjs → dist-cjs}/commands/ListActivitiesCommand.js +2 -32
  15. package/dist-cjs/commands/ListExecutionsCommand.js +36 -0
  16. package/{dist/cjs → dist-cjs}/commands/ListStateMachinesCommand.js +2 -32
  17. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -28
  18. package/{dist/cjs → dist-cjs}/commands/SendTaskFailureCommand.js +2 -28
  19. package/dist-cjs/commands/SendTaskHeartbeatCommand.js +36 -0
  20. package/{dist/cjs → dist-cjs}/commands/SendTaskSuccessCommand.js +2 -29
  21. package/{dist/cjs → dist-cjs}/commands/StartExecutionCommand.js +2 -35
  22. package/{dist/cjs → dist-cjs}/commands/StartSyncExecutionCommand.js +2 -27
  23. package/{dist/cjs → dist-cjs}/commands/StopExecutionCommand.js +2 -28
  24. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -32
  25. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
  26. package/dist-cjs/commands/UpdateStateMachineCommand.js +36 -0
  27. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  28. package/{dist/cjs → dist-cjs}/index.js +0 -1
  29. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  30. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -334
  31. package/{dist/cjs → dist-cjs}/pagination/GetExecutionHistoryPaginator.js +1 -12
  32. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  33. package/{dist/cjs → dist-cjs}/pagination/ListActivitiesPaginator.js +1 -12
  34. package/{dist/cjs → dist-cjs}/pagination/ListExecutionsPaginator.js +1 -12
  35. package/{dist/cjs → dist-cjs}/pagination/ListStateMachinesPaginator.js +1 -12
  36. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_0.js +0 -6
  37. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  38. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  39. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  40. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  41. package/{dist/es → dist-es}/SFN.js +1 -2
  42. package/{dist/es → dist-es}/SFNClient.js +1 -2
  43. package/{dist/es → dist-es}/commands/CreateActivityCommand.js +2 -3
  44. package/{dist/es → dist-es}/commands/CreateStateMachineCommand.js +2 -3
  45. package/{dist/es → dist-es}/commands/DeleteActivityCommand.js +2 -3
  46. package/{dist/es → dist-es}/commands/DeleteStateMachineCommand.js +2 -3
  47. package/{dist/es → dist-es}/commands/DescribeActivityCommand.js +2 -3
  48. package/{dist/es → dist-es}/commands/DescribeExecutionCommand.js +2 -3
  49. package/{dist/es → dist-es}/commands/DescribeStateMachineCommand.js +2 -3
  50. package/{dist/es → dist-es}/commands/DescribeStateMachineForExecutionCommand.js +2 -3
  51. package/{dist/es → dist-es}/commands/GetActivityTaskCommand.js +2 -3
  52. package/{dist/es → dist-es}/commands/GetExecutionHistoryCommand.js +2 -3
  53. package/{dist/es → dist-es}/commands/ListActivitiesCommand.js +2 -3
  54. package/{dist/es → dist-es}/commands/ListExecutionsCommand.js +2 -3
  55. package/{dist/es → dist-es}/commands/ListStateMachinesCommand.js +2 -3
  56. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
  57. package/{dist/es → dist-es}/commands/SendTaskFailureCommand.js +2 -3
  58. package/{dist/es → dist-es}/commands/SendTaskHeartbeatCommand.js +2 -3
  59. package/{dist/es → dist-es}/commands/SendTaskSuccessCommand.js +2 -3
  60. package/{dist/es → dist-es}/commands/StartExecutionCommand.js +2 -3
  61. package/{dist/es → dist-es}/commands/StartSyncExecutionCommand.js +2 -3
  62. package/{dist/es → dist-es}/commands/StopExecutionCommand.js +2 -3
  63. package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
  64. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
  65. package/{dist/es → dist-es}/commands/UpdateStateMachineCommand.js +2 -3
  66. package/{dist/es → dist-es}/endpoints.js +1 -2
  67. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  68. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  69. package/{dist/es → dist-es}/models/models_0.js +0 -1
  70. package/{dist/es → dist-es}/pagination/GetExecutionHistoryPaginator.js +1 -2
  71. package/dist-es/pagination/Interfaces.js +1 -0
  72. package/{dist/es → dist-es}/pagination/ListActivitiesPaginator.js +1 -2
  73. package/{dist/es → dist-es}/pagination/ListExecutionsPaginator.js +1 -2
  74. package/{dist/es → dist-es}/pagination/ListStateMachinesPaginator.js +1 -2
  75. package/{dist/es → dist-es}/protocols/Aws_json1_0.js +0 -1
  76. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  77. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  78. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  79. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  80. package/{dist/types → dist-types}/SFN.d.ts +2 -2
  81. package/{dist/types → dist-types}/SFNClient.d.ts +8 -8
  82. package/{dist/types → dist-types}/commands/CreateActivityCommand.d.ts +3 -3
  83. package/{dist/types → dist-types}/commands/CreateStateMachineCommand.d.ts +3 -3
  84. package/{dist/types → dist-types}/commands/DeleteActivityCommand.d.ts +3 -3
  85. package/{dist/types → dist-types}/commands/DeleteStateMachineCommand.d.ts +3 -3
  86. package/{dist/types → dist-types}/commands/DescribeActivityCommand.d.ts +3 -3
  87. package/{dist/types → dist-types}/commands/DescribeExecutionCommand.d.ts +3 -3
  88. package/{dist/types → dist-types}/commands/DescribeStateMachineCommand.d.ts +3 -3
  89. package/{dist/types → dist-types}/commands/DescribeStateMachineForExecutionCommand.d.ts +3 -3
  90. package/{dist/types → dist-types}/commands/GetActivityTaskCommand.d.ts +3 -3
  91. package/{dist/types → dist-types}/commands/GetExecutionHistoryCommand.d.ts +3 -3
  92. package/{dist/types → dist-types}/commands/ListActivitiesCommand.d.ts +3 -3
  93. package/{dist/types → dist-types}/commands/ListExecutionsCommand.d.ts +3 -3
  94. package/{dist/types → dist-types}/commands/ListStateMachinesCommand.d.ts +3 -3
  95. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +3 -3
  96. package/{dist/types → dist-types}/commands/SendTaskFailureCommand.d.ts +3 -3
  97. package/{dist/types → dist-types}/commands/SendTaskHeartbeatCommand.d.ts +3 -3
  98. package/{dist/types → dist-types}/commands/SendTaskSuccessCommand.d.ts +3 -3
  99. package/{dist/types → dist-types}/commands/StartExecutionCommand.d.ts +3 -3
  100. package/{dist/types → dist-types}/commands/StartSyncExecutionCommand.d.ts +3 -3
  101. package/{dist/types → dist-types}/commands/StopExecutionCommand.d.ts +3 -3
  102. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +3 -3
  103. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +3 -3
  104. package/{dist/types → dist-types}/commands/UpdateStateMachineCommand.d.ts +3 -3
  105. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  106. package/{index.ts → dist-types/index.d.ts} +0 -0
  107. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  108. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  109. package/{dist/types → dist-types}/pagination/GetExecutionHistoryPaginator.d.ts +1 -1
  110. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  111. package/{dist/types → dist-types}/pagination/ListActivitiesPaginator.d.ts +1 -1
  112. package/{dist/types → dist-types}/pagination/ListExecutionsPaginator.d.ts +1 -1
  113. package/{dist/types → dist-types}/pagination/ListStateMachinesPaginator.d.ts +1 -1
  114. package/{dist/types → dist-types}/protocols/Aws_json1_0.d.ts +2 -2
  115. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  116. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  117. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  118. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  119. package/dist-types/ts3.4/SFN.d.ts +120 -0
  120. package/{dist/types → dist-types}/ts3.4/SFNClient.d.ts +32 -112
  121. package/dist-types/ts3.4/commands/CreateActivityCommand.d.ts +17 -0
  122. package/dist-types/ts3.4/commands/CreateStateMachineCommand.d.ts +17 -0
  123. package/dist-types/ts3.4/commands/DeleteActivityCommand.d.ts +17 -0
  124. package/dist-types/ts3.4/commands/DeleteStateMachineCommand.d.ts +17 -0
  125. package/dist-types/ts3.4/commands/DescribeActivityCommand.d.ts +17 -0
  126. package/dist-types/ts3.4/commands/DescribeExecutionCommand.d.ts +17 -0
  127. package/dist-types/ts3.4/commands/DescribeStateMachineCommand.d.ts +17 -0
  128. package/dist-types/ts3.4/commands/DescribeStateMachineForExecutionCommand.d.ts +17 -0
  129. package/dist-types/ts3.4/commands/GetActivityTaskCommand.d.ts +17 -0
  130. package/dist-types/ts3.4/commands/GetExecutionHistoryCommand.d.ts +17 -0
  131. package/dist-types/ts3.4/commands/ListActivitiesCommand.d.ts +17 -0
  132. package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +17 -0
  133. package/dist-types/ts3.4/commands/ListStateMachinesCommand.d.ts +17 -0
  134. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  135. package/dist-types/ts3.4/commands/SendTaskFailureCommand.d.ts +17 -0
  136. package/dist-types/ts3.4/commands/SendTaskHeartbeatCommand.d.ts +17 -0
  137. package/dist-types/ts3.4/commands/SendTaskSuccessCommand.d.ts +17 -0
  138. package/dist-types/ts3.4/commands/StartExecutionCommand.d.ts +17 -0
  139. package/dist-types/ts3.4/commands/StartSyncExecutionCommand.d.ts +17 -0
  140. package/dist-types/ts3.4/commands/StopExecutionCommand.d.ts +17 -0
  141. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  142. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  143. package/dist-types/ts3.4/commands/UpdateStateMachineCommand.d.ts +17 -0
  144. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  145. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  146. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  147. package/dist-types/ts3.4/models/models_0.d.ts +1331 -0
  148. package/{dist/types → dist-types}/ts3.4/pagination/GetExecutionHistoryPaginator.d.ts +1 -1
  149. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  150. package/{dist/types → dist-types}/ts3.4/pagination/ListActivitiesPaginator.d.ts +1 -1
  151. package/{dist/types → dist-types}/ts3.4/pagination/ListExecutionsPaginator.d.ts +1 -1
  152. package/{dist/types → dist-types}/ts3.4/pagination/ListStateMachinesPaginator.d.ts +1 -1
  153. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_0.d.ts +2 -2
  154. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  155. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  156. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  157. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  158. package/package.json +45 -42
  159. package/SFN.ts +0 -993
  160. package/SFNClient.ts +0 -331
  161. package/commands/CreateActivityCommand.ts +0 -110
  162. package/commands/CreateStateMachineCommand.ts +0 -112
  163. package/commands/DeleteActivityCommand.ts +0 -94
  164. package/commands/DeleteStateMachineCommand.ts +0 -100
  165. package/commands/DescribeActivityCommand.ts +0 -97
  166. package/commands/DescribeExecutionCommand.ts +0 -98
  167. package/commands/DescribeStateMachineCommand.ts +0 -97
  168. package/commands/DescribeStateMachineForExecutionCommand.ts +0 -106
  169. package/commands/GetActivityTaskCommand.ts +0 -106
  170. package/commands/GetExecutionHistoryCommand.ts +0 -99
  171. package/commands/ListActivitiesCommand.ts +0 -99
  172. package/commands/ListExecutionsCommand.ts +0 -101
  173. package/commands/ListStateMachinesCommand.ts +0 -99
  174. package/commands/ListTagsForResourceCommand.ts +0 -95
  175. package/commands/SendTaskFailureCommand.ts +0 -95
  176. package/commands/SendTaskHeartbeatCommand.ts +0 -108
  177. package/commands/SendTaskSuccessCommand.ts +0 -96
  178. package/commands/StartExecutionCommand.ts +0 -102
  179. package/commands/StartSyncExecutionCommand.ts +0 -94
  180. package/commands/StopExecutionCommand.ts +0 -95
  181. package/commands/TagResourceCommand.ts +0 -99
  182. package/commands/UntagResourceCommand.ts +0 -94
  183. package/commands/UpdateStateMachineCommand.ts +0 -104
  184. package/dist/cjs/SFN.js.map +0 -1
  185. package/dist/cjs/SFNClient.js +0 -59
  186. package/dist/cjs/SFNClient.js.map +0 -1
  187. package/dist/cjs/commands/CreateActivityCommand.js +0 -77
  188. package/dist/cjs/commands/CreateActivityCommand.js.map +0 -1
  189. package/dist/cjs/commands/CreateStateMachineCommand.js +0 -79
  190. package/dist/cjs/commands/CreateStateMachineCommand.js.map +0 -1
  191. package/dist/cjs/commands/DeleteActivityCommand.js.map +0 -1
  192. package/dist/cjs/commands/DeleteStateMachineCommand.js.map +0 -1
  193. package/dist/cjs/commands/DescribeActivityCommand.js.map +0 -1
  194. package/dist/cjs/commands/DescribeExecutionCommand.js.map +0 -1
  195. package/dist/cjs/commands/DescribeStateMachineCommand.js.map +0 -1
  196. package/dist/cjs/commands/DescribeStateMachineForExecutionCommand.js.map +0 -1
  197. package/dist/cjs/commands/GetActivityTaskCommand.js +0 -73
  198. package/dist/cjs/commands/GetActivityTaskCommand.js.map +0 -1
  199. package/dist/cjs/commands/GetExecutionHistoryCommand.js +0 -66
  200. package/dist/cjs/commands/GetExecutionHistoryCommand.js.map +0 -1
  201. package/dist/cjs/commands/ListActivitiesCommand.js.map +0 -1
  202. package/dist/cjs/commands/ListExecutionsCommand.js +0 -68
  203. package/dist/cjs/commands/ListExecutionsCommand.js.map +0 -1
  204. package/dist/cjs/commands/ListStateMachinesCommand.js.map +0 -1
  205. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  206. package/dist/cjs/commands/SendTaskFailureCommand.js.map +0 -1
  207. package/dist/cjs/commands/SendTaskHeartbeatCommand.js +0 -75
  208. package/dist/cjs/commands/SendTaskHeartbeatCommand.js.map +0 -1
  209. package/dist/cjs/commands/SendTaskSuccessCommand.js.map +0 -1
  210. package/dist/cjs/commands/StartExecutionCommand.js.map +0 -1
  211. package/dist/cjs/commands/StartSyncExecutionCommand.js.map +0 -1
  212. package/dist/cjs/commands/StopExecutionCommand.js.map +0 -1
  213. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  214. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  215. package/dist/cjs/commands/UpdateStateMachineCommand.js +0 -71
  216. package/dist/cjs/commands/UpdateStateMachineCommand.js.map +0 -1
  217. package/dist/cjs/endpoints.js.map +0 -1
  218. package/dist/cjs/index.js.map +0 -1
  219. package/dist/cjs/models/index.js.map +0 -1
  220. package/dist/cjs/models/models_0.js.map +0 -1
  221. package/dist/cjs/package.json +0 -91
  222. package/dist/cjs/pagination/GetExecutionHistoryPaginator.js.map +0 -1
  223. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  224. package/dist/cjs/pagination/ListActivitiesPaginator.js.map +0 -1
  225. package/dist/cjs/pagination/ListExecutionsPaginator.js.map +0 -1
  226. package/dist/cjs/pagination/ListStateMachinesPaginator.js.map +0 -1
  227. package/dist/cjs/protocols/Aws_json1_0.js.map +0 -1
  228. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  229. package/dist/cjs/runtimeConfig.js.map +0 -1
  230. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  231. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  232. package/dist/es/SFN.js.map +0 -1
  233. package/dist/es/SFNClient.js.map +0 -1
  234. package/dist/es/commands/CreateActivityCommand.js.map +0 -1
  235. package/dist/es/commands/CreateStateMachineCommand.js.map +0 -1
  236. package/dist/es/commands/DeleteActivityCommand.js.map +0 -1
  237. package/dist/es/commands/DeleteStateMachineCommand.js.map +0 -1
  238. package/dist/es/commands/DescribeActivityCommand.js.map +0 -1
  239. package/dist/es/commands/DescribeExecutionCommand.js.map +0 -1
  240. package/dist/es/commands/DescribeStateMachineCommand.js.map +0 -1
  241. package/dist/es/commands/DescribeStateMachineForExecutionCommand.js.map +0 -1
  242. package/dist/es/commands/GetActivityTaskCommand.js.map +0 -1
  243. package/dist/es/commands/GetExecutionHistoryCommand.js.map +0 -1
  244. package/dist/es/commands/ListActivitiesCommand.js.map +0 -1
  245. package/dist/es/commands/ListExecutionsCommand.js.map +0 -1
  246. package/dist/es/commands/ListStateMachinesCommand.js.map +0 -1
  247. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  248. package/dist/es/commands/SendTaskFailureCommand.js.map +0 -1
  249. package/dist/es/commands/SendTaskHeartbeatCommand.js.map +0 -1
  250. package/dist/es/commands/SendTaskSuccessCommand.js.map +0 -1
  251. package/dist/es/commands/StartExecutionCommand.js.map +0 -1
  252. package/dist/es/commands/StartSyncExecutionCommand.js.map +0 -1
  253. package/dist/es/commands/StopExecutionCommand.js.map +0 -1
  254. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  255. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  256. package/dist/es/commands/UpdateStateMachineCommand.js.map +0 -1
  257. package/dist/es/endpoints.js.map +0 -1
  258. package/dist/es/index.js +0 -32
  259. package/dist/es/index.js.map +0 -1
  260. package/dist/es/models/index.js +0 -2
  261. package/dist/es/models/index.js.map +0 -1
  262. package/dist/es/models/models_0.js.map +0 -1
  263. package/dist/es/package.json +0 -91
  264. package/dist/es/pagination/GetExecutionHistoryPaginator.js.map +0 -1
  265. package/dist/es/pagination/Interfaces.js +0 -2
  266. package/dist/es/pagination/Interfaces.js.map +0 -1
  267. package/dist/es/pagination/ListActivitiesPaginator.js.map +0 -1
  268. package/dist/es/pagination/ListExecutionsPaginator.js.map +0 -1
  269. package/dist/es/pagination/ListStateMachinesPaginator.js.map +0 -1
  270. package/dist/es/protocols/Aws_json1_0.js.map +0 -1
  271. package/dist/es/runtimeConfig.browser.js.map +0 -1
  272. package/dist/es/runtimeConfig.js.map +0 -1
  273. package/dist/es/runtimeConfig.native.js.map +0 -1
  274. package/dist/es/runtimeConfig.shared.js.map +0 -1
  275. package/dist/types/ts3.4/SFN.d.ts +0 -313
  276. package/dist/types/ts3.4/commands/CreateActivityCommand.d.ts +0 -51
  277. package/dist/types/ts3.4/commands/CreateStateMachineCommand.d.ts +0 -53
  278. package/dist/types/ts3.4/commands/DeleteActivityCommand.d.ts +0 -35
  279. package/dist/types/ts3.4/commands/DeleteStateMachineCommand.d.ts +0 -41
  280. package/dist/types/ts3.4/commands/DescribeActivityCommand.d.ts +0 -38
  281. package/dist/types/ts3.4/commands/DescribeExecutionCommand.d.ts +0 -39
  282. package/dist/types/ts3.4/commands/DescribeStateMachineCommand.d.ts +0 -38
  283. package/dist/types/ts3.4/commands/DescribeStateMachineForExecutionCommand.d.ts +0 -39
  284. package/dist/types/ts3.4/commands/GetActivityTaskCommand.d.ts +0 -47
  285. package/dist/types/ts3.4/commands/GetExecutionHistoryCommand.d.ts +0 -40
  286. package/dist/types/ts3.4/commands/ListActivitiesCommand.d.ts +0 -40
  287. package/dist/types/ts3.4/commands/ListExecutionsCommand.d.ts +0 -42
  288. package/dist/types/ts3.4/commands/ListStateMachinesCommand.d.ts +0 -40
  289. package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -36
  290. package/dist/types/ts3.4/commands/SendTaskFailureCommand.d.ts +0 -36
  291. package/dist/types/ts3.4/commands/SendTaskHeartbeatCommand.d.ts +0 -49
  292. package/dist/types/ts3.4/commands/SendTaskSuccessCommand.d.ts +0 -37
  293. package/dist/types/ts3.4/commands/StartExecutionCommand.d.ts +0 -43
  294. package/dist/types/ts3.4/commands/StartSyncExecutionCommand.d.ts +0 -35
  295. package/dist/types/ts3.4/commands/StopExecutionCommand.d.ts +0 -36
  296. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -40
  297. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
  298. package/dist/types/ts3.4/commands/UpdateStateMachineCommand.d.ts +0 -45
  299. package/dist/types/ts3.4/models/models_0.d.ts +0 -2540
  300. package/endpoints.ts +0 -86
  301. package/jest.config.js +0 -4
  302. package/models/models_0.ts +0 -3374
  303. package/pagination/GetExecutionHistoryPaginator.ts +0 -58
  304. package/pagination/Interfaces.ts +0 -7
  305. package/pagination/ListActivitiesPaginator.ts +0 -58
  306. package/pagination/ListExecutionsPaginator.ts +0 -58
  307. package/pagination/ListStateMachinesPaginator.ts +0 -58
  308. package/protocols/Aws_json1_0.ts +0 -3957
  309. package/runtimeConfig.browser.ts +0 -40
  310. package/runtimeConfig.native.ts +0 -16
  311. package/runtimeConfig.shared.ts +0 -16
  312. package/runtimeConfig.ts +0 -45
  313. package/tsconfig.es.json +0 -10
  314. package/tsconfig.json +0 -31
  315. package/tsconfig.types.json +0 -8
@@ -1,3374 +0,0 @@
1
- import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
2
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
3
-
4
- /**
5
- * <p>The specified activity does not exist.</p>
6
- */
7
- export interface ActivityDoesNotExist extends __SmithyException, $MetadataBearer {
8
- name: "ActivityDoesNotExist";
9
- $fault: "client";
10
- message?: string;
11
- }
12
-
13
- export namespace ActivityDoesNotExist {
14
- /**
15
- * @internal
16
- */
17
- export const filterSensitiveLog = (obj: ActivityDoesNotExist): any => ({
18
- ...obj,
19
- });
20
- }
21
-
22
- /**
23
- * <p>Contains details about an activity that failed during an execution.</p>
24
- */
25
- export interface ActivityFailedEventDetails {
26
- /**
27
- * <p>The error code of the failure.</p>
28
- */
29
- error?: string;
30
-
31
- /**
32
- * <p>A more detailed explanation of the cause of the failure.</p>
33
- */
34
- cause?: string;
35
- }
36
-
37
- export namespace ActivityFailedEventDetails {
38
- /**
39
- * @internal
40
- */
41
- export const filterSensitiveLog = (obj: ActivityFailedEventDetails): any => ({
42
- ...obj,
43
- ...(obj.error && { error: SENSITIVE_STRING }),
44
- ...(obj.cause && { cause: SENSITIVE_STRING }),
45
- });
46
- }
47
-
48
- /**
49
- * <p>The maximum number of activities has been reached. Existing activities must be deleted
50
- * before a new activity can be created.</p>
51
- */
52
- export interface ActivityLimitExceeded extends __SmithyException, $MetadataBearer {
53
- name: "ActivityLimitExceeded";
54
- $fault: "client";
55
- message?: string;
56
- }
57
-
58
- export namespace ActivityLimitExceeded {
59
- /**
60
- * @internal
61
- */
62
- export const filterSensitiveLog = (obj: ActivityLimitExceeded): any => ({
63
- ...obj,
64
- });
65
- }
66
-
67
- /**
68
- * <p>Contains details about an activity.</p>
69
- */
70
- export interface ActivityListItem {
71
- /**
72
- * <p>The Amazon Resource Name (ARN) that identifies the activity.</p>
73
- */
74
- activityArn: string | undefined;
75
-
76
- /**
77
- * <p>The name of the activity.</p>
78
- * <p>A name must <i>not</i> contain:</p>
79
- * <ul>
80
- * <li>
81
- * <p>white space</p>
82
- * </li>
83
- * <li>
84
- * <p>brackets <code>< > { } [ ]</code>
85
- * </p>
86
- * </li>
87
- * <li>
88
- * <p>wildcard characters <code>? *</code>
89
- * </p>
90
- * </li>
91
- * <li>
92
- * <p>special characters <code>" # % \ ^ | ~ ` $ & , ; : /</code>
93
- * </p>
94
- * </li>
95
- * <li>
96
- * <p>control characters (<code>U+0000-001F</code>, <code>U+007F-009F</code>)</p>
97
- * </li>
98
- * </ul>
99
- * <p>To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.</p>
100
- */
101
- name: string | undefined;
102
-
103
- /**
104
- * <p>The date the activity is created.</p>
105
- */
106
- creationDate: Date | undefined;
107
- }
108
-
109
- export namespace ActivityListItem {
110
- /**
111
- * @internal
112
- */
113
- export const filterSensitiveLog = (obj: ActivityListItem): any => ({
114
- ...obj,
115
- });
116
- }
117
-
118
- /**
119
- * <p>Provides details about input or output in an execution history event.</p>
120
- */
121
- export interface HistoryEventExecutionDataDetails {
122
- /**
123
- * <p>Indicates whether input or output was truncated in the response. Always
124
- * <code>false</code> for API calls.</p>
125
- */
126
- truncated?: boolean;
127
- }
128
-
129
- export namespace HistoryEventExecutionDataDetails {
130
- /**
131
- * @internal
132
- */
133
- export const filterSensitiveLog = (obj: HistoryEventExecutionDataDetails): any => ({
134
- ...obj,
135
- });
136
- }
137
-
138
- /**
139
- * <p>Contains details about an activity scheduled during an execution.</p>
140
- */
141
- export interface ActivityScheduledEventDetails {
142
- /**
143
- * <p>The Amazon Resource Name (ARN) of the scheduled activity.</p>
144
- */
145
- resource: string | undefined;
146
-
147
- /**
148
- * <p>The JSON data input to the activity task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.</p>
149
- */
150
- input?: string;
151
-
152
- /**
153
- * <p>Contains details about the input for an execution history event.</p>
154
- */
155
- inputDetails?: HistoryEventExecutionDataDetails;
156
-
157
- /**
158
- * <p>The maximum allowed duration of the activity task.</p>
159
- */
160
- timeoutInSeconds?: number;
161
-
162
- /**
163
- * <p>The maximum allowed duration between two heartbeats for the activity task.</p>
164
- */
165
- heartbeatInSeconds?: number;
166
- }
167
-
168
- export namespace ActivityScheduledEventDetails {
169
- /**
170
- * @internal
171
- */
172
- export const filterSensitiveLog = (obj: ActivityScheduledEventDetails): any => ({
173
- ...obj,
174
- ...(obj.input && { input: SENSITIVE_STRING }),
175
- });
176
- }
177
-
178
- /**
179
- * <p>Contains details about an activity schedule failure that occurred during an
180
- * execution.</p>
181
- */
182
- export interface ActivityScheduleFailedEventDetails {
183
- /**
184
- * <p>The error code of the failure.</p>
185
- */
186
- error?: string;
187
-
188
- /**
189
- * <p>A more detailed explanation of the cause of the failure.</p>
190
- */
191
- cause?: string;
192
- }
193
-
194
- export namespace ActivityScheduleFailedEventDetails {
195
- /**
196
- * @internal
197
- */
198
- export const filterSensitiveLog = (obj: ActivityScheduleFailedEventDetails): any => ({
199
- ...obj,
200
- ...(obj.error && { error: SENSITIVE_STRING }),
201
- ...(obj.cause && { cause: SENSITIVE_STRING }),
202
- });
203
- }
204
-
205
- /**
206
- * <p>Contains details about the start of an activity during an execution.</p>
207
- */
208
- export interface ActivityStartedEventDetails {
209
- /**
210
- * <p>The name of the worker that the task is assigned to. These names are provided by the
211
- * workers when calling <a>GetActivityTask</a>.</p>
212
- */
213
- workerName?: string;
214
- }
215
-
216
- export namespace ActivityStartedEventDetails {
217
- /**
218
- * @internal
219
- */
220
- export const filterSensitiveLog = (obj: ActivityStartedEventDetails): any => ({
221
- ...obj,
222
- });
223
- }
224
-
225
- /**
226
- * <p>Contains details about an activity that successfully terminated during an
227
- * execution.</p>
228
- */
229
- export interface ActivitySucceededEventDetails {
230
- /**
231
- * <p>The JSON data output by the activity task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.</p>
232
- */
233
- output?: string;
234
-
235
- /**
236
- * <p>Contains details about the output of an execution history event.</p>
237
- */
238
- outputDetails?: HistoryEventExecutionDataDetails;
239
- }
240
-
241
- export namespace ActivitySucceededEventDetails {
242
- /**
243
- * @internal
244
- */
245
- export const filterSensitiveLog = (obj: ActivitySucceededEventDetails): any => ({
246
- ...obj,
247
- ...(obj.output && { output: SENSITIVE_STRING }),
248
- });
249
- }
250
-
251
- /**
252
- * <p>Contains details about an activity timeout that occurred during an execution.</p>
253
- */
254
- export interface ActivityTimedOutEventDetails {
255
- /**
256
- * <p>The error code of the failure.</p>
257
- */
258
- error?: string;
259
-
260
- /**
261
- * <p>A more detailed explanation of the cause of the timeout.</p>
262
- */
263
- cause?: string;
264
- }
265
-
266
- export namespace ActivityTimedOutEventDetails {
267
- /**
268
- * @internal
269
- */
270
- export const filterSensitiveLog = (obj: ActivityTimedOutEventDetails): any => ({
271
- ...obj,
272
- ...(obj.error && { error: SENSITIVE_STRING }),
273
- ...(obj.cause && { cause: SENSITIVE_STRING }),
274
- });
275
- }
276
-
277
- /**
278
- * <p>The maximum number of workers concurrently polling for activity tasks has been
279
- * reached.</p>
280
- */
281
- export interface ActivityWorkerLimitExceeded extends __SmithyException, $MetadataBearer {
282
- name: "ActivityWorkerLimitExceeded";
283
- $fault: "client";
284
- message?: string;
285
- }
286
-
287
- export namespace ActivityWorkerLimitExceeded {
288
- /**
289
- * @internal
290
- */
291
- export const filterSensitiveLog = (obj: ActivityWorkerLimitExceeded): any => ({
292
- ...obj,
293
- });
294
- }
295
-
296
- /**
297
- * <p>Tags are key-value pairs that can be associated with Step Functions state machines and
298
- * activities.</p>
299
- * <p>An array of key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html">Using
300
- * Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management User
301
- * Guide</i>, and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html">Controlling Access Using IAM
302
- * Tags</a>.</p>
303
- * <p>Tags may only contain Unicode letters, digits, white space, or these symbols: <code>_ . : / = + - @</code>.</p>
304
- */
305
- export interface Tag {
306
- /**
307
- * <p>The key of a tag.</p>
308
- */
309
- key?: string;
310
-
311
- /**
312
- * <p>The value of a tag.</p>
313
- */
314
- value?: string;
315
- }
316
-
317
- export namespace Tag {
318
- /**
319
- * @internal
320
- */
321
- export const filterSensitiveLog = (obj: Tag): any => ({
322
- ...obj,
323
- });
324
- }
325
-
326
- export interface CreateActivityInput {
327
- /**
328
- * <p>The name of the activity to create. This name must be unique for your AWS account and region for 90 days. For more information,
329
- * see <a href="https://docs.aws.amazon.com/step-functions/latest/dg/limits.html#service-limits-state-machine-executions">
330
- * Limits Related to State Machine Executions</a> in the <i>AWS Step Functions Developer Guide</i>.</p>
331
- * <p>A name must <i>not</i> contain:</p>
332
- * <ul>
333
- * <li>
334
- * <p>white space</p>
335
- * </li>
336
- * <li>
337
- * <p>brackets <code>< > { } [ ]</code>
338
- * </p>
339
- * </li>
340
- * <li>
341
- * <p>wildcard characters <code>? *</code>
342
- * </p>
343
- * </li>
344
- * <li>
345
- * <p>special characters <code>" # % \ ^ | ~ ` $ & , ; : /</code>
346
- * </p>
347
- * </li>
348
- * <li>
349
- * <p>control characters (<code>U+0000-001F</code>, <code>U+007F-009F</code>)</p>
350
- * </li>
351
- * </ul>
352
- * <p>To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.</p>
353
- */
354
- name: string | undefined;
355
-
356
- /**
357
- * <p>The list of tags to add to a resource.</p>
358
- * <p>An array of key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html">Using
359
- * Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management User
360
- * Guide</i>, and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html">Controlling Access Using IAM
361
- * Tags</a>.</p>
362
- * <p>Tags may only contain Unicode letters, digits, white space, or these symbols: <code>_ . : / = + - @</code>.</p>
363
- */
364
- tags?: Tag[];
365
- }
366
-
367
- export namespace CreateActivityInput {
368
- /**
369
- * @internal
370
- */
371
- export const filterSensitiveLog = (obj: CreateActivityInput): any => ({
372
- ...obj,
373
- });
374
- }
375
-
376
- export interface CreateActivityOutput {
377
- /**
378
- * <p>The Amazon Resource Name (ARN) that identifies the created activity.</p>
379
- */
380
- activityArn: string | undefined;
381
-
382
- /**
383
- * <p>The date the activity is created.</p>
384
- */
385
- creationDate: Date | undefined;
386
- }
387
-
388
- export namespace CreateActivityOutput {
389
- /**
390
- * @internal
391
- */
392
- export const filterSensitiveLog = (obj: CreateActivityOutput): any => ({
393
- ...obj,
394
- });
395
- }
396
-
397
- /**
398
- * <p>The provided name is invalid.</p>
399
- */
400
- export interface InvalidName extends __SmithyException, $MetadataBearer {
401
- name: "InvalidName";
402
- $fault: "client";
403
- message?: string;
404
- }
405
-
406
- export namespace InvalidName {
407
- /**
408
- * @internal
409
- */
410
- export const filterSensitiveLog = (obj: InvalidName): any => ({
411
- ...obj,
412
- });
413
- }
414
-
415
- /**
416
- * <p>You've exceeded the number of tags allowed for a resource. See the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/limits.html"> Limits Topic</a> in the
417
- * AWS Step Functions Developer Guide.</p>
418
- */
419
- export interface TooManyTags extends __SmithyException, $MetadataBearer {
420
- name: "TooManyTags";
421
- $fault: "client";
422
- message?: string;
423
- resourceName?: string;
424
- }
425
-
426
- export namespace TooManyTags {
427
- /**
428
- * @internal
429
- */
430
- export const filterSensitiveLog = (obj: TooManyTags): any => ({
431
- ...obj,
432
- });
433
- }
434
-
435
- /**
436
- * <p></p>
437
- */
438
- export interface CloudWatchLogsLogGroup {
439
- /**
440
- * <p>The ARN of the the CloudWatch log group to which you want your logs emitted to. The ARN
441
- * must end with <code>:*</code>
442
- * </p>
443
- */
444
- logGroupArn?: string;
445
- }
446
-
447
- export namespace CloudWatchLogsLogGroup {
448
- /**
449
- * @internal
450
- */
451
- export const filterSensitiveLog = (obj: CloudWatchLogsLogGroup): any => ({
452
- ...obj,
453
- });
454
- }
455
-
456
- /**
457
- * <p></p>
458
- */
459
- export interface LogDestination {
460
- /**
461
- * <p>An object describing a CloudWatch log group. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-loggroup.html">AWS::Logs::LogGroup</a> in the AWS CloudFormation User Guide.</p>
462
- */
463
- cloudWatchLogsLogGroup?: CloudWatchLogsLogGroup;
464
- }
465
-
466
- export namespace LogDestination {
467
- /**
468
- * @internal
469
- */
470
- export const filterSensitiveLog = (obj: LogDestination): any => ({
471
- ...obj,
472
- });
473
- }
474
-
475
- export type LogLevel = "ALL" | "ERROR" | "FATAL" | "OFF";
476
-
477
- /**
478
- * <p>The <code>LoggingConfiguration</code> data type is used to set CloudWatch Logs
479
- * options.</p>
480
- */
481
- export interface LoggingConfiguration {
482
- /**
483
- * <p>Defines which category of execution history events are logged.</p>
484
- */
485
- level?: LogLevel | string;
486
-
487
- /**
488
- * <p>Determines whether execution data is included in your log. When set to <code>false</code>,
489
- * data is excluded.</p>
490
- */
491
- includeExecutionData?: boolean;
492
-
493
- /**
494
- * <p>An array of objects that describes where your execution history events will be logged.
495
- * Limited to size 1. Required, if your log level is not set to <code>OFF</code>.</p>
496
- */
497
- destinations?: LogDestination[];
498
- }
499
-
500
- export namespace LoggingConfiguration {
501
- /**
502
- * @internal
503
- */
504
- export const filterSensitiveLog = (obj: LoggingConfiguration): any => ({
505
- ...obj,
506
- });
507
- }
508
-
509
- /**
510
- * <p>Selects whether or not the state machine's AWS X-Ray tracing is enabled. Default is <code>false</code>
511
- * </p>
512
- */
513
- export interface TracingConfiguration {
514
- /**
515
- * <p>When set to <code>true</code>, AWS X-Ray tracing is enabled.</p>
516
- */
517
- enabled?: boolean;
518
- }
519
-
520
- export namespace TracingConfiguration {
521
- /**
522
- * @internal
523
- */
524
- export const filterSensitiveLog = (obj: TracingConfiguration): any => ({
525
- ...obj,
526
- });
527
- }
528
-
529
- export type StateMachineType = "EXPRESS" | "STANDARD";
530
-
531
- export interface CreateStateMachineInput {
532
- /**
533
- * <p>The name of the state machine. </p>
534
- * <p>A name must <i>not</i> contain:</p>
535
- * <ul>
536
- * <li>
537
- * <p>white space</p>
538
- * </li>
539
- * <li>
540
- * <p>brackets <code>< > { } [ ]</code>
541
- * </p>
542
- * </li>
543
- * <li>
544
- * <p>wildcard characters <code>? *</code>
545
- * </p>
546
- * </li>
547
- * <li>
548
- * <p>special characters <code>" # % \ ^ | ~ ` $ & , ; : /</code>
549
- * </p>
550
- * </li>
551
- * <li>
552
- * <p>control characters (<code>U+0000-001F</code>, <code>U+007F-009F</code>)</p>
553
- * </li>
554
- * </ul>
555
- * <p>To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.</p>
556
- */
557
- name: string | undefined;
558
-
559
- /**
560
- * <p>The Amazon States Language definition of the state machine. See <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html">Amazon States Language</a>.</p>
561
- */
562
- definition: string | undefined;
563
-
564
- /**
565
- * <p>The Amazon Resource Name (ARN) of the IAM role to use for this state machine.</p>
566
- */
567
- roleArn: string | undefined;
568
-
569
- /**
570
- * <p>Determines whether a Standard or Express state machine is created. The default is
571
- * <code>STANDARD</code>. You cannot update the <code>type</code> of a state machine once it
572
- * has been created.</p>
573
- */
574
- type?: StateMachineType | string;
575
-
576
- /**
577
- * <p>Defines what execution history events are logged and where they are logged.</p>
578
- * <note>
579
- * <p>By default, the <code>level</code> is set to <code>OFF</code>. For more information see
580
- * <a href="https://docs.aws.amazon.com/step-functions/latest/dg/cloudwatch-log-level.html">Log
581
- * Levels</a> in the AWS Step Functions User Guide.</p>
582
- * </note>
583
- */
584
- loggingConfiguration?: LoggingConfiguration;
585
-
586
- /**
587
- * <p>Tags to be added when creating a state machine.</p>
588
- * <p>An array of key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html">Using
589
- * Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management User
590
- * Guide</i>, and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html">Controlling Access Using IAM
591
- * Tags</a>.</p>
592
- * <p>Tags may only contain Unicode letters, digits, white space, or these symbols: <code>_ . : / = + - @</code>.</p>
593
- */
594
- tags?: Tag[];
595
-
596
- /**
597
- * <p>Selects whether AWS X-Ray tracing is enabled.</p>
598
- */
599
- tracingConfiguration?: TracingConfiguration;
600
- }
601
-
602
- export namespace CreateStateMachineInput {
603
- /**
604
- * @internal
605
- */
606
- export const filterSensitiveLog = (obj: CreateStateMachineInput): any => ({
607
- ...obj,
608
- ...(obj.definition && { definition: SENSITIVE_STRING }),
609
- });
610
- }
611
-
612
- export interface CreateStateMachineOutput {
613
- /**
614
- * <p>The Amazon Resource Name (ARN) that identifies the created state machine.</p>
615
- */
616
- stateMachineArn: string | undefined;
617
-
618
- /**
619
- * <p>The date the state machine is created.</p>
620
- */
621
- creationDate: Date | undefined;
622
- }
623
-
624
- export namespace CreateStateMachineOutput {
625
- /**
626
- * @internal
627
- */
628
- export const filterSensitiveLog = (obj: CreateStateMachineOutput): any => ({
629
- ...obj,
630
- });
631
- }
632
-
633
- /**
634
- * <p>The provided Amazon Resource Name (ARN) is invalid.</p>
635
- */
636
- export interface InvalidArn extends __SmithyException, $MetadataBearer {
637
- name: "InvalidArn";
638
- $fault: "client";
639
- message?: string;
640
- }
641
-
642
- export namespace InvalidArn {
643
- /**
644
- * @internal
645
- */
646
- export const filterSensitiveLog = (obj: InvalidArn): any => ({
647
- ...obj,
648
- });
649
- }
650
-
651
- /**
652
- * <p>The provided Amazon States Language definition is invalid.</p>
653
- */
654
- export interface InvalidDefinition extends __SmithyException, $MetadataBearer {
655
- name: "InvalidDefinition";
656
- $fault: "client";
657
- message?: string;
658
- }
659
-
660
- export namespace InvalidDefinition {
661
- /**
662
- * @internal
663
- */
664
- export const filterSensitiveLog = (obj: InvalidDefinition): any => ({
665
- ...obj,
666
- });
667
- }
668
-
669
- /**
670
- * <p></p>
671
- */
672
- export interface InvalidLoggingConfiguration extends __SmithyException, $MetadataBearer {
673
- name: "InvalidLoggingConfiguration";
674
- $fault: "client";
675
- message?: string;
676
- }
677
-
678
- export namespace InvalidLoggingConfiguration {
679
- /**
680
- * @internal
681
- */
682
- export const filterSensitiveLog = (obj: InvalidLoggingConfiguration): any => ({
683
- ...obj,
684
- });
685
- }
686
-
687
- /**
688
- * <p>Your <code>tracingConfiguration</code> key does not match, or <code>enabled</code> has not been set to <code>true</code> or <code>false</code>.</p>
689
- */
690
- export interface InvalidTracingConfiguration extends __SmithyException, $MetadataBearer {
691
- name: "InvalidTracingConfiguration";
692
- $fault: "client";
693
- message?: string;
694
- }
695
-
696
- export namespace InvalidTracingConfiguration {
697
- /**
698
- * @internal
699
- */
700
- export const filterSensitiveLog = (obj: InvalidTracingConfiguration): any => ({
701
- ...obj,
702
- });
703
- }
704
-
705
- /**
706
- * <p>A state machine with the same name but a different definition or role ARN already
707
- * exists.</p>
708
- */
709
- export interface StateMachineAlreadyExists extends __SmithyException, $MetadataBearer {
710
- name: "StateMachineAlreadyExists";
711
- $fault: "client";
712
- message?: string;
713
- }
714
-
715
- export namespace StateMachineAlreadyExists {
716
- /**
717
- * @internal
718
- */
719
- export const filterSensitiveLog = (obj: StateMachineAlreadyExists): any => ({
720
- ...obj,
721
- });
722
- }
723
-
724
- /**
725
- * <p>The specified state machine is being deleted.</p>
726
- */
727
- export interface StateMachineDeleting extends __SmithyException, $MetadataBearer {
728
- name: "StateMachineDeleting";
729
- $fault: "client";
730
- message?: string;
731
- }
732
-
733
- export namespace StateMachineDeleting {
734
- /**
735
- * @internal
736
- */
737
- export const filterSensitiveLog = (obj: StateMachineDeleting): any => ({
738
- ...obj,
739
- });
740
- }
741
-
742
- /**
743
- * <p>The maximum number of state machines has been reached. Existing state machines must be
744
- * deleted before a new state machine can be created.</p>
745
- */
746
- export interface StateMachineLimitExceeded extends __SmithyException, $MetadataBearer {
747
- name: "StateMachineLimitExceeded";
748
- $fault: "client";
749
- message?: string;
750
- }
751
-
752
- export namespace StateMachineLimitExceeded {
753
- /**
754
- * @internal
755
- */
756
- export const filterSensitiveLog = (obj: StateMachineLimitExceeded): any => ({
757
- ...obj,
758
- });
759
- }
760
-
761
- /**
762
- * <p></p>
763
- */
764
- export interface StateMachineTypeNotSupported extends __SmithyException, $MetadataBearer {
765
- name: "StateMachineTypeNotSupported";
766
- $fault: "client";
767
- message?: string;
768
- }
769
-
770
- export namespace StateMachineTypeNotSupported {
771
- /**
772
- * @internal
773
- */
774
- export const filterSensitiveLog = (obj: StateMachineTypeNotSupported): any => ({
775
- ...obj,
776
- });
777
- }
778
-
779
- export interface DeleteActivityInput {
780
- /**
781
- * <p>The Amazon Resource Name (ARN) of the activity to delete.</p>
782
- */
783
- activityArn: string | undefined;
784
- }
785
-
786
- export namespace DeleteActivityInput {
787
- /**
788
- * @internal
789
- */
790
- export const filterSensitiveLog = (obj: DeleteActivityInput): any => ({
791
- ...obj,
792
- });
793
- }
794
-
795
- export interface DeleteActivityOutput {}
796
-
797
- export namespace DeleteActivityOutput {
798
- /**
799
- * @internal
800
- */
801
- export const filterSensitiveLog = (obj: DeleteActivityOutput): any => ({
802
- ...obj,
803
- });
804
- }
805
-
806
- export interface DeleteStateMachineInput {
807
- /**
808
- * <p>The Amazon Resource Name (ARN) of the state machine to delete.</p>
809
- */
810
- stateMachineArn: string | undefined;
811
- }
812
-
813
- export namespace DeleteStateMachineInput {
814
- /**
815
- * @internal
816
- */
817
- export const filterSensitiveLog = (obj: DeleteStateMachineInput): any => ({
818
- ...obj,
819
- });
820
- }
821
-
822
- export interface DeleteStateMachineOutput {}
823
-
824
- export namespace DeleteStateMachineOutput {
825
- /**
826
- * @internal
827
- */
828
- export const filterSensitiveLog = (obj: DeleteStateMachineOutput): any => ({
829
- ...obj,
830
- });
831
- }
832
-
833
- export interface DescribeActivityInput {
834
- /**
835
- * <p>The Amazon Resource Name (ARN) of the activity to describe.</p>
836
- */
837
- activityArn: string | undefined;
838
- }
839
-
840
- export namespace DescribeActivityInput {
841
- /**
842
- * @internal
843
- */
844
- export const filterSensitiveLog = (obj: DescribeActivityInput): any => ({
845
- ...obj,
846
- });
847
- }
848
-
849
- export interface DescribeActivityOutput {
850
- /**
851
- * <p>The Amazon Resource Name (ARN) that identifies the activity.</p>
852
- */
853
- activityArn: string | undefined;
854
-
855
- /**
856
- * <p>The name of the activity.</p>
857
- * <p>A name must <i>not</i> contain:</p>
858
- * <ul>
859
- * <li>
860
- * <p>white space</p>
861
- * </li>
862
- * <li>
863
- * <p>brackets <code>< > { } [ ]</code>
864
- * </p>
865
- * </li>
866
- * <li>
867
- * <p>wildcard characters <code>? *</code>
868
- * </p>
869
- * </li>
870
- * <li>
871
- * <p>special characters <code>" # % \ ^ | ~ ` $ & , ; : /</code>
872
- * </p>
873
- * </li>
874
- * <li>
875
- * <p>control characters (<code>U+0000-001F</code>, <code>U+007F-009F</code>)</p>
876
- * </li>
877
- * </ul>
878
- * <p>To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.</p>
879
- */
880
- name: string | undefined;
881
-
882
- /**
883
- * <p>The date the activity is created.</p>
884
- */
885
- creationDate: Date | undefined;
886
- }
887
-
888
- export namespace DescribeActivityOutput {
889
- /**
890
- * @internal
891
- */
892
- export const filterSensitiveLog = (obj: DescribeActivityOutput): any => ({
893
- ...obj,
894
- });
895
- }
896
-
897
- export interface DescribeExecutionInput {
898
- /**
899
- * <p>The Amazon Resource Name (ARN) of the execution to describe.</p>
900
- */
901
- executionArn: string | undefined;
902
- }
903
-
904
- export namespace DescribeExecutionInput {
905
- /**
906
- * @internal
907
- */
908
- export const filterSensitiveLog = (obj: DescribeExecutionInput): any => ({
909
- ...obj,
910
- });
911
- }
912
-
913
- /**
914
- * <p>Provides details about execution input or output.</p>
915
- */
916
- export interface CloudWatchEventsExecutionDataDetails {
917
- /**
918
- * <p>Indicates whether input or output was included in the response. Always <code>true</code>
919
- * for API calls. </p>
920
- */
921
- included?: boolean;
922
- }
923
-
924
- export namespace CloudWatchEventsExecutionDataDetails {
925
- /**
926
- * @internal
927
- */
928
- export const filterSensitiveLog = (obj: CloudWatchEventsExecutionDataDetails): any => ({
929
- ...obj,
930
- });
931
- }
932
-
933
- export type ExecutionStatus = "ABORTED" | "FAILED" | "RUNNING" | "SUCCEEDED" | "TIMED_OUT";
934
-
935
- export interface DescribeExecutionOutput {
936
- /**
937
- * <p>The Amazon Resource Name (ARN) that identifies the execution.</p>
938
- */
939
- executionArn: string | undefined;
940
-
941
- /**
942
- * <p>The Amazon Resource Name (ARN) of the executed stated machine.</p>
943
- */
944
- stateMachineArn: string | undefined;
945
-
946
- /**
947
- * <p>The name of the execution.</p>
948
- * <p>A name must <i>not</i> contain:</p>
949
- * <ul>
950
- * <li>
951
- * <p>white space</p>
952
- * </li>
953
- * <li>
954
- * <p>brackets <code>< > { } [ ]</code>
955
- * </p>
956
- * </li>
957
- * <li>
958
- * <p>wildcard characters <code>? *</code>
959
- * </p>
960
- * </li>
961
- * <li>
962
- * <p>special characters <code>" # % \ ^ | ~ ` $ & , ; : /</code>
963
- * </p>
964
- * </li>
965
- * <li>
966
- * <p>control characters (<code>U+0000-001F</code>, <code>U+007F-009F</code>)</p>
967
- * </li>
968
- * </ul>
969
- * <p>To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.</p>
970
- */
971
- name?: string;
972
-
973
- /**
974
- * <p>The current status of the execution.</p>
975
- */
976
- status: ExecutionStatus | string | undefined;
977
-
978
- /**
979
- * <p>The date the execution is started.</p>
980
- */
981
- startDate: Date | undefined;
982
-
983
- /**
984
- * <p>If the execution has already ended, the date the execution stopped.</p>
985
- */
986
- stopDate?: Date;
987
-
988
- /**
989
- * <p>The string that contains the JSON input data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.</p>
990
- */
991
- input?: string;
992
-
993
- /**
994
- * <p>Provides details about execution input or output.</p>
995
- */
996
- inputDetails?: CloudWatchEventsExecutionDataDetails;
997
-
998
- /**
999
- * <p>The JSON output data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.</p>
1000
- * <note>
1001
- * <p>This field is set only if the execution succeeds. If the execution fails, this field is
1002
- * null.</p>
1003
- * </note>
1004
- */
1005
- output?: string;
1006
-
1007
- /**
1008
- * <p>Provides details about execution input or output.</p>
1009
- */
1010
- outputDetails?: CloudWatchEventsExecutionDataDetails;
1011
-
1012
- /**
1013
- * <p>The AWS X-Ray trace header that was passed to the execution.</p>
1014
- */
1015
- traceHeader?: string;
1016
- }
1017
-
1018
- export namespace DescribeExecutionOutput {
1019
- /**
1020
- * @internal
1021
- */
1022
- export const filterSensitiveLog = (obj: DescribeExecutionOutput): any => ({
1023
- ...obj,
1024
- ...(obj.input && { input: SENSITIVE_STRING }),
1025
- ...(obj.output && { output: SENSITIVE_STRING }),
1026
- });
1027
- }
1028
-
1029
- /**
1030
- * <p>The specified execution does not exist.</p>
1031
- */
1032
- export interface ExecutionDoesNotExist extends __SmithyException, $MetadataBearer {
1033
- name: "ExecutionDoesNotExist";
1034
- $fault: "client";
1035
- message?: string;
1036
- }
1037
-
1038
- export namespace ExecutionDoesNotExist {
1039
- /**
1040
- * @internal
1041
- */
1042
- export const filterSensitiveLog = (obj: ExecutionDoesNotExist): any => ({
1043
- ...obj,
1044
- });
1045
- }
1046
-
1047
- export interface DescribeStateMachineInput {
1048
- /**
1049
- * <p>The Amazon Resource Name (ARN) of the state machine to describe.</p>
1050
- */
1051
- stateMachineArn: string | undefined;
1052
- }
1053
-
1054
- export namespace DescribeStateMachineInput {
1055
- /**
1056
- * @internal
1057
- */
1058
- export const filterSensitiveLog = (obj: DescribeStateMachineInput): any => ({
1059
- ...obj,
1060
- });
1061
- }
1062
-
1063
- export type StateMachineStatus = "ACTIVE" | "DELETING";
1064
-
1065
- export interface DescribeStateMachineOutput {
1066
- /**
1067
- * <p>The Amazon Resource Name (ARN) that identifies the state machine.</p>
1068
- */
1069
- stateMachineArn: string | undefined;
1070
-
1071
- /**
1072
- * <p>The name of the state machine.</p>
1073
- * <p>A name must <i>not</i> contain:</p>
1074
- * <ul>
1075
- * <li>
1076
- * <p>white space</p>
1077
- * </li>
1078
- * <li>
1079
- * <p>brackets <code>< > { } [ ]</code>
1080
- * </p>
1081
- * </li>
1082
- * <li>
1083
- * <p>wildcard characters <code>? *</code>
1084
- * </p>
1085
- * </li>
1086
- * <li>
1087
- * <p>special characters <code>" # % \ ^ | ~ ` $ & , ; : /</code>
1088
- * </p>
1089
- * </li>
1090
- * <li>
1091
- * <p>control characters (<code>U+0000-001F</code>, <code>U+007F-009F</code>)</p>
1092
- * </li>
1093
- * </ul>
1094
- * <p>To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.</p>
1095
- */
1096
- name: string | undefined;
1097
-
1098
- /**
1099
- * <p>The current status of the state machine.</p>
1100
- */
1101
- status?: StateMachineStatus | string;
1102
-
1103
- /**
1104
- * <p>The Amazon States Language definition of the state machine. See <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html">Amazon States Language</a>.</p>
1105
- */
1106
- definition: string | undefined;
1107
-
1108
- /**
1109
- * <p>The Amazon Resource Name (ARN) of the IAM role used when creating this state machine. (The IAM role
1110
- * maintains security by granting Step Functions access to AWS resources.)</p>
1111
- */
1112
- roleArn: string | undefined;
1113
-
1114
- /**
1115
- * <p>The <code>type</code> of the state machine (<code>STANDARD</code> or
1116
- * <code>EXPRESS</code>).</p>
1117
- */
1118
- type: StateMachineType | string | undefined;
1119
-
1120
- /**
1121
- * <p>The date the state machine is created.</p>
1122
- */
1123
- creationDate: Date | undefined;
1124
-
1125
- /**
1126
- * <p>The <code>LoggingConfiguration</code> data type is used to set CloudWatch Logs
1127
- * options.</p>
1128
- */
1129
- loggingConfiguration?: LoggingConfiguration;
1130
-
1131
- /**
1132
- * <p>Selects whether AWS X-Ray tracing is enabled.</p>
1133
- */
1134
- tracingConfiguration?: TracingConfiguration;
1135
- }
1136
-
1137
- export namespace DescribeStateMachineOutput {
1138
- /**
1139
- * @internal
1140
- */
1141
- export const filterSensitiveLog = (obj: DescribeStateMachineOutput): any => ({
1142
- ...obj,
1143
- ...(obj.definition && { definition: SENSITIVE_STRING }),
1144
- });
1145
- }
1146
-
1147
- /**
1148
- * <p>The specified state machine does not exist.</p>
1149
- */
1150
- export interface StateMachineDoesNotExist extends __SmithyException, $MetadataBearer {
1151
- name: "StateMachineDoesNotExist";
1152
- $fault: "client";
1153
- message?: string;
1154
- }
1155
-
1156
- export namespace StateMachineDoesNotExist {
1157
- /**
1158
- * @internal
1159
- */
1160
- export const filterSensitiveLog = (obj: StateMachineDoesNotExist): any => ({
1161
- ...obj,
1162
- });
1163
- }
1164
-
1165
- export interface DescribeStateMachineForExecutionInput {
1166
- /**
1167
- * <p>The Amazon Resource Name (ARN) of the execution you want state machine information for.</p>
1168
- */
1169
- executionArn: string | undefined;
1170
- }
1171
-
1172
- export namespace DescribeStateMachineForExecutionInput {
1173
- /**
1174
- * @internal
1175
- */
1176
- export const filterSensitiveLog = (obj: DescribeStateMachineForExecutionInput): any => ({
1177
- ...obj,
1178
- });
1179
- }
1180
-
1181
- export interface DescribeStateMachineForExecutionOutput {
1182
- /**
1183
- * <p>The Amazon Resource Name (ARN) of the state machine associated with the execution.</p>
1184
- */
1185
- stateMachineArn: string | undefined;
1186
-
1187
- /**
1188
- * <p>The name of the state machine associated with the execution.</p>
1189
- */
1190
- name: string | undefined;
1191
-
1192
- /**
1193
- * <p>The Amazon States Language definition of the state machine. See <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html">Amazon States Language</a>.</p>
1194
- */
1195
- definition: string | undefined;
1196
-
1197
- /**
1198
- * <p>The Amazon Resource Name (ARN) of the IAM role of the State Machine for the execution. </p>
1199
- */
1200
- roleArn: string | undefined;
1201
-
1202
- /**
1203
- * <p>The date and time the state machine associated with an execution was updated. For a newly
1204
- * created state machine, this is the creation date.</p>
1205
- */
1206
- updateDate: Date | undefined;
1207
-
1208
- /**
1209
- * <p>The <code>LoggingConfiguration</code> data type is used to set CloudWatch Logs
1210
- * options.</p>
1211
- */
1212
- loggingConfiguration?: LoggingConfiguration;
1213
-
1214
- /**
1215
- * <p>Selects whether AWS X-Ray tracing is enabled.</p>
1216
- */
1217
- tracingConfiguration?: TracingConfiguration;
1218
- }
1219
-
1220
- export namespace DescribeStateMachineForExecutionOutput {
1221
- /**
1222
- * @internal
1223
- */
1224
- export const filterSensitiveLog = (obj: DescribeStateMachineForExecutionOutput): any => ({
1225
- ...obj,
1226
- ...(obj.definition && { definition: SENSITIVE_STRING }),
1227
- });
1228
- }
1229
-
1230
- export interface GetActivityTaskInput {
1231
- /**
1232
- * <p>The Amazon Resource Name (ARN) of the activity to retrieve tasks from (assigned when you create the task
1233
- * using <a>CreateActivity</a>.)</p>
1234
- */
1235
- activityArn: string | undefined;
1236
-
1237
- /**
1238
- * <p>You can provide an arbitrary name in order to identify the worker that the task is
1239
- * assigned to. This name is used when it is logged in the execution history.</p>
1240
- */
1241
- workerName?: string;
1242
- }
1243
-
1244
- export namespace GetActivityTaskInput {
1245
- /**
1246
- * @internal
1247
- */
1248
- export const filterSensitiveLog = (obj: GetActivityTaskInput): any => ({
1249
- ...obj,
1250
- });
1251
- }
1252
-
1253
- export interface GetActivityTaskOutput {
1254
- /**
1255
- * <p>A token that identifies the scheduled task. This token must be copied and included in
1256
- * subsequent calls to <a>SendTaskHeartbeat</a>, <a>SendTaskSuccess</a> or
1257
- * <a>SendTaskFailure</a> in order to report the progress or completion of the
1258
- * task.</p>
1259
- */
1260
- taskToken?: string;
1261
-
1262
- /**
1263
- * <p>The string that contains the JSON input data for the task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.</p>
1264
- */
1265
- input?: string;
1266
- }
1267
-
1268
- export namespace GetActivityTaskOutput {
1269
- /**
1270
- * @internal
1271
- */
1272
- export const filterSensitiveLog = (obj: GetActivityTaskOutput): any => ({
1273
- ...obj,
1274
- ...(obj.input && { input: SENSITIVE_STRING }),
1275
- });
1276
- }
1277
-
1278
- export interface GetExecutionHistoryInput {
1279
- /**
1280
- * <p>The Amazon Resource Name (ARN) of the execution.</p>
1281
- */
1282
- executionArn: string | undefined;
1283
-
1284
- /**
1285
- * <p>The maximum number of results that are returned per call. You can use <code>nextToken</code> to obtain further pages of results.
1286
- * The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.</p>
1287
- * <p>This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.</p>
1288
- */
1289
- maxResults?: number;
1290
-
1291
- /**
1292
- * <p>Lists events in descending order of their <code>timeStamp</code>.</p>
1293
- */
1294
- reverseOrder?: boolean;
1295
-
1296
- /**
1297
- * <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page.
1298
- * Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
1299
- */
1300
- nextToken?: string;
1301
-
1302
- /**
1303
- * <p>You can select whether execution data (input or output of a history event) is returned.
1304
- * The default is <code>true</code>.</p>
1305
- */
1306
- includeExecutionData?: boolean;
1307
- }
1308
-
1309
- export namespace GetExecutionHistoryInput {
1310
- /**
1311
- * @internal
1312
- */
1313
- export const filterSensitiveLog = (obj: GetExecutionHistoryInput): any => ({
1314
- ...obj,
1315
- });
1316
- }
1317
-
1318
- /**
1319
- * <p>Contains details about an abort of an execution.</p>
1320
- */
1321
- export interface ExecutionAbortedEventDetails {
1322
- /**
1323
- * <p>The error code of the failure.</p>
1324
- */
1325
- error?: string;
1326
-
1327
- /**
1328
- * <p>A more detailed explanation of the cause of the failure.</p>
1329
- */
1330
- cause?: string;
1331
- }
1332
-
1333
- export namespace ExecutionAbortedEventDetails {
1334
- /**
1335
- * @internal
1336
- */
1337
- export const filterSensitiveLog = (obj: ExecutionAbortedEventDetails): any => ({
1338
- ...obj,
1339
- ...(obj.error && { error: SENSITIVE_STRING }),
1340
- ...(obj.cause && { cause: SENSITIVE_STRING }),
1341
- });
1342
- }
1343
-
1344
- /**
1345
- * <p>Contains details about an execution failure event.</p>
1346
- */
1347
- export interface ExecutionFailedEventDetails {
1348
- /**
1349
- * <p>The error code of the failure.</p>
1350
- */
1351
- error?: string;
1352
-
1353
- /**
1354
- * <p>A more detailed explanation of the cause of the failure.</p>
1355
- */
1356
- cause?: string;
1357
- }
1358
-
1359
- export namespace ExecutionFailedEventDetails {
1360
- /**
1361
- * @internal
1362
- */
1363
- export const filterSensitiveLog = (obj: ExecutionFailedEventDetails): any => ({
1364
- ...obj,
1365
- ...(obj.error && { error: SENSITIVE_STRING }),
1366
- ...(obj.cause && { cause: SENSITIVE_STRING }),
1367
- });
1368
- }
1369
-
1370
- /**
1371
- * <p>Contains details about the start of the execution.</p>
1372
- */
1373
- export interface ExecutionStartedEventDetails {
1374
- /**
1375
- * <p>The JSON data input to the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.</p>
1376
- */
1377
- input?: string;
1378
-
1379
- /**
1380
- * <p>Contains details about the input for an execution history event.</p>
1381
- */
1382
- inputDetails?: HistoryEventExecutionDataDetails;
1383
-
1384
- /**
1385
- * <p>The Amazon Resource Name (ARN) of the IAM role used for executing AWS Lambda tasks.</p>
1386
- */
1387
- roleArn?: string;
1388
- }
1389
-
1390
- export namespace ExecutionStartedEventDetails {
1391
- /**
1392
- * @internal
1393
- */
1394
- export const filterSensitiveLog = (obj: ExecutionStartedEventDetails): any => ({
1395
- ...obj,
1396
- ...(obj.input && { input: SENSITIVE_STRING }),
1397
- });
1398
- }
1399
-
1400
- /**
1401
- * <p>Contains details about the successful termination of the execution.</p>
1402
- */
1403
- export interface ExecutionSucceededEventDetails {
1404
- /**
1405
- * <p>The JSON data output by the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.</p>
1406
- */
1407
- output?: string;
1408
-
1409
- /**
1410
- * <p>Contains details about the output of an execution history event.</p>
1411
- */
1412
- outputDetails?: HistoryEventExecutionDataDetails;
1413
- }
1414
-
1415
- export namespace ExecutionSucceededEventDetails {
1416
- /**
1417
- * @internal
1418
- */
1419
- export const filterSensitiveLog = (obj: ExecutionSucceededEventDetails): any => ({
1420
- ...obj,
1421
- ...(obj.output && { output: SENSITIVE_STRING }),
1422
- });
1423
- }
1424
-
1425
- /**
1426
- * <p>Contains details about the execution timeout that occurred during the execution.</p>
1427
- */
1428
- export interface ExecutionTimedOutEventDetails {
1429
- /**
1430
- * <p>The error code of the failure.</p>
1431
- */
1432
- error?: string;
1433
-
1434
- /**
1435
- * <p>A more detailed explanation of the cause of the timeout.</p>
1436
- */
1437
- cause?: string;
1438
- }
1439
-
1440
- export namespace ExecutionTimedOutEventDetails {
1441
- /**
1442
- * @internal
1443
- */
1444
- export const filterSensitiveLog = (obj: ExecutionTimedOutEventDetails): any => ({
1445
- ...obj,
1446
- ...(obj.error && { error: SENSITIVE_STRING }),
1447
- ...(obj.cause && { cause: SENSITIVE_STRING }),
1448
- });
1449
- }
1450
-
1451
- /**
1452
- * <p>Contains details about a lambda function that failed during an execution.</p>
1453
- */
1454
- export interface LambdaFunctionFailedEventDetails {
1455
- /**
1456
- * <p>The error code of the failure.</p>
1457
- */
1458
- error?: string;
1459
-
1460
- /**
1461
- * <p>A more detailed explanation of the cause of the failure.</p>
1462
- */
1463
- cause?: string;
1464
- }
1465
-
1466
- export namespace LambdaFunctionFailedEventDetails {
1467
- /**
1468
- * @internal
1469
- */
1470
- export const filterSensitiveLog = (obj: LambdaFunctionFailedEventDetails): any => ({
1471
- ...obj,
1472
- ...(obj.error && { error: SENSITIVE_STRING }),
1473
- ...(obj.cause && { cause: SENSITIVE_STRING }),
1474
- });
1475
- }
1476
-
1477
- /**
1478
- * <p>Contains details about a lambda function scheduled during an execution.</p>
1479
- */
1480
- export interface LambdaFunctionScheduledEventDetails {
1481
- /**
1482
- * <p>The Amazon Resource Name (ARN) of the scheduled lambda function.</p>
1483
- */
1484
- resource: string | undefined;
1485
-
1486
- /**
1487
- * <p>The JSON data input to the lambda function. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.</p>
1488
- */
1489
- input?: string;
1490
-
1491
- /**
1492
- * <p>Contains details about input for an execution history event.</p>
1493
- */
1494
- inputDetails?: HistoryEventExecutionDataDetails;
1495
-
1496
- /**
1497
- * <p>The maximum allowed duration of the lambda function.</p>
1498
- */
1499
- timeoutInSeconds?: number;
1500
- }
1501
-
1502
- export namespace LambdaFunctionScheduledEventDetails {
1503
- /**
1504
- * @internal
1505
- */
1506
- export const filterSensitiveLog = (obj: LambdaFunctionScheduledEventDetails): any => ({
1507
- ...obj,
1508
- ...(obj.input && { input: SENSITIVE_STRING }),
1509
- });
1510
- }
1511
-
1512
- /**
1513
- * <p>Contains details about a failed lambda function schedule event that occurred during an
1514
- * execution.</p>
1515
- */
1516
- export interface LambdaFunctionScheduleFailedEventDetails {
1517
- /**
1518
- * <p>The error code of the failure.</p>
1519
- */
1520
- error?: string;
1521
-
1522
- /**
1523
- * <p>A more detailed explanation of the cause of the failure.</p>
1524
- */
1525
- cause?: string;
1526
- }
1527
-
1528
- export namespace LambdaFunctionScheduleFailedEventDetails {
1529
- /**
1530
- * @internal
1531
- */
1532
- export const filterSensitiveLog = (obj: LambdaFunctionScheduleFailedEventDetails): any => ({
1533
- ...obj,
1534
- ...(obj.error && { error: SENSITIVE_STRING }),
1535
- ...(obj.cause && { cause: SENSITIVE_STRING }),
1536
- });
1537
- }
1538
-
1539
- /**
1540
- * <p>Contains details about a lambda function that failed to start during an execution.</p>
1541
- */
1542
- export interface LambdaFunctionStartFailedEventDetails {
1543
- /**
1544
- * <p>The error code of the failure.</p>
1545
- */
1546
- error?: string;
1547
-
1548
- /**
1549
- * <p>A more detailed explanation of the cause of the failure.</p>
1550
- */
1551
- cause?: string;
1552
- }
1553
-
1554
- export namespace LambdaFunctionStartFailedEventDetails {
1555
- /**
1556
- * @internal
1557
- */
1558
- export const filterSensitiveLog = (obj: LambdaFunctionStartFailedEventDetails): any => ({
1559
- ...obj,
1560
- ...(obj.error && { error: SENSITIVE_STRING }),
1561
- ...(obj.cause && { cause: SENSITIVE_STRING }),
1562
- });
1563
- }
1564
-
1565
- /**
1566
- * <p>Contains details about a lambda function that successfully terminated during an
1567
- * execution.</p>
1568
- */
1569
- export interface LambdaFunctionSucceededEventDetails {
1570
- /**
1571
- * <p>The JSON data output by the lambda function. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.</p>
1572
- */
1573
- output?: string;
1574
-
1575
- /**
1576
- * <p>Contains details about the output of an execution history event.</p>
1577
- */
1578
- outputDetails?: HistoryEventExecutionDataDetails;
1579
- }
1580
-
1581
- export namespace LambdaFunctionSucceededEventDetails {
1582
- /**
1583
- * @internal
1584
- */
1585
- export const filterSensitiveLog = (obj: LambdaFunctionSucceededEventDetails): any => ({
1586
- ...obj,
1587
- ...(obj.output && { output: SENSITIVE_STRING }),
1588
- });
1589
- }
1590
-
1591
- /**
1592
- * <p>Contains details about a lambda function timeout that occurred during an execution.</p>
1593
- */
1594
- export interface LambdaFunctionTimedOutEventDetails {
1595
- /**
1596
- * <p>The error code of the failure.</p>
1597
- */
1598
- error?: string;
1599
-
1600
- /**
1601
- * <p>A more detailed explanation of the cause of the timeout.</p>
1602
- */
1603
- cause?: string;
1604
- }
1605
-
1606
- export namespace LambdaFunctionTimedOutEventDetails {
1607
- /**
1608
- * @internal
1609
- */
1610
- export const filterSensitiveLog = (obj: LambdaFunctionTimedOutEventDetails): any => ({
1611
- ...obj,
1612
- ...(obj.error && { error: SENSITIVE_STRING }),
1613
- ...(obj.cause && { cause: SENSITIVE_STRING }),
1614
- });
1615
- }
1616
-
1617
- /**
1618
- * <p>Contains details about an iteration of a Map state.</p>
1619
- */
1620
- export interface MapIterationEventDetails {
1621
- /**
1622
- * <p>The name of the iteration’s parent Map state.</p>
1623
- */
1624
- name?: string;
1625
-
1626
- /**
1627
- * <p>The index of the array belonging to the Map state iteration.</p>
1628
- */
1629
- index?: number;
1630
- }
1631
-
1632
- export namespace MapIterationEventDetails {
1633
- /**
1634
- * @internal
1635
- */
1636
- export const filterSensitiveLog = (obj: MapIterationEventDetails): any => ({
1637
- ...obj,
1638
- });
1639
- }
1640
-
1641
- /**
1642
- * <p>Details about a Map state that was started.</p>
1643
- */
1644
- export interface MapStateStartedEventDetails {
1645
- /**
1646
- * <p>The size of the array for Map state iterations.</p>
1647
- */
1648
- length?: number;
1649
- }
1650
-
1651
- export namespace MapStateStartedEventDetails {
1652
- /**
1653
- * @internal
1654
- */
1655
- export const filterSensitiveLog = (obj: MapStateStartedEventDetails): any => ({
1656
- ...obj,
1657
- });
1658
- }
1659
-
1660
- /**
1661
- * <p>Contains details about a state entered during an execution.</p>
1662
- */
1663
- export interface StateEnteredEventDetails {
1664
- /**
1665
- * <p>The name of the state.</p>
1666
- */
1667
- name: string | undefined;
1668
-
1669
- /**
1670
- * <p>The string that contains the JSON input data for the state. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.</p>
1671
- */
1672
- input?: string;
1673
-
1674
- /**
1675
- * <p>Contains details about the input for an execution history event.</p>
1676
- */
1677
- inputDetails?: HistoryEventExecutionDataDetails;
1678
- }
1679
-
1680
- export namespace StateEnteredEventDetails {
1681
- /**
1682
- * @internal
1683
- */
1684
- export const filterSensitiveLog = (obj: StateEnteredEventDetails): any => ({
1685
- ...obj,
1686
- ...(obj.input && { input: SENSITIVE_STRING }),
1687
- });
1688
- }
1689
-
1690
- /**
1691
- * <p>Contains details about an exit from a state during an execution.</p>
1692
- */
1693
- export interface StateExitedEventDetails {
1694
- /**
1695
- * <p>The name of the state.</p>
1696
- * <p>A name must <i>not</i> contain:</p>
1697
- * <ul>
1698
- * <li>
1699
- * <p>white space</p>
1700
- * </li>
1701
- * <li>
1702
- * <p>brackets <code>< > { } [ ]</code>
1703
- * </p>
1704
- * </li>
1705
- * <li>
1706
- * <p>wildcard characters <code>? *</code>
1707
- * </p>
1708
- * </li>
1709
- * <li>
1710
- * <p>special characters <code>" # % \ ^ | ~ ` $ & , ; : /</code>
1711
- * </p>
1712
- * </li>
1713
- * <li>
1714
- * <p>control characters (<code>U+0000-001F</code>, <code>U+007F-009F</code>)</p>
1715
- * </li>
1716
- * </ul>
1717
- * <p>To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.</p>
1718
- */
1719
- name: string | undefined;
1720
-
1721
- /**
1722
- * <p>The JSON output data of the state. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.</p>
1723
- */
1724
- output?: string;
1725
-
1726
- /**
1727
- * <p>Contains details about the output of an execution history event.</p>
1728
- */
1729
- outputDetails?: HistoryEventExecutionDataDetails;
1730
- }
1731
-
1732
- export namespace StateExitedEventDetails {
1733
- /**
1734
- * @internal
1735
- */
1736
- export const filterSensitiveLog = (obj: StateExitedEventDetails): any => ({
1737
- ...obj,
1738
- ...(obj.output && { output: SENSITIVE_STRING }),
1739
- });
1740
- }
1741
-
1742
- /**
1743
- * <p>Contains details about a task failure event.</p>
1744
- */
1745
- export interface TaskFailedEventDetails {
1746
- /**
1747
- * <p>The action of the resource called by a task state.</p>
1748
- */
1749
- resourceType: string | undefined;
1750
-
1751
- /**
1752
- * <p>The service name of the resource in a task state.</p>
1753
- */
1754
- resource: string | undefined;
1755
-
1756
- /**
1757
- * <p>The error code of the failure.</p>
1758
- */
1759
- error?: string;
1760
-
1761
- /**
1762
- * <p>A more detailed explanation of the cause of the failure.</p>
1763
- */
1764
- cause?: string;
1765
- }
1766
-
1767
- export namespace TaskFailedEventDetails {
1768
- /**
1769
- * @internal
1770
- */
1771
- export const filterSensitiveLog = (obj: TaskFailedEventDetails): any => ({
1772
- ...obj,
1773
- ...(obj.error && { error: SENSITIVE_STRING }),
1774
- ...(obj.cause && { cause: SENSITIVE_STRING }),
1775
- });
1776
- }
1777
-
1778
- /**
1779
- * <p>Contains details about a task scheduled during an execution.</p>
1780
- */
1781
- export interface TaskScheduledEventDetails {
1782
- /**
1783
- * <p>The action of the resource called by a task state.</p>
1784
- */
1785
- resourceType: string | undefined;
1786
-
1787
- /**
1788
- * <p>The service name of the resource in a task state.</p>
1789
- */
1790
- resource: string | undefined;
1791
-
1792
- /**
1793
- * <p>The region of the scheduled task</p>
1794
- */
1795
- region: string | undefined;
1796
-
1797
- /**
1798
- * <p>The JSON data passed to the resource referenced in a task state.
1799
- * Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.</p>
1800
- */
1801
- parameters: string | undefined;
1802
-
1803
- /**
1804
- * <p>The maximum allowed duration of the task.</p>
1805
- */
1806
- timeoutInSeconds?: number;
1807
-
1808
- /**
1809
- * <p>The maximum allowed duration between two heartbeats for the task.</p>
1810
- */
1811
- heartbeatInSeconds?: number;
1812
- }
1813
-
1814
- export namespace TaskScheduledEventDetails {
1815
- /**
1816
- * @internal
1817
- */
1818
- export const filterSensitiveLog = (obj: TaskScheduledEventDetails): any => ({
1819
- ...obj,
1820
- ...(obj.parameters && { parameters: SENSITIVE_STRING }),
1821
- });
1822
- }
1823
-
1824
- /**
1825
- * <p>Contains details about the start of a task during an execution.</p>
1826
- */
1827
- export interface TaskStartedEventDetails {
1828
- /**
1829
- * <p>The action of the resource called by a task state.</p>
1830
- */
1831
- resourceType: string | undefined;
1832
-
1833
- /**
1834
- * <p>The service name of the resource in a task state.</p>
1835
- */
1836
- resource: string | undefined;
1837
- }
1838
-
1839
- export namespace TaskStartedEventDetails {
1840
- /**
1841
- * @internal
1842
- */
1843
- export const filterSensitiveLog = (obj: TaskStartedEventDetails): any => ({
1844
- ...obj,
1845
- });
1846
- }
1847
-
1848
- /**
1849
- * <p>Contains details about a task that failed to start during an execution.</p>
1850
- */
1851
- export interface TaskStartFailedEventDetails {
1852
- /**
1853
- * <p>The action of the resource called by a task state.</p>
1854
- */
1855
- resourceType: string | undefined;
1856
-
1857
- /**
1858
- * <p>The service name of the resource in a task state.</p>
1859
- */
1860
- resource: string | undefined;
1861
-
1862
- /**
1863
- * <p>The error code of the failure.</p>
1864
- */
1865
- error?: string;
1866
-
1867
- /**
1868
- * <p>A more detailed explanation of the cause of the failure.</p>
1869
- */
1870
- cause?: string;
1871
- }
1872
-
1873
- export namespace TaskStartFailedEventDetails {
1874
- /**
1875
- * @internal
1876
- */
1877
- export const filterSensitiveLog = (obj: TaskStartFailedEventDetails): any => ({
1878
- ...obj,
1879
- ...(obj.error && { error: SENSITIVE_STRING }),
1880
- ...(obj.cause && { cause: SENSITIVE_STRING }),
1881
- });
1882
- }
1883
-
1884
- /**
1885
- * <p>Contains details about a task that failed to submit during an execution.</p>
1886
- */
1887
- export interface TaskSubmitFailedEventDetails {
1888
- /**
1889
- * <p>The action of the resource called by a task state.</p>
1890
- */
1891
- resourceType: string | undefined;
1892
-
1893
- /**
1894
- * <p>The service name of the resource in a task state.</p>
1895
- */
1896
- resource: string | undefined;
1897
-
1898
- /**
1899
- * <p>The error code of the failure.</p>
1900
- */
1901
- error?: string;
1902
-
1903
- /**
1904
- * <p>A more detailed explanation of the cause of the failure.</p>
1905
- */
1906
- cause?: string;
1907
- }
1908
-
1909
- export namespace TaskSubmitFailedEventDetails {
1910
- /**
1911
- * @internal
1912
- */
1913
- export const filterSensitiveLog = (obj: TaskSubmitFailedEventDetails): any => ({
1914
- ...obj,
1915
- ...(obj.error && { error: SENSITIVE_STRING }),
1916
- ...(obj.cause && { cause: SENSITIVE_STRING }),
1917
- });
1918
- }
1919
-
1920
- /**
1921
- * <p>Contains details about a task submitted to a resource .</p>
1922
- */
1923
- export interface TaskSubmittedEventDetails {
1924
- /**
1925
- * <p>The action of the resource called by a task state.</p>
1926
- */
1927
- resourceType: string | undefined;
1928
-
1929
- /**
1930
- * <p>The service name of the resource in a task state.</p>
1931
- */
1932
- resource: string | undefined;
1933
-
1934
- /**
1935
- * <p>The response from a resource when a task has started. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.</p>
1936
- */
1937
- output?: string;
1938
-
1939
- /**
1940
- * <p>Contains details about the output of an execution history event.</p>
1941
- */
1942
- outputDetails?: HistoryEventExecutionDataDetails;
1943
- }
1944
-
1945
- export namespace TaskSubmittedEventDetails {
1946
- /**
1947
- * @internal
1948
- */
1949
- export const filterSensitiveLog = (obj: TaskSubmittedEventDetails): any => ({
1950
- ...obj,
1951
- ...(obj.output && { output: SENSITIVE_STRING }),
1952
- });
1953
- }
1954
-
1955
- /**
1956
- * <p>Contains details about the successful completion of a task state.</p>
1957
- */
1958
- export interface TaskSucceededEventDetails {
1959
- /**
1960
- * <p>The action of the resource called by a task state.</p>
1961
- */
1962
- resourceType: string | undefined;
1963
-
1964
- /**
1965
- * <p>The service name of the resource in a task state.</p>
1966
- */
1967
- resource: string | undefined;
1968
-
1969
- /**
1970
- * <p>The full JSON response from a resource when a task has succeeded. This response becomes
1971
- * the output of the related task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.</p>
1972
- */
1973
- output?: string;
1974
-
1975
- /**
1976
- * <p>Contains details about the output of an execution history event.</p>
1977
- */
1978
- outputDetails?: HistoryEventExecutionDataDetails;
1979
- }
1980
-
1981
- export namespace TaskSucceededEventDetails {
1982
- /**
1983
- * @internal
1984
- */
1985
- export const filterSensitiveLog = (obj: TaskSucceededEventDetails): any => ({
1986
- ...obj,
1987
- ...(obj.output && { output: SENSITIVE_STRING }),
1988
- });
1989
- }
1990
-
1991
- /**
1992
- * <p>Contains details about a resource timeout that occurred during an execution.</p>
1993
- */
1994
- export interface TaskTimedOutEventDetails {
1995
- /**
1996
- * <p>The action of the resource called by a task state.</p>
1997
- */
1998
- resourceType: string | undefined;
1999
-
2000
- /**
2001
- * <p>The service name of the resource in a task state.</p>
2002
- */
2003
- resource: string | undefined;
2004
-
2005
- /**
2006
- * <p>The error code of the failure.</p>
2007
- */
2008
- error?: string;
2009
-
2010
- /**
2011
- * <p>A more detailed explanation of the cause of the failure.</p>
2012
- */
2013
- cause?: string;
2014
- }
2015
-
2016
- export namespace TaskTimedOutEventDetails {
2017
- /**
2018
- * @internal
2019
- */
2020
- export const filterSensitiveLog = (obj: TaskTimedOutEventDetails): any => ({
2021
- ...obj,
2022
- ...(obj.error && { error: SENSITIVE_STRING }),
2023
- ...(obj.cause && { cause: SENSITIVE_STRING }),
2024
- });
2025
- }
2026
-
2027
- export type HistoryEventType =
2028
- | "ActivityFailed"
2029
- | "ActivityScheduleFailed"
2030
- | "ActivityScheduled"
2031
- | "ActivityStarted"
2032
- | "ActivitySucceeded"
2033
- | "ActivityTimedOut"
2034
- | "ChoiceStateEntered"
2035
- | "ChoiceStateExited"
2036
- | "ExecutionAborted"
2037
- | "ExecutionFailed"
2038
- | "ExecutionStarted"
2039
- | "ExecutionSucceeded"
2040
- | "ExecutionTimedOut"
2041
- | "FailStateEntered"
2042
- | "LambdaFunctionFailed"
2043
- | "LambdaFunctionScheduleFailed"
2044
- | "LambdaFunctionScheduled"
2045
- | "LambdaFunctionStartFailed"
2046
- | "LambdaFunctionStarted"
2047
- | "LambdaFunctionSucceeded"
2048
- | "LambdaFunctionTimedOut"
2049
- | "MapIterationAborted"
2050
- | "MapIterationFailed"
2051
- | "MapIterationStarted"
2052
- | "MapIterationSucceeded"
2053
- | "MapStateAborted"
2054
- | "MapStateEntered"
2055
- | "MapStateExited"
2056
- | "MapStateFailed"
2057
- | "MapStateStarted"
2058
- | "MapStateSucceeded"
2059
- | "ParallelStateAborted"
2060
- | "ParallelStateEntered"
2061
- | "ParallelStateExited"
2062
- | "ParallelStateFailed"
2063
- | "ParallelStateStarted"
2064
- | "ParallelStateSucceeded"
2065
- | "PassStateEntered"
2066
- | "PassStateExited"
2067
- | "SucceedStateEntered"
2068
- | "SucceedStateExited"
2069
- | "TaskFailed"
2070
- | "TaskScheduled"
2071
- | "TaskStartFailed"
2072
- | "TaskStarted"
2073
- | "TaskStateAborted"
2074
- | "TaskStateEntered"
2075
- | "TaskStateExited"
2076
- | "TaskSubmitFailed"
2077
- | "TaskSubmitted"
2078
- | "TaskSucceeded"
2079
- | "TaskTimedOut"
2080
- | "WaitStateAborted"
2081
- | "WaitStateEntered"
2082
- | "WaitStateExited";
2083
-
2084
- /**
2085
- * <p>Contains details about the events of an execution.</p>
2086
- */
2087
- export interface HistoryEvent {
2088
- /**
2089
- * <p>The date and time the event occurred.</p>
2090
- */
2091
- timestamp: Date | undefined;
2092
-
2093
- /**
2094
- * <p>The type of the event.</p>
2095
- */
2096
- type: HistoryEventType | string | undefined;
2097
-
2098
- /**
2099
- * <p>The id of the event. Events are numbered sequentially, starting at one.</p>
2100
- */
2101
- id: number | undefined;
2102
-
2103
- /**
2104
- * <p>The id of the previous event.</p>
2105
- */
2106
- previousEventId?: number;
2107
-
2108
- /**
2109
- * <p>Contains details about an activity that failed during an execution.</p>
2110
- */
2111
- activityFailedEventDetails?: ActivityFailedEventDetails;
2112
-
2113
- /**
2114
- * <p>Contains details about an activity schedule event that failed during an execution.</p>
2115
- */
2116
- activityScheduleFailedEventDetails?: ActivityScheduleFailedEventDetails;
2117
-
2118
- /**
2119
- * <p>Contains details about an activity scheduled during an execution.</p>
2120
- */
2121
- activityScheduledEventDetails?: ActivityScheduledEventDetails;
2122
-
2123
- /**
2124
- * <p>Contains details about the start of an activity during an execution.</p>
2125
- */
2126
- activityStartedEventDetails?: ActivityStartedEventDetails;
2127
-
2128
- /**
2129
- * <p>Contains details about an activity that successfully terminated during an
2130
- * execution.</p>
2131
- */
2132
- activitySucceededEventDetails?: ActivitySucceededEventDetails;
2133
-
2134
- /**
2135
- * <p>Contains details about an activity timeout that occurred during an execution.</p>
2136
- */
2137
- activityTimedOutEventDetails?: ActivityTimedOutEventDetails;
2138
-
2139
- /**
2140
- * <p>Contains details about the failure of a task.</p>
2141
- */
2142
- taskFailedEventDetails?: TaskFailedEventDetails;
2143
-
2144
- /**
2145
- * <p>Contains details about a task that was scheduled.</p>
2146
- */
2147
- taskScheduledEventDetails?: TaskScheduledEventDetails;
2148
-
2149
- /**
2150
- * <p>Contains details about a task that failed to start.</p>
2151
- */
2152
- taskStartFailedEventDetails?: TaskStartFailedEventDetails;
2153
-
2154
- /**
2155
- * <p>Contains details about a task that was started.</p>
2156
- */
2157
- taskStartedEventDetails?: TaskStartedEventDetails;
2158
-
2159
- /**
2160
- * <p>Contains details about a task that where the submit failed.</p>
2161
- */
2162
- taskSubmitFailedEventDetails?: TaskSubmitFailedEventDetails;
2163
-
2164
- /**
2165
- * <p>Contains details about a submitted task.</p>
2166
- */
2167
- taskSubmittedEventDetails?: TaskSubmittedEventDetails;
2168
-
2169
- /**
2170
- * <p>Contains details about a task that succeeded.</p>
2171
- */
2172
- taskSucceededEventDetails?: TaskSucceededEventDetails;
2173
-
2174
- /**
2175
- * <p>Contains details about a task that timed out.</p>
2176
- */
2177
- taskTimedOutEventDetails?: TaskTimedOutEventDetails;
2178
-
2179
- /**
2180
- * <p>Contains details about an execution failure event.</p>
2181
- */
2182
- executionFailedEventDetails?: ExecutionFailedEventDetails;
2183
-
2184
- /**
2185
- * <p>Contains details about the start of the execution.</p>
2186
- */
2187
- executionStartedEventDetails?: ExecutionStartedEventDetails;
2188
-
2189
- /**
2190
- * <p>Contains details about the successful termination of the execution.</p>
2191
- */
2192
- executionSucceededEventDetails?: ExecutionSucceededEventDetails;
2193
-
2194
- /**
2195
- * <p>Contains details about an abort of an execution.</p>
2196
- */
2197
- executionAbortedEventDetails?: ExecutionAbortedEventDetails;
2198
-
2199
- /**
2200
- * <p>Contains details about the execution timeout that occurred during the execution.</p>
2201
- */
2202
- executionTimedOutEventDetails?: ExecutionTimedOutEventDetails;
2203
-
2204
- /**
2205
- * <p>Contains details about Map state that was started.</p>
2206
- */
2207
- mapStateStartedEventDetails?: MapStateStartedEventDetails;
2208
-
2209
- /**
2210
- * <p>Contains details about an iteration of a Map state that was started.</p>
2211
- */
2212
- mapIterationStartedEventDetails?: MapIterationEventDetails;
2213
-
2214
- /**
2215
- * <p>Contains details about an iteration of a Map state that succeeded.</p>
2216
- */
2217
- mapIterationSucceededEventDetails?: MapIterationEventDetails;
2218
-
2219
- /**
2220
- * <p>Contains details about an iteration of a Map state that failed.</p>
2221
- */
2222
- mapIterationFailedEventDetails?: MapIterationEventDetails;
2223
-
2224
- /**
2225
- * <p>Contains details about an iteration of a Map state that was aborted.</p>
2226
- */
2227
- mapIterationAbortedEventDetails?: MapIterationEventDetails;
2228
-
2229
- /**
2230
- * <p>Contains details about a lambda function that failed during an execution.</p>
2231
- */
2232
- lambdaFunctionFailedEventDetails?: LambdaFunctionFailedEventDetails;
2233
-
2234
- /**
2235
- * <p>Contains details about a failed lambda function schedule event that occurred during an
2236
- * execution.</p>
2237
- */
2238
- lambdaFunctionScheduleFailedEventDetails?: LambdaFunctionScheduleFailedEventDetails;
2239
-
2240
- /**
2241
- * <p>Contains details about a lambda function scheduled during an execution.</p>
2242
- */
2243
- lambdaFunctionScheduledEventDetails?: LambdaFunctionScheduledEventDetails;
2244
-
2245
- /**
2246
- * <p>Contains details about a lambda function that failed to start during an execution.</p>
2247
- */
2248
- lambdaFunctionStartFailedEventDetails?: LambdaFunctionStartFailedEventDetails;
2249
-
2250
- /**
2251
- * <p>Contains details about a lambda function that terminated successfully during an
2252
- * execution.</p>
2253
- */
2254
- lambdaFunctionSucceededEventDetails?: LambdaFunctionSucceededEventDetails;
2255
-
2256
- /**
2257
- * <p>Contains details about a lambda function timeout that occurred during an execution.</p>
2258
- */
2259
- lambdaFunctionTimedOutEventDetails?: LambdaFunctionTimedOutEventDetails;
2260
-
2261
- /**
2262
- * <p>Contains details about a state entered during an execution.</p>
2263
- */
2264
- stateEnteredEventDetails?: StateEnteredEventDetails;
2265
-
2266
- /**
2267
- * <p>Contains details about an exit from a state during an execution.</p>
2268
- */
2269
- stateExitedEventDetails?: StateExitedEventDetails;
2270
- }
2271
-
2272
- export namespace HistoryEvent {
2273
- /**
2274
- * @internal
2275
- */
2276
- export const filterSensitiveLog = (obj: HistoryEvent): any => ({
2277
- ...obj,
2278
- ...(obj.activityFailedEventDetails && {
2279
- activityFailedEventDetails: ActivityFailedEventDetails.filterSensitiveLog(obj.activityFailedEventDetails),
2280
- }),
2281
- ...(obj.activityScheduleFailedEventDetails && {
2282
- activityScheduleFailedEventDetails: ActivityScheduleFailedEventDetails.filterSensitiveLog(
2283
- obj.activityScheduleFailedEventDetails
2284
- ),
2285
- }),
2286
- ...(obj.activityScheduledEventDetails && {
2287
- activityScheduledEventDetails: ActivityScheduledEventDetails.filterSensitiveLog(
2288
- obj.activityScheduledEventDetails
2289
- ),
2290
- }),
2291
- ...(obj.activitySucceededEventDetails && {
2292
- activitySucceededEventDetails: ActivitySucceededEventDetails.filterSensitiveLog(
2293
- obj.activitySucceededEventDetails
2294
- ),
2295
- }),
2296
- ...(obj.activityTimedOutEventDetails && {
2297
- activityTimedOutEventDetails: ActivityTimedOutEventDetails.filterSensitiveLog(obj.activityTimedOutEventDetails),
2298
- }),
2299
- ...(obj.taskFailedEventDetails && {
2300
- taskFailedEventDetails: TaskFailedEventDetails.filterSensitiveLog(obj.taskFailedEventDetails),
2301
- }),
2302
- ...(obj.taskScheduledEventDetails && {
2303
- taskScheduledEventDetails: TaskScheduledEventDetails.filterSensitiveLog(obj.taskScheduledEventDetails),
2304
- }),
2305
- ...(obj.taskStartFailedEventDetails && {
2306
- taskStartFailedEventDetails: TaskStartFailedEventDetails.filterSensitiveLog(obj.taskStartFailedEventDetails),
2307
- }),
2308
- ...(obj.taskSubmitFailedEventDetails && {
2309
- taskSubmitFailedEventDetails: TaskSubmitFailedEventDetails.filterSensitiveLog(obj.taskSubmitFailedEventDetails),
2310
- }),
2311
- ...(obj.taskSubmittedEventDetails && {
2312
- taskSubmittedEventDetails: TaskSubmittedEventDetails.filterSensitiveLog(obj.taskSubmittedEventDetails),
2313
- }),
2314
- ...(obj.taskSucceededEventDetails && {
2315
- taskSucceededEventDetails: TaskSucceededEventDetails.filterSensitiveLog(obj.taskSucceededEventDetails),
2316
- }),
2317
- ...(obj.taskTimedOutEventDetails && {
2318
- taskTimedOutEventDetails: TaskTimedOutEventDetails.filterSensitiveLog(obj.taskTimedOutEventDetails),
2319
- }),
2320
- ...(obj.executionFailedEventDetails && {
2321
- executionFailedEventDetails: ExecutionFailedEventDetails.filterSensitiveLog(obj.executionFailedEventDetails),
2322
- }),
2323
- ...(obj.executionStartedEventDetails && {
2324
- executionStartedEventDetails: ExecutionStartedEventDetails.filterSensitiveLog(obj.executionStartedEventDetails),
2325
- }),
2326
- ...(obj.executionSucceededEventDetails && {
2327
- executionSucceededEventDetails: ExecutionSucceededEventDetails.filterSensitiveLog(
2328
- obj.executionSucceededEventDetails
2329
- ),
2330
- }),
2331
- ...(obj.executionAbortedEventDetails && {
2332
- executionAbortedEventDetails: ExecutionAbortedEventDetails.filterSensitiveLog(obj.executionAbortedEventDetails),
2333
- }),
2334
- ...(obj.executionTimedOutEventDetails && {
2335
- executionTimedOutEventDetails: ExecutionTimedOutEventDetails.filterSensitiveLog(
2336
- obj.executionTimedOutEventDetails
2337
- ),
2338
- }),
2339
- ...(obj.lambdaFunctionFailedEventDetails && {
2340
- lambdaFunctionFailedEventDetails: LambdaFunctionFailedEventDetails.filterSensitiveLog(
2341
- obj.lambdaFunctionFailedEventDetails
2342
- ),
2343
- }),
2344
- ...(obj.lambdaFunctionScheduleFailedEventDetails && {
2345
- lambdaFunctionScheduleFailedEventDetails: LambdaFunctionScheduleFailedEventDetails.filterSensitiveLog(
2346
- obj.lambdaFunctionScheduleFailedEventDetails
2347
- ),
2348
- }),
2349
- ...(obj.lambdaFunctionScheduledEventDetails && {
2350
- lambdaFunctionScheduledEventDetails: LambdaFunctionScheduledEventDetails.filterSensitiveLog(
2351
- obj.lambdaFunctionScheduledEventDetails
2352
- ),
2353
- }),
2354
- ...(obj.lambdaFunctionStartFailedEventDetails && {
2355
- lambdaFunctionStartFailedEventDetails: LambdaFunctionStartFailedEventDetails.filterSensitiveLog(
2356
- obj.lambdaFunctionStartFailedEventDetails
2357
- ),
2358
- }),
2359
- ...(obj.lambdaFunctionSucceededEventDetails && {
2360
- lambdaFunctionSucceededEventDetails: LambdaFunctionSucceededEventDetails.filterSensitiveLog(
2361
- obj.lambdaFunctionSucceededEventDetails
2362
- ),
2363
- }),
2364
- ...(obj.lambdaFunctionTimedOutEventDetails && {
2365
- lambdaFunctionTimedOutEventDetails: LambdaFunctionTimedOutEventDetails.filterSensitiveLog(
2366
- obj.lambdaFunctionTimedOutEventDetails
2367
- ),
2368
- }),
2369
- ...(obj.stateEnteredEventDetails && {
2370
- stateEnteredEventDetails: StateEnteredEventDetails.filterSensitiveLog(obj.stateEnteredEventDetails),
2371
- }),
2372
- ...(obj.stateExitedEventDetails && {
2373
- stateExitedEventDetails: StateExitedEventDetails.filterSensitiveLog(obj.stateExitedEventDetails),
2374
- }),
2375
- });
2376
- }
2377
-
2378
- export interface GetExecutionHistoryOutput {
2379
- /**
2380
- * <p>The list of events that occurred in the execution.</p>
2381
- */
2382
- events: HistoryEvent[] | undefined;
2383
-
2384
- /**
2385
- * <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page.
2386
- * Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
2387
- */
2388
- nextToken?: string;
2389
- }
2390
-
2391
- export namespace GetExecutionHistoryOutput {
2392
- /**
2393
- * @internal
2394
- */
2395
- export const filterSensitiveLog = (obj: GetExecutionHistoryOutput): any => ({
2396
- ...obj,
2397
- ...(obj.events && { events: obj.events.map((item) => HistoryEvent.filterSensitiveLog(item)) }),
2398
- });
2399
- }
2400
-
2401
- /**
2402
- * <p>The provided token is invalid.</p>
2403
- */
2404
- export interface InvalidToken extends __SmithyException, $MetadataBearer {
2405
- name: "InvalidToken";
2406
- $fault: "client";
2407
- message?: string;
2408
- }
2409
-
2410
- export namespace InvalidToken {
2411
- /**
2412
- * @internal
2413
- */
2414
- export const filterSensitiveLog = (obj: InvalidToken): any => ({
2415
- ...obj,
2416
- });
2417
- }
2418
-
2419
- export interface ListActivitiesInput {
2420
- /**
2421
- * <p>The maximum number of results that are returned per call. You can use <code>nextToken</code> to obtain further pages of results.
2422
- * The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.</p>
2423
- * <p>This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.</p>
2424
- */
2425
- maxResults?: number;
2426
-
2427
- /**
2428
- * <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page.
2429
- * Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
2430
- */
2431
- nextToken?: string;
2432
- }
2433
-
2434
- export namespace ListActivitiesInput {
2435
- /**
2436
- * @internal
2437
- */
2438
- export const filterSensitiveLog = (obj: ListActivitiesInput): any => ({
2439
- ...obj,
2440
- });
2441
- }
2442
-
2443
- export interface ListActivitiesOutput {
2444
- /**
2445
- * <p>The list of activities.</p>
2446
- */
2447
- activities: ActivityListItem[] | undefined;
2448
-
2449
- /**
2450
- * <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page.
2451
- * Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
2452
- */
2453
- nextToken?: string;
2454
- }
2455
-
2456
- export namespace ListActivitiesOutput {
2457
- /**
2458
- * @internal
2459
- */
2460
- export const filterSensitiveLog = (obj: ListActivitiesOutput): any => ({
2461
- ...obj,
2462
- });
2463
- }
2464
-
2465
- export interface ListExecutionsInput {
2466
- /**
2467
- * <p>The Amazon Resource Name (ARN) of the state machine whose executions is listed.</p>
2468
- */
2469
- stateMachineArn: string | undefined;
2470
-
2471
- /**
2472
- * <p>If specified, only list the executions whose current execution status matches the given
2473
- * filter.</p>
2474
- */
2475
- statusFilter?: ExecutionStatus | string;
2476
-
2477
- /**
2478
- * <p>The maximum number of results that are returned per call. You can use <code>nextToken</code> to obtain further pages of results.
2479
- * The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.</p>
2480
- * <p>This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.</p>
2481
- */
2482
- maxResults?: number;
2483
-
2484
- /**
2485
- * <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page.
2486
- * Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
2487
- */
2488
- nextToken?: string;
2489
- }
2490
-
2491
- export namespace ListExecutionsInput {
2492
- /**
2493
- * @internal
2494
- */
2495
- export const filterSensitiveLog = (obj: ListExecutionsInput): any => ({
2496
- ...obj,
2497
- });
2498
- }
2499
-
2500
- /**
2501
- * <p>Contains details about an execution.</p>
2502
- */
2503
- export interface ExecutionListItem {
2504
- /**
2505
- * <p>The Amazon Resource Name (ARN) that identifies the execution.</p>
2506
- */
2507
- executionArn: string | undefined;
2508
-
2509
- /**
2510
- * <p>The Amazon Resource Name (ARN) of the executed state machine.</p>
2511
- */
2512
- stateMachineArn: string | undefined;
2513
-
2514
- /**
2515
- * <p>The name of the execution.</p>
2516
- * <p>A name must <i>not</i> contain:</p>
2517
- * <ul>
2518
- * <li>
2519
- * <p>white space</p>
2520
- * </li>
2521
- * <li>
2522
- * <p>brackets <code>< > { } [ ]</code>
2523
- * </p>
2524
- * </li>
2525
- * <li>
2526
- * <p>wildcard characters <code>? *</code>
2527
- * </p>
2528
- * </li>
2529
- * <li>
2530
- * <p>special characters <code>" # % \ ^ | ~ ` $ & , ; : /</code>
2531
- * </p>
2532
- * </li>
2533
- * <li>
2534
- * <p>control characters (<code>U+0000-001F</code>, <code>U+007F-009F</code>)</p>
2535
- * </li>
2536
- * </ul>
2537
- * <p>To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.</p>
2538
- */
2539
- name: string | undefined;
2540
-
2541
- /**
2542
- * <p>The current status of the execution.</p>
2543
- */
2544
- status: ExecutionStatus | string | undefined;
2545
-
2546
- /**
2547
- * <p>The date the execution started.</p>
2548
- */
2549
- startDate: Date | undefined;
2550
-
2551
- /**
2552
- * <p>If the execution already ended, the date the execution stopped.</p>
2553
- */
2554
- stopDate?: Date;
2555
- }
2556
-
2557
- export namespace ExecutionListItem {
2558
- /**
2559
- * @internal
2560
- */
2561
- export const filterSensitiveLog = (obj: ExecutionListItem): any => ({
2562
- ...obj,
2563
- });
2564
- }
2565
-
2566
- export interface ListExecutionsOutput {
2567
- /**
2568
- * <p>The list of matching executions.</p>
2569
- */
2570
- executions: ExecutionListItem[] | undefined;
2571
-
2572
- /**
2573
- * <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page.
2574
- * Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
2575
- */
2576
- nextToken?: string;
2577
- }
2578
-
2579
- export namespace ListExecutionsOutput {
2580
- /**
2581
- * @internal
2582
- */
2583
- export const filterSensitiveLog = (obj: ListExecutionsOutput): any => ({
2584
- ...obj,
2585
- });
2586
- }
2587
-
2588
- export interface ListStateMachinesInput {
2589
- /**
2590
- * <p>The maximum number of results that are returned per call. You can use <code>nextToken</code> to obtain further pages of results.
2591
- * The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.</p>
2592
- * <p>This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.</p>
2593
- */
2594
- maxResults?: number;
2595
-
2596
- /**
2597
- * <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page.
2598
- * Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
2599
- */
2600
- nextToken?: string;
2601
- }
2602
-
2603
- export namespace ListStateMachinesInput {
2604
- /**
2605
- * @internal
2606
- */
2607
- export const filterSensitiveLog = (obj: ListStateMachinesInput): any => ({
2608
- ...obj,
2609
- });
2610
- }
2611
-
2612
- /**
2613
- * <p>Contains details about the state machine.</p>
2614
- */
2615
- export interface StateMachineListItem {
2616
- /**
2617
- * <p>The Amazon Resource Name (ARN) that identifies the state machine.</p>
2618
- */
2619
- stateMachineArn: string | undefined;
2620
-
2621
- /**
2622
- * <p>The name of the state machine.</p>
2623
- * <p>A name must <i>not</i> contain:</p>
2624
- * <ul>
2625
- * <li>
2626
- * <p>white space</p>
2627
- * </li>
2628
- * <li>
2629
- * <p>brackets <code>< > { } [ ]</code>
2630
- * </p>
2631
- * </li>
2632
- * <li>
2633
- * <p>wildcard characters <code>? *</code>
2634
- * </p>
2635
- * </li>
2636
- * <li>
2637
- * <p>special characters <code>" # % \ ^ | ~ ` $ & , ; : /</code>
2638
- * </p>
2639
- * </li>
2640
- * <li>
2641
- * <p>control characters (<code>U+0000-001F</code>, <code>U+007F-009F</code>)</p>
2642
- * </li>
2643
- * </ul>
2644
- * <p>To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.</p>
2645
- */
2646
- name: string | undefined;
2647
-
2648
- /**
2649
- * <p></p>
2650
- */
2651
- type: StateMachineType | string | undefined;
2652
-
2653
- /**
2654
- * <p>The date the state machine is created.</p>
2655
- */
2656
- creationDate: Date | undefined;
2657
- }
2658
-
2659
- export namespace StateMachineListItem {
2660
- /**
2661
- * @internal
2662
- */
2663
- export const filterSensitiveLog = (obj: StateMachineListItem): any => ({
2664
- ...obj,
2665
- });
2666
- }
2667
-
2668
- export interface ListStateMachinesOutput {
2669
- stateMachines: StateMachineListItem[] | undefined;
2670
- /**
2671
- * <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page.
2672
- * Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
2673
- */
2674
- nextToken?: string;
2675
- }
2676
-
2677
- export namespace ListStateMachinesOutput {
2678
- /**
2679
- * @internal
2680
- */
2681
- export const filterSensitiveLog = (obj: ListStateMachinesOutput): any => ({
2682
- ...obj,
2683
- });
2684
- }
2685
-
2686
- export interface ListTagsForResourceInput {
2687
- /**
2688
- * <p>The Amazon Resource Name (ARN) for the Step Functions state machine or activity.</p>
2689
- */
2690
- resourceArn: string | undefined;
2691
- }
2692
-
2693
- export namespace ListTagsForResourceInput {
2694
- /**
2695
- * @internal
2696
- */
2697
- export const filterSensitiveLog = (obj: ListTagsForResourceInput): any => ({
2698
- ...obj,
2699
- });
2700
- }
2701
-
2702
- export interface ListTagsForResourceOutput {
2703
- /**
2704
- * <p>An array of tags associated with the resource.</p>
2705
- */
2706
- tags?: Tag[];
2707
- }
2708
-
2709
- export namespace ListTagsForResourceOutput {
2710
- /**
2711
- * @internal
2712
- */
2713
- export const filterSensitiveLog = (obj: ListTagsForResourceOutput): any => ({
2714
- ...obj,
2715
- });
2716
- }
2717
-
2718
- /**
2719
- * <p>Could not find the referenced resource. Only state machine and activity ARNs are
2720
- * supported.</p>
2721
- */
2722
- export interface ResourceNotFound extends __SmithyException, $MetadataBearer {
2723
- name: "ResourceNotFound";
2724
- $fault: "client";
2725
- message?: string;
2726
- resourceName?: string;
2727
- }
2728
-
2729
- export namespace ResourceNotFound {
2730
- /**
2731
- * @internal
2732
- */
2733
- export const filterSensitiveLog = (obj: ResourceNotFound): any => ({
2734
- ...obj,
2735
- });
2736
- }
2737
-
2738
- export interface SendTaskFailureInput {
2739
- /**
2740
- * <p>The token that represents this task. Task tokens are generated by Step Functions when
2741
- * tasks are assigned to a worker, or in the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/input-output-contextobject.html">context object</a> when a
2742
- * workflow enters a task state. See <a>GetActivityTaskOutput$taskToken</a>.</p>
2743
- */
2744
- taskToken: string | undefined;
2745
-
2746
- /**
2747
- * <p>The error code of the failure.</p>
2748
- */
2749
- error?: string;
2750
-
2751
- /**
2752
- * <p>A more detailed explanation of the cause of the failure.</p>
2753
- */
2754
- cause?: string;
2755
- }
2756
-
2757
- export namespace SendTaskFailureInput {
2758
- /**
2759
- * @internal
2760
- */
2761
- export const filterSensitiveLog = (obj: SendTaskFailureInput): any => ({
2762
- ...obj,
2763
- ...(obj.error && { error: SENSITIVE_STRING }),
2764
- ...(obj.cause && { cause: SENSITIVE_STRING }),
2765
- });
2766
- }
2767
-
2768
- export interface SendTaskFailureOutput {}
2769
-
2770
- export namespace SendTaskFailureOutput {
2771
- /**
2772
- * @internal
2773
- */
2774
- export const filterSensitiveLog = (obj: SendTaskFailureOutput): any => ({
2775
- ...obj,
2776
- });
2777
- }
2778
-
2779
- export interface TaskDoesNotExist extends __SmithyException, $MetadataBearer {
2780
- name: "TaskDoesNotExist";
2781
- $fault: "client";
2782
- message?: string;
2783
- }
2784
-
2785
- export namespace TaskDoesNotExist {
2786
- /**
2787
- * @internal
2788
- */
2789
- export const filterSensitiveLog = (obj: TaskDoesNotExist): any => ({
2790
- ...obj,
2791
- });
2792
- }
2793
-
2794
- export interface TaskTimedOut extends __SmithyException, $MetadataBearer {
2795
- name: "TaskTimedOut";
2796
- $fault: "client";
2797
- message?: string;
2798
- }
2799
-
2800
- export namespace TaskTimedOut {
2801
- /**
2802
- * @internal
2803
- */
2804
- export const filterSensitiveLog = (obj: TaskTimedOut): any => ({
2805
- ...obj,
2806
- });
2807
- }
2808
-
2809
- export interface SendTaskHeartbeatInput {
2810
- /**
2811
- * <p>The token that represents this task. Task tokens are generated by Step Functions when
2812
- * tasks are assigned to a worker, or in the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/input-output-contextobject.html">context object</a> when a
2813
- * workflow enters a task state. See <a>GetActivityTaskOutput$taskToken</a>.</p>
2814
- */
2815
- taskToken: string | undefined;
2816
- }
2817
-
2818
- export namespace SendTaskHeartbeatInput {
2819
- /**
2820
- * @internal
2821
- */
2822
- export const filterSensitiveLog = (obj: SendTaskHeartbeatInput): any => ({
2823
- ...obj,
2824
- });
2825
- }
2826
-
2827
- export interface SendTaskHeartbeatOutput {}
2828
-
2829
- export namespace SendTaskHeartbeatOutput {
2830
- /**
2831
- * @internal
2832
- */
2833
- export const filterSensitiveLog = (obj: SendTaskHeartbeatOutput): any => ({
2834
- ...obj,
2835
- });
2836
- }
2837
-
2838
- /**
2839
- * <p>The provided JSON output data is invalid.</p>
2840
- */
2841
- export interface InvalidOutput extends __SmithyException, $MetadataBearer {
2842
- name: "InvalidOutput";
2843
- $fault: "client";
2844
- message?: string;
2845
- }
2846
-
2847
- export namespace InvalidOutput {
2848
- /**
2849
- * @internal
2850
- */
2851
- export const filterSensitiveLog = (obj: InvalidOutput): any => ({
2852
- ...obj,
2853
- });
2854
- }
2855
-
2856
- export interface SendTaskSuccessInput {
2857
- /**
2858
- * <p>The token that represents this task. Task tokens are generated by Step Functions when
2859
- * tasks are assigned to a worker, or in the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/input-output-contextobject.html">context object</a> when a
2860
- * workflow enters a task state. See <a>GetActivityTaskOutput$taskToken</a>.</p>
2861
- */
2862
- taskToken: string | undefined;
2863
-
2864
- /**
2865
- * <p>The JSON output of the task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.</p>
2866
- */
2867
- output: string | undefined;
2868
- }
2869
-
2870
- export namespace SendTaskSuccessInput {
2871
- /**
2872
- * @internal
2873
- */
2874
- export const filterSensitiveLog = (obj: SendTaskSuccessInput): any => ({
2875
- ...obj,
2876
- ...(obj.output && { output: SENSITIVE_STRING }),
2877
- });
2878
- }
2879
-
2880
- export interface SendTaskSuccessOutput {}
2881
-
2882
- export namespace SendTaskSuccessOutput {
2883
- /**
2884
- * @internal
2885
- */
2886
- export const filterSensitiveLog = (obj: SendTaskSuccessOutput): any => ({
2887
- ...obj,
2888
- });
2889
- }
2890
-
2891
- /**
2892
- * <p>The execution has the same <code>name</code> as another execution (but a different
2893
- * <code>input</code>).</p>
2894
- * <note>
2895
- * <p>Executions with the same <code>name</code> and <code>input</code> are considered
2896
- * idempotent.</p>
2897
- * </note>
2898
- */
2899
- export interface ExecutionAlreadyExists extends __SmithyException, $MetadataBearer {
2900
- name: "ExecutionAlreadyExists";
2901
- $fault: "client";
2902
- message?: string;
2903
- }
2904
-
2905
- export namespace ExecutionAlreadyExists {
2906
- /**
2907
- * @internal
2908
- */
2909
- export const filterSensitiveLog = (obj: ExecutionAlreadyExists): any => ({
2910
- ...obj,
2911
- });
2912
- }
2913
-
2914
- /**
2915
- * <p>The maximum number of running executions has been reached. Running executions must end or
2916
- * be stopped before a new execution can be started.</p>
2917
- */
2918
- export interface ExecutionLimitExceeded extends __SmithyException, $MetadataBearer {
2919
- name: "ExecutionLimitExceeded";
2920
- $fault: "client";
2921
- message?: string;
2922
- }
2923
-
2924
- export namespace ExecutionLimitExceeded {
2925
- /**
2926
- * @internal
2927
- */
2928
- export const filterSensitiveLog = (obj: ExecutionLimitExceeded): any => ({
2929
- ...obj,
2930
- });
2931
- }
2932
-
2933
- /**
2934
- * <p>The provided JSON input data is invalid.</p>
2935
- */
2936
- export interface InvalidExecutionInput extends __SmithyException, $MetadataBearer {
2937
- name: "InvalidExecutionInput";
2938
- $fault: "client";
2939
- message?: string;
2940
- }
2941
-
2942
- export namespace InvalidExecutionInput {
2943
- /**
2944
- * @internal
2945
- */
2946
- export const filterSensitiveLog = (obj: InvalidExecutionInput): any => ({
2947
- ...obj,
2948
- });
2949
- }
2950
-
2951
- export interface StartExecutionInput {
2952
- /**
2953
- * <p>The Amazon Resource Name (ARN) of the state machine to execute.</p>
2954
- */
2955
- stateMachineArn: string | undefined;
2956
-
2957
- /**
2958
- * <p>The name of the execution. This name must be unique for your AWS account, region, and state machine for 90 days. For more information,
2959
- * see <a href="https://docs.aws.amazon.com/step-functions/latest/dg/limits.html#service-limits-state-machine-executions">
2960
- * Limits Related to State Machine Executions</a> in the <i>AWS Step Functions Developer Guide</i>.</p>
2961
- * <p>A name must <i>not</i> contain:</p>
2962
- * <ul>
2963
- * <li>
2964
- * <p>white space</p>
2965
- * </li>
2966
- * <li>
2967
- * <p>brackets <code>< > { } [ ]</code>
2968
- * </p>
2969
- * </li>
2970
- * <li>
2971
- * <p>wildcard characters <code>? *</code>
2972
- * </p>
2973
- * </li>
2974
- * <li>
2975
- * <p>special characters <code>" # % \ ^ | ~ ` $ & , ; : /</code>
2976
- * </p>
2977
- * </li>
2978
- * <li>
2979
- * <p>control characters (<code>U+0000-001F</code>, <code>U+007F-009F</code>)</p>
2980
- * </li>
2981
- * </ul>
2982
- * <p>To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.</p>
2983
- */
2984
- name?: string;
2985
-
2986
- /**
2987
- * <p>The string that contains the JSON input data for the execution, for example:</p>
2988
- * <p>
2989
- * <code>"input": "{\"first_name\" : \"test\"}"</code>
2990
- * </p>
2991
- * <note>
2992
- * <p>If you don't include any JSON input data, you still must include the two braces, for
2993
- * example: <code>"input": "{}"</code>
2994
- * </p>
2995
- * </note>
2996
- * <p>Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.</p>
2997
- */
2998
- input?: string;
2999
-
3000
- /**
3001
- * <p>Passes the AWS X-Ray trace header. The trace header can also be passed in the request payload.</p>
3002
- */
3003
- traceHeader?: string;
3004
- }
3005
-
3006
- export namespace StartExecutionInput {
3007
- /**
3008
- * @internal
3009
- */
3010
- export const filterSensitiveLog = (obj: StartExecutionInput): any => ({
3011
- ...obj,
3012
- ...(obj.input && { input: SENSITIVE_STRING }),
3013
- });
3014
- }
3015
-
3016
- export interface StartExecutionOutput {
3017
- /**
3018
- * <p>The Amazon Resource Name (ARN) that identifies the execution.</p>
3019
- */
3020
- executionArn: string | undefined;
3021
-
3022
- /**
3023
- * <p>The date the execution is started.</p>
3024
- */
3025
- startDate: Date | undefined;
3026
- }
3027
-
3028
- export namespace StartExecutionOutput {
3029
- /**
3030
- * @internal
3031
- */
3032
- export const filterSensitiveLog = (obj: StartExecutionOutput): any => ({
3033
- ...obj,
3034
- });
3035
- }
3036
-
3037
- export interface StartSyncExecutionInput {
3038
- /**
3039
- * <p>The Amazon Resource Name (ARN) of the state machine to execute.</p>
3040
- */
3041
- stateMachineArn: string | undefined;
3042
-
3043
- /**
3044
- * <p>The name of the execution.</p>
3045
- */
3046
- name?: string;
3047
-
3048
- /**
3049
- * <p>The string that contains the JSON input data for the execution, for example:</p>
3050
- * <p>
3051
- * <code>"input": "{\"first_name\" : \"test\"}"</code>
3052
- * </p>
3053
- * <note>
3054
- * <p>If you don't include any JSON input data, you still must include the two braces, for
3055
- * example: <code>"input": "{}"</code>
3056
- * </p>
3057
- * </note>
3058
- * <p>Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.</p>
3059
- */
3060
- input?: string;
3061
-
3062
- /**
3063
- * <p>Passes the AWS X-Ray trace header. The trace header can also be passed in the request payload.</p>
3064
- */
3065
- traceHeader?: string;
3066
- }
3067
-
3068
- export namespace StartSyncExecutionInput {
3069
- /**
3070
- * @internal
3071
- */
3072
- export const filterSensitiveLog = (obj: StartSyncExecutionInput): any => ({
3073
- ...obj,
3074
- ...(obj.input && { input: SENSITIVE_STRING }),
3075
- });
3076
- }
3077
-
3078
- /**
3079
- * <p>An object that describes workflow billing details.</p>
3080
- */
3081
- export interface BillingDetails {
3082
- /**
3083
- * <p>Billed memory consumption of your workflow, in MB.</p>
3084
- */
3085
- billedMemoryUsedInMB?: number;
3086
-
3087
- /**
3088
- * <p>Billed duration of your workflow, in milliseconds.</p>
3089
- */
3090
- billedDurationInMilliseconds?: number;
3091
- }
3092
-
3093
- export namespace BillingDetails {
3094
- /**
3095
- * @internal
3096
- */
3097
- export const filterSensitiveLog = (obj: BillingDetails): any => ({
3098
- ...obj,
3099
- });
3100
- }
3101
-
3102
- export type SyncExecutionStatus = "FAILED" | "SUCCEEDED" | "TIMED_OUT";
3103
-
3104
- export interface StartSyncExecutionOutput {
3105
- /**
3106
- * <p>The Amazon Resource Name (ARN) that identifies the execution.</p>
3107
- */
3108
- executionArn: string | undefined;
3109
-
3110
- /**
3111
- * <p>The Amazon Resource Name (ARN) that identifies the state machine.</p>
3112
- */
3113
- stateMachineArn?: string;
3114
-
3115
- /**
3116
- * <p>The name of the execution.</p>
3117
- */
3118
- name?: string;
3119
-
3120
- /**
3121
- * <p>The date the execution is started.</p>
3122
- */
3123
- startDate: Date | undefined;
3124
-
3125
- /**
3126
- * <p>If the execution has already ended, the date the execution stopped.</p>
3127
- */
3128
- stopDate: Date | undefined;
3129
-
3130
- /**
3131
- * <p>The current status of the execution.</p>
3132
- */
3133
- status: SyncExecutionStatus | string | undefined;
3134
-
3135
- /**
3136
- * <p>The error code of the failure.</p>
3137
- */
3138
- error?: string;
3139
-
3140
- /**
3141
- * <p>A more detailed explanation of the cause of the failure.</p>
3142
- */
3143
- cause?: string;
3144
-
3145
- /**
3146
- * <p>The string that contains the JSON input data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.</p>
3147
- */
3148
- input?: string;
3149
-
3150
- /**
3151
- * <p>Provides details about execution input or output.</p>
3152
- */
3153
- inputDetails?: CloudWatchEventsExecutionDataDetails;
3154
-
3155
- /**
3156
- * <p>The JSON output data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.</p>
3157
- * <note>
3158
- * <p>This field is set only if the execution succeeds. If the execution fails, this field is
3159
- * null.</p>
3160
- * </note>
3161
- */
3162
- output?: string;
3163
-
3164
- /**
3165
- * <p>Provides details about execution input or output.</p>
3166
- */
3167
- outputDetails?: CloudWatchEventsExecutionDataDetails;
3168
-
3169
- /**
3170
- * <p>The AWS X-Ray trace header that was passed to the execution.</p>
3171
- */
3172
- traceHeader?: string;
3173
-
3174
- /**
3175
- * <p>An object that describes workflow billing details, including billed duration
3176
- * and memory use.</p>
3177
- */
3178
- billingDetails?: BillingDetails;
3179
- }
3180
-
3181
- export namespace StartSyncExecutionOutput {
3182
- /**
3183
- * @internal
3184
- */
3185
- export const filterSensitiveLog = (obj: StartSyncExecutionOutput): any => ({
3186
- ...obj,
3187
- ...(obj.error && { error: SENSITIVE_STRING }),
3188
- ...(obj.cause && { cause: SENSITIVE_STRING }),
3189
- ...(obj.input && { input: SENSITIVE_STRING }),
3190
- ...(obj.output && { output: SENSITIVE_STRING }),
3191
- });
3192
- }
3193
-
3194
- export interface StopExecutionInput {
3195
- /**
3196
- * <p>The Amazon Resource Name (ARN) of the execution to stop.</p>
3197
- */
3198
- executionArn: string | undefined;
3199
-
3200
- /**
3201
- * <p>The error code of the failure.</p>
3202
- */
3203
- error?: string;
3204
-
3205
- /**
3206
- * <p>A more detailed explanation of the cause of the failure.</p>
3207
- */
3208
- cause?: string;
3209
- }
3210
-
3211
- export namespace StopExecutionInput {
3212
- /**
3213
- * @internal
3214
- */
3215
- export const filterSensitiveLog = (obj: StopExecutionInput): any => ({
3216
- ...obj,
3217
- ...(obj.error && { error: SENSITIVE_STRING }),
3218
- ...(obj.cause && { cause: SENSITIVE_STRING }),
3219
- });
3220
- }
3221
-
3222
- export interface StopExecutionOutput {
3223
- /**
3224
- * <p>The date the execution is stopped.</p>
3225
- */
3226
- stopDate: Date | undefined;
3227
- }
3228
-
3229
- export namespace StopExecutionOutput {
3230
- /**
3231
- * @internal
3232
- */
3233
- export const filterSensitiveLog = (obj: StopExecutionOutput): any => ({
3234
- ...obj,
3235
- });
3236
- }
3237
-
3238
- export interface TagResourceInput {
3239
- /**
3240
- * <p>The Amazon Resource Name (ARN) for the Step Functions state machine or activity.</p>
3241
- */
3242
- resourceArn: string | undefined;
3243
-
3244
- /**
3245
- * <p>The list of tags to add to a resource.</p>
3246
- * <p>Tags may only contain Unicode letters, digits, white space, or these symbols: <code>_ . : / = + - @</code>.</p>
3247
- */
3248
- tags: Tag[] | undefined;
3249
- }
3250
-
3251
- export namespace TagResourceInput {
3252
- /**
3253
- * @internal
3254
- */
3255
- export const filterSensitiveLog = (obj: TagResourceInput): any => ({
3256
- ...obj,
3257
- });
3258
- }
3259
-
3260
- export interface TagResourceOutput {}
3261
-
3262
- export namespace TagResourceOutput {
3263
- /**
3264
- * @internal
3265
- */
3266
- export const filterSensitiveLog = (obj: TagResourceOutput): any => ({
3267
- ...obj,
3268
- });
3269
- }
3270
-
3271
- export interface UntagResourceInput {
3272
- /**
3273
- * <p>The Amazon Resource Name (ARN) for the Step Functions state machine or activity.</p>
3274
- */
3275
- resourceArn: string | undefined;
3276
-
3277
- /**
3278
- * <p>The list of tags to remove from the resource.</p>
3279
- */
3280
- tagKeys: string[] | undefined;
3281
- }
3282
-
3283
- export namespace UntagResourceInput {
3284
- /**
3285
- * @internal
3286
- */
3287
- export const filterSensitiveLog = (obj: UntagResourceInput): any => ({
3288
- ...obj,
3289
- });
3290
- }
3291
-
3292
- export interface UntagResourceOutput {}
3293
-
3294
- export namespace UntagResourceOutput {
3295
- /**
3296
- * @internal
3297
- */
3298
- export const filterSensitiveLog = (obj: UntagResourceOutput): any => ({
3299
- ...obj,
3300
- });
3301
- }
3302
-
3303
- /**
3304
- * <p>Request is missing a required parameter. This error occurs if both <code>definition</code>
3305
- * and <code>roleArn</code> are not specified.</p>
3306
- */
3307
- export interface MissingRequiredParameter extends __SmithyException, $MetadataBearer {
3308
- name: "MissingRequiredParameter";
3309
- $fault: "client";
3310
- message?: string;
3311
- }
3312
-
3313
- export namespace MissingRequiredParameter {
3314
- /**
3315
- * @internal
3316
- */
3317
- export const filterSensitiveLog = (obj: MissingRequiredParameter): any => ({
3318
- ...obj,
3319
- });
3320
- }
3321
-
3322
- export interface UpdateStateMachineInput {
3323
- /**
3324
- * <p>The Amazon Resource Name (ARN) of the state machine.</p>
3325
- */
3326
- stateMachineArn: string | undefined;
3327
-
3328
- /**
3329
- * <p>The Amazon States Language definition of the state machine. See <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html">Amazon States Language</a>.</p>
3330
- */
3331
- definition?: string;
3332
-
3333
- /**
3334
- * <p>The Amazon Resource Name (ARN) of the IAM role of the state machine.</p>
3335
- */
3336
- roleArn?: string;
3337
-
3338
- /**
3339
- * <p>The <code>LoggingConfiguration</code> data type is used to set CloudWatch Logs
3340
- * options.</p>
3341
- */
3342
- loggingConfiguration?: LoggingConfiguration;
3343
-
3344
- /**
3345
- * <p>Selects whether AWS X-Ray tracing is enabled.</p>
3346
- */
3347
- tracingConfiguration?: TracingConfiguration;
3348
- }
3349
-
3350
- export namespace UpdateStateMachineInput {
3351
- /**
3352
- * @internal
3353
- */
3354
- export const filterSensitiveLog = (obj: UpdateStateMachineInput): any => ({
3355
- ...obj,
3356
- ...(obj.definition && { definition: SENSITIVE_STRING }),
3357
- });
3358
- }
3359
-
3360
- export interface UpdateStateMachineOutput {
3361
- /**
3362
- * <p>The date and time the state machine was updated.</p>
3363
- */
3364
- updateDate: Date | undefined;
3365
- }
3366
-
3367
- export namespace UpdateStateMachineOutput {
3368
- /**
3369
- * @internal
3370
- */
3371
- export const filterSensitiveLog = (obj: UpdateStateMachineOutput): any => ({
3372
- ...obj,
3373
- });
3374
- }