@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,313 +0,0 @@
1
- import { SFNClient } from "./SFNClient";
2
- import { CreateActivityCommandInput, CreateActivityCommandOutput } from "./commands/CreateActivityCommand";
3
- import { CreateStateMachineCommandInput, CreateStateMachineCommandOutput } from "./commands/CreateStateMachineCommand";
4
- import { DeleteActivityCommandInput, DeleteActivityCommandOutput } from "./commands/DeleteActivityCommand";
5
- import { DeleteStateMachineCommandInput, DeleteStateMachineCommandOutput } from "./commands/DeleteStateMachineCommand";
6
- import { DescribeActivityCommandInput, DescribeActivityCommandOutput } from "./commands/DescribeActivityCommand";
7
- import { DescribeExecutionCommandInput, DescribeExecutionCommandOutput } from "./commands/DescribeExecutionCommand";
8
- import { DescribeStateMachineCommandInput, DescribeStateMachineCommandOutput } from "./commands/DescribeStateMachineCommand";
9
- import { DescribeStateMachineForExecutionCommandInput, DescribeStateMachineForExecutionCommandOutput } from "./commands/DescribeStateMachineForExecutionCommand";
10
- import { GetActivityTaskCommandInput, GetActivityTaskCommandOutput } from "./commands/GetActivityTaskCommand";
11
- import { GetExecutionHistoryCommandInput, GetExecutionHistoryCommandOutput } from "./commands/GetExecutionHistoryCommand";
12
- import { ListActivitiesCommandInput, ListActivitiesCommandOutput } from "./commands/ListActivitiesCommand";
13
- import { ListExecutionsCommandInput, ListExecutionsCommandOutput } from "./commands/ListExecutionsCommand";
14
- import { ListStateMachinesCommandInput, ListStateMachinesCommandOutput } from "./commands/ListStateMachinesCommand";
15
- import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
16
- import { SendTaskFailureCommandInput, SendTaskFailureCommandOutput } from "./commands/SendTaskFailureCommand";
17
- import { SendTaskHeartbeatCommandInput, SendTaskHeartbeatCommandOutput } from "./commands/SendTaskHeartbeatCommand";
18
- import { SendTaskSuccessCommandInput, SendTaskSuccessCommandOutput } from "./commands/SendTaskSuccessCommand";
19
- import { StartExecutionCommandInput, StartExecutionCommandOutput } from "./commands/StartExecutionCommand";
20
- import { StartSyncExecutionCommandInput, StartSyncExecutionCommandOutput } from "./commands/StartSyncExecutionCommand";
21
- import { StopExecutionCommandInput, StopExecutionCommandOutput } from "./commands/StopExecutionCommand";
22
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
23
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
24
- import { UpdateStateMachineCommandInput, UpdateStateMachineCommandOutput } from "./commands/UpdateStateMachineCommand";
25
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
26
- /**
27
- * <fullname>AWS Step Functions</fullname>
28
- * <p>AWS Step Functions is a service that lets you coordinate the components of distributed applications
29
- * and microservices using visual workflows.</p>
30
- * <p>You can use Step Functions to build applications from individual components, each of which performs
31
- * a discrete function, or <i>task</i>, allowing you to scale and change
32
- * applications quickly. Step Functions provides a console that helps visualize the components of your
33
- * application as a series of steps. Step Functions automatically triggers and tracks each step, and
34
- * retries steps when there are errors, so your application executes predictably and in the right
35
- * order every time. Step Functions logs the state of each step, so you can quickly diagnose and debug any
36
- * issues.</p>
37
- * <p>Step Functions manages operations and underlying infrastructure to ensure your application is
38
- * available at any scale. You can run tasks on AWS, your own servers, or any system that has
39
- * access to AWS. You can access and use Step Functions using the console, the AWS SDKs, or an HTTP API.
40
- * For more information about Step Functions, see the <i>
41
- * <a href="https://docs.aws.amazon.com/step-functions/latest/dg/welcome.html">AWS Step Functions Developer Guide</a>
42
- * </i>.</p>
43
- */
44
- export declare class SFN extends SFNClient {
45
- /**
46
- * <p>Creates an activity. An activity is a task that you write in any programming language and
47
- * host on any machine that has access to AWS Step Functions. Activities must poll Step Functions using the
48
- * <code>GetActivityTask</code> API action and respond using <code>SendTask*</code> API
49
- * actions. This function lets Step Functions know the existence of your activity and returns an
50
- * identifier for use in a state machine and when polling from the activity.</p>
51
- * <note>
52
- * <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
53
- * </note>
54
- * <note>
55
- * <p>
56
- * <code>CreateActivity</code> is an idempotent API. Subsequent requests won’t create a
57
- * duplicate resource if it was already created. <code>CreateActivity</code>'s idempotency
58
- * check is based on the activity <code>name</code>. If a following request has different
59
- * <code>tags</code> values, Step Functions will ignore these differences and treat it as an
60
- * idempotent request of the previous. In this case, <code>tags</code> will not be updated,
61
- * even if they are different.</p>
62
- * </note>
63
- */
64
- createActivity(args: CreateActivityCommandInput, options?: __HttpHandlerOptions): Promise<CreateActivityCommandOutput>;
65
- createActivity(args: CreateActivityCommandInput, cb: (err: any, data?: CreateActivityCommandOutput) => void): void;
66
- createActivity(args: CreateActivityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateActivityCommandOutput) => void): void;
67
- /**
68
- * <p>Creates a state machine. A state machine consists of a collection of states that can do
69
- * work (<code>Task</code> states), determine to which states to transition next
70
- * (<code>Choice</code> states), stop an execution with an error (<code>Fail</code> states),
71
- * and so on. State machines are specified using a JSON-based, structured language. For more
72
- * information, see <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html">Amazon States
73
- * Language</a> in the AWS Step Functions User Guide.</p>
74
- * <note>
75
- * <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
76
- * </note>
77
- * <note>
78
- * <p>
79
- * <code>CreateStateMachine</code> is an idempotent API. Subsequent requests won’t create a
80
- * duplicate resource if it was already created. <code>CreateStateMachine</code>'s idempotency
81
- * check is based on the state machine <code>name</code>, <code>definition</code>,
82
- * <code>type</code>, <code>LoggingConfiguration</code> and <code>TracingConfiguration</code>. If a following request has a
83
- * different <code>roleArn</code> or <code>tags</code>, Step Functions will ignore these differences and
84
- * treat it as an idempotent request of the previous. In this case, <code>roleArn</code> and
85
- * <code>tags</code> will not be updated, even if they are different.</p>
86
- * </note>
87
- */
88
- createStateMachine(args: CreateStateMachineCommandInput, options?: __HttpHandlerOptions): Promise<CreateStateMachineCommandOutput>;
89
- createStateMachine(args: CreateStateMachineCommandInput, cb: (err: any, data?: CreateStateMachineCommandOutput) => void): void;
90
- createStateMachine(args: CreateStateMachineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateStateMachineCommandOutput) => void): void;
91
- /**
92
- * <p>Deletes an activity.</p>
93
- */
94
- deleteActivity(args: DeleteActivityCommandInput, options?: __HttpHandlerOptions): Promise<DeleteActivityCommandOutput>;
95
- deleteActivity(args: DeleteActivityCommandInput, cb: (err: any, data?: DeleteActivityCommandOutput) => void): void;
96
- deleteActivity(args: DeleteActivityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteActivityCommandOutput) => void): void;
97
- /**
98
- * <p>Deletes a state machine. This is an asynchronous operation: It sets the state machine's
99
- * status to <code>DELETING</code> and begins the deletion process. </p>
100
- * <note>
101
- * <p>For <code>EXPRESS</code>state machines, the deletion will happen eventually (usually
102
- * less than a minute). Running executions may emit logs after <code>DeleteStateMachine</code>
103
- * API is called.</p>
104
- * </note>
105
- */
106
- deleteStateMachine(args: DeleteStateMachineCommandInput, options?: __HttpHandlerOptions): Promise<DeleteStateMachineCommandOutput>;
107
- deleteStateMachine(args: DeleteStateMachineCommandInput, cb: (err: any, data?: DeleteStateMachineCommandOutput) => void): void;
108
- deleteStateMachine(args: DeleteStateMachineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteStateMachineCommandOutput) => void): void;
109
- /**
110
- * <p>Describes an activity.</p>
111
- * <note>
112
- * <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
113
- * </note>
114
- */
115
- describeActivity(args: DescribeActivityCommandInput, options?: __HttpHandlerOptions): Promise<DescribeActivityCommandOutput>;
116
- describeActivity(args: DescribeActivityCommandInput, cb: (err: any, data?: DescribeActivityCommandOutput) => void): void;
117
- describeActivity(args: DescribeActivityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeActivityCommandOutput) => void): void;
118
- /**
119
- * <p>Describes an execution.</p>
120
- * <note>
121
- * <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
122
- * </note>
123
- * <p>This API action is not supported by <code>EXPRESS</code> state machines.</p>
124
- */
125
- describeExecution(args: DescribeExecutionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeExecutionCommandOutput>;
126
- describeExecution(args: DescribeExecutionCommandInput, cb: (err: any, data?: DescribeExecutionCommandOutput) => void): void;
127
- describeExecution(args: DescribeExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeExecutionCommandOutput) => void): void;
128
- /**
129
- * <p>Describes a state machine.</p>
130
- * <note>
131
- * <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
132
- * </note>
133
- */
134
- describeStateMachine(args: DescribeStateMachineCommandInput, options?: __HttpHandlerOptions): Promise<DescribeStateMachineCommandOutput>;
135
- describeStateMachine(args: DescribeStateMachineCommandInput, cb: (err: any, data?: DescribeStateMachineCommandOutput) => void): void;
136
- describeStateMachine(args: DescribeStateMachineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeStateMachineCommandOutput) => void): void;
137
- /**
138
- * <p>Describes the state machine associated with a specific execution.</p>
139
- * <note>
140
- * <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
141
- * </note>
142
- * <p>This API action is not supported by <code>EXPRESS</code> state machines.</p>
143
- */
144
- describeStateMachineForExecution(args: DescribeStateMachineForExecutionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeStateMachineForExecutionCommandOutput>;
145
- describeStateMachineForExecution(args: DescribeStateMachineForExecutionCommandInput, cb: (err: any, data?: DescribeStateMachineForExecutionCommandOutput) => void): void;
146
- describeStateMachineForExecution(args: DescribeStateMachineForExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeStateMachineForExecutionCommandOutput) => void): void;
147
- /**
148
- * <p>Used by workers to retrieve a task (with the specified activity ARN) which has been
149
- * scheduled for execution by a running state machine. This initiates a long poll, where the
150
- * service holds the HTTP connection open and responds as soon as a task becomes available (i.e.
151
- * an execution of a task of this type is needed.) The maximum time the service holds on to the
152
- * request before responding is 60 seconds. If no task is available within 60 seconds, the poll
153
- * returns a <code>taskToken</code> with a null string.</p>
154
- * <important>
155
- * <p>Workers should set their client side socket timeout to at least 65 seconds (5 seconds
156
- * higher than the maximum time the service may hold the poll request).</p>
157
- * <p>Polling with <code>GetActivityTask</code> can cause latency in some implementations. See
158
- * <a href="https://docs.aws.amazon.com/step-functions/latest/dg/bp-activity-pollers.html">Avoid
159
- * Latency When Polling for Activity Tasks</a> in the Step Functions Developer Guide.</p>
160
- * </important>
161
- */
162
- getActivityTask(args: GetActivityTaskCommandInput, options?: __HttpHandlerOptions): Promise<GetActivityTaskCommandOutput>;
163
- getActivityTask(args: GetActivityTaskCommandInput, cb: (err: any, data?: GetActivityTaskCommandOutput) => void): void;
164
- getActivityTask(args: GetActivityTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetActivityTaskCommandOutput) => void): void;
165
- /**
166
- * <p>Returns the history of the specified execution as a list of events. By default, the
167
- * results are returned in ascending order of the <code>timeStamp</code> of the events. Use the
168
- * <code>reverseOrder</code> parameter to get the latest events first.</p>
169
- * <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.
170
- * 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>
171
- * <p>This API action is not supported by <code>EXPRESS</code> state machines.</p>
172
- */
173
- getExecutionHistory(args: GetExecutionHistoryCommandInput, options?: __HttpHandlerOptions): Promise<GetExecutionHistoryCommandOutput>;
174
- getExecutionHistory(args: GetExecutionHistoryCommandInput, cb: (err: any, data?: GetExecutionHistoryCommandOutput) => void): void;
175
- getExecutionHistory(args: GetExecutionHistoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetExecutionHistoryCommandOutput) => void): void;
176
- /**
177
- * <p>Lists the existing activities.</p>
178
- * <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.
179
- * 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>
180
- * <note>
181
- * <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
182
- * </note>
183
- */
184
- listActivities(args: ListActivitiesCommandInput, options?: __HttpHandlerOptions): Promise<ListActivitiesCommandOutput>;
185
- listActivities(args: ListActivitiesCommandInput, cb: (err: any, data?: ListActivitiesCommandOutput) => void): void;
186
- listActivities(args: ListActivitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListActivitiesCommandOutput) => void): void;
187
- /**
188
- * <p>Lists the executions of a state machine that meet the filtering criteria. Results are
189
- * sorted by time, with the most recent execution first.</p>
190
- * <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.
191
- * 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>
192
- * <note>
193
- * <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
194
- * </note>
195
- * <p>This API action is not supported by <code>EXPRESS</code> state machines.</p>
196
- */
197
- listExecutions(args: ListExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<ListExecutionsCommandOutput>;
198
- listExecutions(args: ListExecutionsCommandInput, cb: (err: any, data?: ListExecutionsCommandOutput) => void): void;
199
- listExecutions(args: ListExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExecutionsCommandOutput) => void): void;
200
- /**
201
- * <p>Lists the existing state machines.</p>
202
- * <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.
203
- * 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>
204
- * <note>
205
- * <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
206
- * </note>
207
- */
208
- listStateMachines(args: ListStateMachinesCommandInput, options?: __HttpHandlerOptions): Promise<ListStateMachinesCommandOutput>;
209
- listStateMachines(args: ListStateMachinesCommandInput, cb: (err: any, data?: ListStateMachinesCommandOutput) => void): void;
210
- listStateMachines(args: ListStateMachinesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStateMachinesCommandOutput) => void): void;
211
- /**
212
- * <p>List tags for a given resource.</p>
213
- * <p>Tags may only contain Unicode letters, digits, white space, or these symbols: <code>_ . : / = + - @</code>.</p>
214
- */
215
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
216
- listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
217
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
218
- /**
219
- * <p>Used by activity workers and task states using the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token">callback</a>
220
- * pattern to report that the task identified by the <code>taskToken</code> failed.</p>
221
- */
222
- sendTaskFailure(args: SendTaskFailureCommandInput, options?: __HttpHandlerOptions): Promise<SendTaskFailureCommandOutput>;
223
- sendTaskFailure(args: SendTaskFailureCommandInput, cb: (err: any, data?: SendTaskFailureCommandOutput) => void): void;
224
- sendTaskFailure(args: SendTaskFailureCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendTaskFailureCommandOutput) => void): void;
225
- /**
226
- * <p>Used by activity workers and task states using the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token">callback</a>
227
- * pattern to report to Step Functions that the task represented by the specified
228
- * <code>taskToken</code> is still making progress. This action resets the
229
- * <code>Heartbeat</code> clock. The <code>Heartbeat</code> threshold is specified in the state
230
- * machine's Amazon States Language definition (<code>HeartbeatSeconds</code>). This action does not in itself
231
- * create an event in the execution history. However, if the task times out, the execution
232
- * history contains an <code>ActivityTimedOut</code> entry for activities, or a
233
- * <code>TaskTimedOut</code> entry for for tasks using the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-sync">job run</a> or
234
- * <a href="https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token">callback</a>
235
- * pattern.</p>
236
- * <note>
237
- * <p>The <code>Timeout</code> of a task, defined in the state machine's Amazon States Language definition, is
238
- * its maximum allowed duration, regardless of the number of <a>SendTaskHeartbeat</a> requests received. Use <code>HeartbeatSeconds</code> to configure the timeout interval
239
- * for heartbeats.</p>
240
- * </note>
241
- */
242
- sendTaskHeartbeat(args: SendTaskHeartbeatCommandInput, options?: __HttpHandlerOptions): Promise<SendTaskHeartbeatCommandOutput>;
243
- sendTaskHeartbeat(args: SendTaskHeartbeatCommandInput, cb: (err: any, data?: SendTaskHeartbeatCommandOutput) => void): void;
244
- sendTaskHeartbeat(args: SendTaskHeartbeatCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendTaskHeartbeatCommandOutput) => void): void;
245
- /**
246
- * <p>Used by activity workers and task states using the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token">callback</a>
247
- * pattern to report that the task identified by the <code>taskToken</code> completed
248
- * successfully.</p>
249
- */
250
- sendTaskSuccess(args: SendTaskSuccessCommandInput, options?: __HttpHandlerOptions): Promise<SendTaskSuccessCommandOutput>;
251
- sendTaskSuccess(args: SendTaskSuccessCommandInput, cb: (err: any, data?: SendTaskSuccessCommandOutput) => void): void;
252
- sendTaskSuccess(args: SendTaskSuccessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendTaskSuccessCommandOutput) => void): void;
253
- /**
254
- * <p>Starts a state machine execution.</p>
255
- * <note>
256
- * <p>
257
- * <code>StartExecution</code> is idempotent. If <code>StartExecution</code> is called with
258
- * the same name and input as a running execution, the call will succeed and return the same
259
- * response as the original request. If the execution is closed or if the input is different,
260
- * it will return a 400 <code>ExecutionAlreadyExists</code> error. Names can be reused after 90
261
- * days. </p>
262
- * </note>
263
- */
264
- startExecution(args: StartExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StartExecutionCommandOutput>;
265
- startExecution(args: StartExecutionCommandInput, cb: (err: any, data?: StartExecutionCommandOutput) => void): void;
266
- startExecution(args: StartExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartExecutionCommandOutput) => void): void;
267
- /**
268
- * <p>Starts a Synchronous Express state machine execution.</p>
269
- */
270
- startSyncExecution(args: StartSyncExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StartSyncExecutionCommandOutput>;
271
- startSyncExecution(args: StartSyncExecutionCommandInput, cb: (err: any, data?: StartSyncExecutionCommandOutput) => void): void;
272
- startSyncExecution(args: StartSyncExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSyncExecutionCommandOutput) => void): void;
273
- /**
274
- * <p>Stops an execution.</p>
275
- * <p>This API action is not supported by <code>EXPRESS</code> state machines.</p>
276
- */
277
- stopExecution(args: StopExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StopExecutionCommandOutput>;
278
- stopExecution(args: StopExecutionCommandInput, cb: (err: any, data?: StopExecutionCommandOutput) => void): void;
279
- stopExecution(args: StopExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopExecutionCommandOutput) => void): void;
280
- /**
281
- * <p>Add a tag to a Step Functions resource.</p>
282
- * <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
283
- * Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management User
284
- * Guide</i>, and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html">Controlling Access Using IAM
285
- * Tags</a>.</p>
286
- * <p>Tags may only contain Unicode letters, digits, white space, or these symbols: <code>_ . : / = + - @</code>.</p>
287
- */
288
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
289
- tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
290
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
291
- /**
292
- * <p>Remove a tag from a Step Functions resource</p>
293
- */
294
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
295
- untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
296
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
297
- /**
298
- * <p>Updates an existing state machine by modifying its <code>definition</code>,
299
- * <code>roleArn</code>, or <code>loggingConfiguration</code>. Running executions will continue
300
- * to use the previous <code>definition</code> and <code>roleArn</code>. You must include at
301
- * least one of <code>definition</code> or <code>roleArn</code> or you will receive a
302
- * <code>MissingRequiredParameter</code> error.</p>
303
- * <note>
304
- * <p>All <code>StartExecution</code> calls within a few seconds will use the updated
305
- * <code>definition</code> and <code>roleArn</code>. Executions started immediately after
306
- * calling <code>UpdateStateMachine</code> may use the previous state machine
307
- * <code>definition</code> and <code>roleArn</code>. </p>
308
- * </note>
309
- */
310
- updateStateMachine(args: UpdateStateMachineCommandInput, options?: __HttpHandlerOptions): Promise<UpdateStateMachineCommandOutput>;
311
- updateStateMachine(args: UpdateStateMachineCommandInput, cb: (err: any, data?: UpdateStateMachineCommandOutput) => void): void;
312
- updateStateMachine(args: UpdateStateMachineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateStateMachineCommandOutput) => void): void;
313
- }
@@ -1,51 +0,0 @@
1
- import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
2
- import { CreateActivityInput, CreateActivityOutput } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
- export interface CreateActivityCommandInput extends CreateActivityInput {
6
- }
7
- export interface CreateActivityCommandOutput extends CreateActivityOutput, __MetadataBearer {
8
- }
9
- /**
10
- * <p>Creates an activity. An activity is a task that you write in any programming language and
11
- * host on any machine that has access to AWS Step Functions. Activities must poll Step Functions using the
12
- * <code>GetActivityTask</code> API action and respond using <code>SendTask*</code> API
13
- * actions. This function lets Step Functions know the existence of your activity and returns an
14
- * identifier for use in a state machine and when polling from the activity.</p>
15
- * <note>
16
- * <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
17
- * </note>
18
- * <note>
19
- * <p>
20
- * <code>CreateActivity</code> is an idempotent API. Subsequent requests won’t create a
21
- * duplicate resource if it was already created. <code>CreateActivity</code>'s idempotency
22
- * check is based on the activity <code>name</code>. If a following request has different
23
- * <code>tags</code> values, Step Functions will ignore these differences and treat it as an
24
- * idempotent request of the previous. In this case, <code>tags</code> will not be updated,
25
- * even if they are different.</p>
26
- * </note>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { SFNClient, CreateActivityCommand } from "@aws-sdk/client-sfn"; // ES Modules import
31
- * // const { SFNClient, CreateActivityCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
32
- * const client = new SFNClient(config);
33
- * const command = new CreateActivityCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link CreateActivityCommandInput} for command's `input` shape.
38
- * @see {@link CreateActivityCommandOutput} for command's `response` shape.
39
- * @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export declare class CreateActivityCommand extends $Command<CreateActivityCommandInput, CreateActivityCommandOutput, SFNClientResolvedConfig> {
43
- readonly input: CreateActivityCommandInput;
44
- constructor(input: CreateActivityCommandInput);
45
- /**
46
- * @internal
47
- */
48
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateActivityCommandInput, CreateActivityCommandOutput>;
49
- private serialize;
50
- private deserialize;
51
- }
@@ -1,53 +0,0 @@
1
- import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
2
- import { CreateStateMachineInput, CreateStateMachineOutput } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
- export interface CreateStateMachineCommandInput extends CreateStateMachineInput {
6
- }
7
- export interface CreateStateMachineCommandOutput extends CreateStateMachineOutput, __MetadataBearer {
8
- }
9
- /**
10
- * <p>Creates a state machine. A state machine consists of a collection of states that can do
11
- * work (<code>Task</code> states), determine to which states to transition next
12
- * (<code>Choice</code> states), stop an execution with an error (<code>Fail</code> states),
13
- * and so on. State machines are specified using a JSON-based, structured language. For more
14
- * information, see <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html">Amazon States
15
- * Language</a> in the AWS Step Functions User Guide.</p>
16
- * <note>
17
- * <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
18
- * </note>
19
- * <note>
20
- * <p>
21
- * <code>CreateStateMachine</code> is an idempotent API. Subsequent requests won’t create a
22
- * duplicate resource if it was already created. <code>CreateStateMachine</code>'s idempotency
23
- * check is based on the state machine <code>name</code>, <code>definition</code>,
24
- * <code>type</code>, <code>LoggingConfiguration</code> and <code>TracingConfiguration</code>. If a following request has a
25
- * different <code>roleArn</code> or <code>tags</code>, Step Functions will ignore these differences and
26
- * treat it as an idempotent request of the previous. In this case, <code>roleArn</code> and
27
- * <code>tags</code> will not be updated, even if they are different.</p>
28
- * </note>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { SFNClient, CreateStateMachineCommand } from "@aws-sdk/client-sfn"; // ES Modules import
33
- * // const { SFNClient, CreateStateMachineCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
34
- * const client = new SFNClient(config);
35
- * const command = new CreateStateMachineCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link CreateStateMachineCommandInput} for command's `input` shape.
40
- * @see {@link CreateStateMachineCommandOutput} for command's `response` shape.
41
- * @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export declare class CreateStateMachineCommand extends $Command<CreateStateMachineCommandInput, CreateStateMachineCommandOutput, SFNClientResolvedConfig> {
45
- readonly input: CreateStateMachineCommandInput;
46
- constructor(input: CreateStateMachineCommandInput);
47
- /**
48
- * @internal
49
- */
50
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateStateMachineCommandInput, CreateStateMachineCommandOutput>;
51
- private serialize;
52
- private deserialize;
53
- }
@@ -1,35 +0,0 @@
1
- import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
2
- import { DeleteActivityInput, DeleteActivityOutput } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
- export interface DeleteActivityCommandInput extends DeleteActivityInput {
6
- }
7
- export interface DeleteActivityCommandOutput extends DeleteActivityOutput, __MetadataBearer {
8
- }
9
- /**
10
- * <p>Deletes an activity.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { SFNClient, DeleteActivityCommand } from "@aws-sdk/client-sfn"; // ES Modules import
15
- * // const { SFNClient, DeleteActivityCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
16
- * const client = new SFNClient(config);
17
- * const command = new DeleteActivityCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DeleteActivityCommandInput} for command's `input` shape.
22
- * @see {@link DeleteActivityCommandOutput} for command's `response` shape.
23
- * @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
- export declare class DeleteActivityCommand extends $Command<DeleteActivityCommandInput, DeleteActivityCommandOutput, SFNClientResolvedConfig> {
27
- readonly input: DeleteActivityCommandInput;
28
- constructor(input: DeleteActivityCommandInput);
29
- /**
30
- * @internal
31
- */
32
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteActivityCommandInput, DeleteActivityCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
@@ -1,41 +0,0 @@
1
- import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
2
- import { DeleteStateMachineInput, DeleteStateMachineOutput } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
- export interface DeleteStateMachineCommandInput extends DeleteStateMachineInput {
6
- }
7
- export interface DeleteStateMachineCommandOutput extends DeleteStateMachineOutput, __MetadataBearer {
8
- }
9
- /**
10
- * <p>Deletes a state machine. This is an asynchronous operation: It sets the state machine's
11
- * status to <code>DELETING</code> and begins the deletion process. </p>
12
- * <note>
13
- * <p>For <code>EXPRESS</code>state machines, the deletion will happen eventually (usually
14
- * less than a minute). Running executions may emit logs after <code>DeleteStateMachine</code>
15
- * API is called.</p>
16
- * </note>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { SFNClient, DeleteStateMachineCommand } from "@aws-sdk/client-sfn"; // ES Modules import
21
- * // const { SFNClient, DeleteStateMachineCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
22
- * const client = new SFNClient(config);
23
- * const command = new DeleteStateMachineCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link DeleteStateMachineCommandInput} for command's `input` shape.
28
- * @see {@link DeleteStateMachineCommandOutput} for command's `response` shape.
29
- * @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
32
- export declare class DeleteStateMachineCommand extends $Command<DeleteStateMachineCommandInput, DeleteStateMachineCommandOutput, SFNClientResolvedConfig> {
33
- readonly input: DeleteStateMachineCommandInput;
34
- constructor(input: DeleteStateMachineCommandInput);
35
- /**
36
- * @internal
37
- */
38
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteStateMachineCommandInput, DeleteStateMachineCommandOutput>;
39
- private serialize;
40
- private deserialize;
41
- }
@@ -1,38 +0,0 @@
1
- import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
2
- import { DescribeActivityInput, DescribeActivityOutput } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
- export interface DescribeActivityCommandInput extends DescribeActivityInput {
6
- }
7
- export interface DescribeActivityCommandOutput extends DescribeActivityOutput, __MetadataBearer {
8
- }
9
- /**
10
- * <p>Describes an activity.</p>
11
- * <note>
12
- * <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
13
- * </note>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { SFNClient, DescribeActivityCommand } from "@aws-sdk/client-sfn"; // ES Modules import
18
- * // const { SFNClient, DescribeActivityCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
19
- * const client = new SFNClient(config);
20
- * const command = new DescribeActivityCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link DescribeActivityCommandInput} for command's `input` shape.
25
- * @see {@link DescribeActivityCommandOutput} for command's `response` shape.
26
- * @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
- export declare class DescribeActivityCommand extends $Command<DescribeActivityCommandInput, DescribeActivityCommandOutput, SFNClientResolvedConfig> {
30
- readonly input: DescribeActivityCommandInput;
31
- constructor(input: DescribeActivityCommandInput);
32
- /**
33
- * @internal
34
- */
35
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeActivityCommandInput, DescribeActivityCommandOutput>;
36
- private serialize;
37
- private deserialize;
38
- }
@@ -1,39 +0,0 @@
1
- import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
2
- import { DescribeExecutionInput, DescribeExecutionOutput } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
- export interface DescribeExecutionCommandInput extends DescribeExecutionInput {
6
- }
7
- export interface DescribeExecutionCommandOutput extends DescribeExecutionOutput, __MetadataBearer {
8
- }
9
- /**
10
- * <p>Describes an execution.</p>
11
- * <note>
12
- * <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
13
- * </note>
14
- * <p>This API action is not supported by <code>EXPRESS</code> state machines.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { SFNClient, DescribeExecutionCommand } from "@aws-sdk/client-sfn"; // ES Modules import
19
- * // const { SFNClient, DescribeExecutionCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
20
- * const client = new SFNClient(config);
21
- * const command = new DescribeExecutionCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link DescribeExecutionCommandInput} for command's `input` shape.
26
- * @see {@link DescribeExecutionCommandOutput} for command's `response` shape.
27
- * @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
- export declare class DescribeExecutionCommand extends $Command<DescribeExecutionCommandInput, DescribeExecutionCommandOutput, SFNClientResolvedConfig> {
31
- readonly input: DescribeExecutionCommandInput;
32
- constructor(input: DescribeExecutionCommandInput);
33
- /**
34
- * @internal
35
- */
36
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeExecutionCommandInput, DescribeExecutionCommandOutput>;
37
- private serialize;
38
- private deserialize;
39
- }
@@ -1,38 +0,0 @@
1
- import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
2
- import { DescribeStateMachineInput, DescribeStateMachineOutput } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
- export interface DescribeStateMachineCommandInput extends DescribeStateMachineInput {
6
- }
7
- export interface DescribeStateMachineCommandOutput extends DescribeStateMachineOutput, __MetadataBearer {
8
- }
9
- /**
10
- * <p>Describes a state machine.</p>
11
- * <note>
12
- * <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
13
- * </note>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { SFNClient, DescribeStateMachineCommand } from "@aws-sdk/client-sfn"; // ES Modules import
18
- * // const { SFNClient, DescribeStateMachineCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
19
- * const client = new SFNClient(config);
20
- * const command = new DescribeStateMachineCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link DescribeStateMachineCommandInput} for command's `input` shape.
25
- * @see {@link DescribeStateMachineCommandOutput} for command's `response` shape.
26
- * @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
- export declare class DescribeStateMachineCommand extends $Command<DescribeStateMachineCommandInput, DescribeStateMachineCommandOutput, SFNClientResolvedConfig> {
30
- readonly input: DescribeStateMachineCommandInput;
31
- constructor(input: DescribeStateMachineCommandInput);
32
- /**
33
- * @internal
34
- */
35
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeStateMachineCommandInput, DescribeStateMachineCommandOutput>;
36
- private serialize;
37
- private deserialize;
38
- }