@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,100 +0,0 @@
1
- import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
2
- import { DeleteStateMachineInput, DeleteStateMachineOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_0DeleteStateMachineCommand,
5
- serializeAws_json1_0DeleteStateMachineCommand,
6
- } from "../protocols/Aws_json1_0";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DeleteStateMachineCommandInput extends DeleteStateMachineInput {}
21
- export interface DeleteStateMachineCommandOutput extends DeleteStateMachineOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes a state machine. This is an asynchronous operation: It sets the state machine's
25
- * status to <code>DELETING</code> and begins the deletion process. </p>
26
- * <note>
27
- * <p>For <code>EXPRESS</code>state machines, the deletion will happen eventually (usually
28
- * less than a minute). Running executions may emit logs after <code>DeleteStateMachine</code>
29
- * API is called.</p>
30
- * </note>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { SFNClient, DeleteStateMachineCommand } from "@aws-sdk/client-sfn"; // ES Modules import
35
- * // const { SFNClient, DeleteStateMachineCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
36
- * const client = new SFNClient(config);
37
- * const command = new DeleteStateMachineCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link DeleteStateMachineCommandInput} for command's `input` shape.
42
- * @see {@link DeleteStateMachineCommandOutput} for command's `response` shape.
43
- * @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
- export class DeleteStateMachineCommand extends $Command<
47
- DeleteStateMachineCommandInput,
48
- DeleteStateMachineCommandOutput,
49
- SFNClientResolvedConfig
50
- > {
51
- // Start section: command_properties
52
- // End section: command_properties
53
-
54
- constructor(readonly input: DeleteStateMachineCommandInput) {
55
- // Start section: command_constructor
56
- super();
57
- // End section: command_constructor
58
- }
59
-
60
- /**
61
- * @internal
62
- */
63
- resolveMiddleware(
64
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
65
- configuration: SFNClientResolvedConfig,
66
- options?: __HttpHandlerOptions
67
- ): Handler<DeleteStateMachineCommandInput, DeleteStateMachineCommandOutput> {
68
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
69
-
70
- const stack = clientStack.concat(this.middlewareStack);
71
-
72
- const { logger } = configuration;
73
- const clientName = "SFNClient";
74
- const commandName = "DeleteStateMachineCommand";
75
- const handlerExecutionContext: HandlerExecutionContext = {
76
- logger,
77
- clientName,
78
- commandName,
79
- inputFilterSensitiveLog: DeleteStateMachineInput.filterSensitiveLog,
80
- outputFilterSensitiveLog: DeleteStateMachineOutput.filterSensitiveLog,
81
- };
82
- const { requestHandler } = configuration;
83
- return stack.resolve(
84
- (request: FinalizeHandlerArguments<any>) =>
85
- requestHandler.handle(request.request as __HttpRequest, options || {}),
86
- handlerExecutionContext
87
- );
88
- }
89
-
90
- private serialize(input: DeleteStateMachineCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
91
- return serializeAws_json1_0DeleteStateMachineCommand(input, context);
92
- }
93
-
94
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteStateMachineCommandOutput> {
95
- return deserializeAws_json1_0DeleteStateMachineCommand(output, context);
96
- }
97
-
98
- // Start section: command_body_extra
99
- // End section: command_body_extra
100
- }
@@ -1,97 +0,0 @@
1
- import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
2
- import { DescribeActivityInput, DescribeActivityOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_0DescribeActivityCommand,
5
- serializeAws_json1_0DescribeActivityCommand,
6
- } from "../protocols/Aws_json1_0";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DescribeActivityCommandInput extends DescribeActivityInput {}
21
- export interface DescribeActivityCommandOutput extends DescribeActivityOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Describes an activity.</p>
25
- * <note>
26
- * <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
27
- * </note>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { SFNClient, DescribeActivityCommand } from "@aws-sdk/client-sfn"; // ES Modules import
32
- * // const { SFNClient, DescribeActivityCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
33
- * const client = new SFNClient(config);
34
- * const command = new DescribeActivityCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DescribeActivityCommandInput} for command's `input` shape.
39
- * @see {@link DescribeActivityCommandOutput} for command's `response` shape.
40
- * @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class DescribeActivityCommand extends $Command<
44
- DescribeActivityCommandInput,
45
- DescribeActivityCommandOutput,
46
- SFNClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: DescribeActivityCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: SFNClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<DescribeActivityCommandInput, DescribeActivityCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "SFNClient";
71
- const commandName = "DescribeActivityCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: DescribeActivityInput.filterSensitiveLog,
77
- outputFilterSensitiveLog: DescribeActivityOutput.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: DescribeActivityCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_0DescribeActivityCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeActivityCommandOutput> {
92
- return deserializeAws_json1_0DescribeActivityCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,98 +0,0 @@
1
- import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
2
- import { DescribeExecutionInput, DescribeExecutionOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_0DescribeExecutionCommand,
5
- serializeAws_json1_0DescribeExecutionCommand,
6
- } from "../protocols/Aws_json1_0";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DescribeExecutionCommandInput extends DescribeExecutionInput {}
21
- export interface DescribeExecutionCommandOutput extends DescribeExecutionOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Describes an execution.</p>
25
- * <note>
26
- * <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
27
- * </note>
28
- * <p>This API action is not supported by <code>EXPRESS</code> state machines.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { SFNClient, DescribeExecutionCommand } from "@aws-sdk/client-sfn"; // ES Modules import
33
- * // const { SFNClient, DescribeExecutionCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
34
- * const client = new SFNClient(config);
35
- * const command = new DescribeExecutionCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link DescribeExecutionCommandInput} for command's `input` shape.
40
- * @see {@link DescribeExecutionCommandOutput} for command's `response` shape.
41
- * @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class DescribeExecutionCommand extends $Command<
45
- DescribeExecutionCommandInput,
46
- DescribeExecutionCommandOutput,
47
- SFNClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: DescribeExecutionCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: SFNClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<DescribeExecutionCommandInput, DescribeExecutionCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "SFNClient";
72
- const commandName = "DescribeExecutionCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: DescribeExecutionInput.filterSensitiveLog,
78
- outputFilterSensitiveLog: DescribeExecutionOutput.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: DescribeExecutionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_json1_0DescribeExecutionCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeExecutionCommandOutput> {
93
- return deserializeAws_json1_0DescribeExecutionCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,97 +0,0 @@
1
- import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
2
- import { DescribeStateMachineInput, DescribeStateMachineOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_0DescribeStateMachineCommand,
5
- serializeAws_json1_0DescribeStateMachineCommand,
6
- } from "../protocols/Aws_json1_0";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DescribeStateMachineCommandInput extends DescribeStateMachineInput {}
21
- export interface DescribeStateMachineCommandOutput extends DescribeStateMachineOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Describes a state machine.</p>
25
- * <note>
26
- * <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
27
- * </note>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { SFNClient, DescribeStateMachineCommand } from "@aws-sdk/client-sfn"; // ES Modules import
32
- * // const { SFNClient, DescribeStateMachineCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
33
- * const client = new SFNClient(config);
34
- * const command = new DescribeStateMachineCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DescribeStateMachineCommandInput} for command's `input` shape.
39
- * @see {@link DescribeStateMachineCommandOutput} for command's `response` shape.
40
- * @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class DescribeStateMachineCommand extends $Command<
44
- DescribeStateMachineCommandInput,
45
- DescribeStateMachineCommandOutput,
46
- SFNClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: DescribeStateMachineCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: SFNClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<DescribeStateMachineCommandInput, DescribeStateMachineCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "SFNClient";
71
- const commandName = "DescribeStateMachineCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: DescribeStateMachineInput.filterSensitiveLog,
77
- outputFilterSensitiveLog: DescribeStateMachineOutput.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: DescribeStateMachineCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_0DescribeStateMachineCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeStateMachineCommandOutput> {
92
- return deserializeAws_json1_0DescribeStateMachineCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,106 +0,0 @@
1
- import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
2
- import { DescribeStateMachineForExecutionInput, DescribeStateMachineForExecutionOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_0DescribeStateMachineForExecutionCommand,
5
- serializeAws_json1_0DescribeStateMachineForExecutionCommand,
6
- } from "../protocols/Aws_json1_0";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DescribeStateMachineForExecutionCommandInput extends DescribeStateMachineForExecutionInput {}
21
- export interface DescribeStateMachineForExecutionCommandOutput
22
- extends DescribeStateMachineForExecutionOutput,
23
- __MetadataBearer {}
24
-
25
- /**
26
- * <p>Describes the state machine associated with a specific execution.</p>
27
- * <note>
28
- * <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
29
- * </note>
30
- * <p>This API action is not supported by <code>EXPRESS</code> state machines.</p>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { SFNClient, DescribeStateMachineForExecutionCommand } from "@aws-sdk/client-sfn"; // ES Modules import
35
- * // const { SFNClient, DescribeStateMachineForExecutionCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
36
- * const client = new SFNClient(config);
37
- * const command = new DescribeStateMachineForExecutionCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link DescribeStateMachineForExecutionCommandInput} for command's `input` shape.
42
- * @see {@link DescribeStateMachineForExecutionCommandOutput} for command's `response` shape.
43
- * @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
- export class DescribeStateMachineForExecutionCommand extends $Command<
47
- DescribeStateMachineForExecutionCommandInput,
48
- DescribeStateMachineForExecutionCommandOutput,
49
- SFNClientResolvedConfig
50
- > {
51
- // Start section: command_properties
52
- // End section: command_properties
53
-
54
- constructor(readonly input: DescribeStateMachineForExecutionCommandInput) {
55
- // Start section: command_constructor
56
- super();
57
- // End section: command_constructor
58
- }
59
-
60
- /**
61
- * @internal
62
- */
63
- resolveMiddleware(
64
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
65
- configuration: SFNClientResolvedConfig,
66
- options?: __HttpHandlerOptions
67
- ): Handler<DescribeStateMachineForExecutionCommandInput, DescribeStateMachineForExecutionCommandOutput> {
68
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
69
-
70
- const stack = clientStack.concat(this.middlewareStack);
71
-
72
- const { logger } = configuration;
73
- const clientName = "SFNClient";
74
- const commandName = "DescribeStateMachineForExecutionCommand";
75
- const handlerExecutionContext: HandlerExecutionContext = {
76
- logger,
77
- clientName,
78
- commandName,
79
- inputFilterSensitiveLog: DescribeStateMachineForExecutionInput.filterSensitiveLog,
80
- outputFilterSensitiveLog: DescribeStateMachineForExecutionOutput.filterSensitiveLog,
81
- };
82
- const { requestHandler } = configuration;
83
- return stack.resolve(
84
- (request: FinalizeHandlerArguments<any>) =>
85
- requestHandler.handle(request.request as __HttpRequest, options || {}),
86
- handlerExecutionContext
87
- );
88
- }
89
-
90
- private serialize(
91
- input: DescribeStateMachineForExecutionCommandInput,
92
- context: __SerdeContext
93
- ): Promise<__HttpRequest> {
94
- return serializeAws_json1_0DescribeStateMachineForExecutionCommand(input, context);
95
- }
96
-
97
- private deserialize(
98
- output: __HttpResponse,
99
- context: __SerdeContext
100
- ): Promise<DescribeStateMachineForExecutionCommandOutput> {
101
- return deserializeAws_json1_0DescribeStateMachineForExecutionCommand(output, context);
102
- }
103
-
104
- // Start section: command_body_extra
105
- // End section: command_body_extra
106
- }
@@ -1,106 +0,0 @@
1
- import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
2
- import { GetActivityTaskInput, GetActivityTaskOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_0GetActivityTaskCommand,
5
- serializeAws_json1_0GetActivityTaskCommand,
6
- } from "../protocols/Aws_json1_0";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface GetActivityTaskCommandInput extends GetActivityTaskInput {}
21
- export interface GetActivityTaskCommandOutput extends GetActivityTaskOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Used by workers to retrieve a task (with the specified activity ARN) which has been
25
- * scheduled for execution by a running state machine. This initiates a long poll, where the
26
- * service holds the HTTP connection open and responds as soon as a task becomes available (i.e.
27
- * an execution of a task of this type is needed.) The maximum time the service holds on to the
28
- * request before responding is 60 seconds. If no task is available within 60 seconds, the poll
29
- * returns a <code>taskToken</code> with a null string.</p>
30
- * <important>
31
- * <p>Workers should set their client side socket timeout to at least 65 seconds (5 seconds
32
- * higher than the maximum time the service may hold the poll request).</p>
33
- * <p>Polling with <code>GetActivityTask</code> can cause latency in some implementations. See
34
- * <a href="https://docs.aws.amazon.com/step-functions/latest/dg/bp-activity-pollers.html">Avoid
35
- * Latency When Polling for Activity Tasks</a> in the Step Functions Developer Guide.</p>
36
- * </important>
37
- * @example
38
- * Use a bare-bones client and the command you need to make an API call.
39
- * ```javascript
40
- * import { SFNClient, GetActivityTaskCommand } from "@aws-sdk/client-sfn"; // ES Modules import
41
- * // const { SFNClient, GetActivityTaskCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
42
- * const client = new SFNClient(config);
43
- * const command = new GetActivityTaskCommand(input);
44
- * const response = await client.send(command);
45
- * ```
46
- *
47
- * @see {@link GetActivityTaskCommandInput} for command's `input` shape.
48
- * @see {@link GetActivityTaskCommandOutput} for command's `response` shape.
49
- * @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
50
- *
51
- */
52
- export class GetActivityTaskCommand extends $Command<
53
- GetActivityTaskCommandInput,
54
- GetActivityTaskCommandOutput,
55
- SFNClientResolvedConfig
56
- > {
57
- // Start section: command_properties
58
- // End section: command_properties
59
-
60
- constructor(readonly input: GetActivityTaskCommandInput) {
61
- // Start section: command_constructor
62
- super();
63
- // End section: command_constructor
64
- }
65
-
66
- /**
67
- * @internal
68
- */
69
- resolveMiddleware(
70
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
71
- configuration: SFNClientResolvedConfig,
72
- options?: __HttpHandlerOptions
73
- ): Handler<GetActivityTaskCommandInput, GetActivityTaskCommandOutput> {
74
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
75
-
76
- const stack = clientStack.concat(this.middlewareStack);
77
-
78
- const { logger } = configuration;
79
- const clientName = "SFNClient";
80
- const commandName = "GetActivityTaskCommand";
81
- const handlerExecutionContext: HandlerExecutionContext = {
82
- logger,
83
- clientName,
84
- commandName,
85
- inputFilterSensitiveLog: GetActivityTaskInput.filterSensitiveLog,
86
- outputFilterSensitiveLog: GetActivityTaskOutput.filterSensitiveLog,
87
- };
88
- const { requestHandler } = configuration;
89
- return stack.resolve(
90
- (request: FinalizeHandlerArguments<any>) =>
91
- requestHandler.handle(request.request as __HttpRequest, options || {}),
92
- handlerExecutionContext
93
- );
94
- }
95
-
96
- private serialize(input: GetActivityTaskCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
97
- return serializeAws_json1_0GetActivityTaskCommand(input, context);
98
- }
99
-
100
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetActivityTaskCommandOutput> {
101
- return deserializeAws_json1_0GetActivityTaskCommand(output, context);
102
- }
103
-
104
- // Start section: command_body_extra
105
- // End section: command_body_extra
106
- }