@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
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListExecutionsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
+ class ListExecutionsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "SFNClient";
18
+ const commandName = "ListExecutionsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListExecutionsInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListExecutionsOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_0_1.serializeAws_json1_0ListExecutionsCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_0_1.deserializeAws_json1_0ListExecutionsCommand(output, context);
34
+ }
35
+ }
36
+ exports.ListExecutionsCommand = ListExecutionsCommand;
@@ -1,44 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListStateMachinesCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Lists the existing state machines.</p>
10
- * <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.
11
- * 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>
12
- * <note>
13
- * <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
14
- * </note>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { SFNClient, ListStateMachinesCommand } from "@aws-sdk/client-sfn"; // ES Modules import
19
- * // const { SFNClient, ListStateMachinesCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
20
- * const client = new SFNClient(config);
21
- * const command = new ListStateMachinesCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link ListStateMachinesCommandInput} for command's `input` shape.
26
- * @see {@link ListStateMachinesCommandOutput} for command's `response` shape.
27
- * @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
30
8
  class ListStateMachinesCommand extends smithy_client_1.Command {
31
- // Start section: command_properties
32
- // End section: command_properties
33
9
  constructor(input) {
34
- // Start section: command_constructor
35
10
  super();
36
11
  this.input = input;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  resolveMiddleware(clientStack, configuration, options) {
43
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -63,4 +34,3 @@ class ListStateMachinesCommand extends smithy_client_1.Command {
63
34
  }
64
35
  }
65
36
  exports.ListStateMachinesCommand = ListStateMachinesCommand;
66
- //# sourceMappingURL=ListStateMachinesCommand.js.map
@@ -1,40 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListTagsForResourceCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>List tags for a given resource.</p>
10
- * <p>Tags may only contain Unicode letters, digits, white space, or these symbols: <code>_ . : / = + - @</code>.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { SFNClient, ListTagsForResourceCommand } from "@aws-sdk/client-sfn"; // ES Modules import
15
- * // const { SFNClient, ListTagsForResourceCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
16
- * const client = new SFNClient(config);
17
- * const command = new ListTagsForResourceCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
22
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
23
- * @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
26
8
  class ListTagsForResourceCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
62
- //# sourceMappingURL=ListTagsForResourceCommand.js.map
@@ -1,40 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SendTaskFailureCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <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>
10
- * pattern to report that the task identified by the <code>taskToken</code> failed.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { SFNClient, SendTaskFailureCommand } from "@aws-sdk/client-sfn"; // ES Modules import
15
- * // const { SFNClient, SendTaskFailureCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
16
- * const client = new SFNClient(config);
17
- * const command = new SendTaskFailureCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link SendTaskFailureCommandInput} for command's `input` shape.
22
- * @see {@link SendTaskFailureCommandOutput} for command's `response` shape.
23
- * @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
26
8
  class SendTaskFailureCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class SendTaskFailureCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.SendTaskFailureCommand = SendTaskFailureCommand;
62
- //# sourceMappingURL=SendTaskFailureCommand.js.map
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SendTaskHeartbeatCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
+ class SendTaskHeartbeatCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "SFNClient";
18
+ const commandName = "SendTaskHeartbeatCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.SendTaskHeartbeatInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.SendTaskHeartbeatOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_0_1.serializeAws_json1_0SendTaskHeartbeatCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_0_1.deserializeAws_json1_0SendTaskHeartbeatCommand(output, context);
34
+ }
35
+ }
36
+ exports.SendTaskHeartbeatCommand = SendTaskHeartbeatCommand;
@@ -1,41 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SendTaskSuccessCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <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>
10
- * pattern to report that the task identified by the <code>taskToken</code> completed
11
- * successfully.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { SFNClient, SendTaskSuccessCommand } from "@aws-sdk/client-sfn"; // ES Modules import
16
- * // const { SFNClient, SendTaskSuccessCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
17
- * const client = new SFNClient(config);
18
- * const command = new SendTaskSuccessCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link SendTaskSuccessCommandInput} for command's `input` shape.
23
- * @see {@link SendTaskSuccessCommandOutput} for command's `response` shape.
24
- * @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
27
8
  class SendTaskSuccessCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -60,4 +34,3 @@ class SendTaskSuccessCommand extends smithy_client_1.Command {
60
34
  }
61
35
  }
62
36
  exports.SendTaskSuccessCommand = SendTaskSuccessCommand;
63
- //# sourceMappingURL=SendTaskSuccessCommand.js.map
@@ -1,47 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StartExecutionCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Starts a state machine execution.</p>
10
- * <note>
11
- * <p>
12
- * <code>StartExecution</code> is idempotent. If <code>StartExecution</code> is called with
13
- * the same name and input as a running execution, the call will succeed and return the same
14
- * response as the original request. If the execution is closed or if the input is different,
15
- * it will return a 400 <code>ExecutionAlreadyExists</code> error. Names can be reused after 90
16
- * days. </p>
17
- * </note>
18
- * @example
19
- * Use a bare-bones client and the command you need to make an API call.
20
- * ```javascript
21
- * import { SFNClient, StartExecutionCommand } from "@aws-sdk/client-sfn"; // ES Modules import
22
- * // const { SFNClient, StartExecutionCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
23
- * const client = new SFNClient(config);
24
- * const command = new StartExecutionCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link StartExecutionCommandInput} for command's `input` shape.
29
- * @see {@link StartExecutionCommandOutput} for command's `response` shape.
30
- * @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
33
8
  class StartExecutionCommand extends smithy_client_1.Command {
34
- // Start section: command_properties
35
- // End section: command_properties
36
9
  constructor(input) {
37
- // Start section: command_constructor
38
10
  super();
39
11
  this.input = input;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  resolveMiddleware(clientStack, configuration, options) {
46
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
47
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -66,4 +34,3 @@ class StartExecutionCommand extends smithy_client_1.Command {
66
34
  }
67
35
  }
68
36
  exports.StartExecutionCommand = StartExecutionCommand;
69
- //# sourceMappingURL=StartExecutionCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StartSyncExecutionCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Starts a Synchronous Express state machine execution.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { SFNClient, StartSyncExecutionCommand } from "@aws-sdk/client-sfn"; // ES Modules import
14
- * // const { SFNClient, StartSyncExecutionCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
15
- * const client = new SFNClient(config);
16
- * const command = new StartSyncExecutionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link StartSyncExecutionCommandInput} for command's `input` shape.
21
- * @see {@link StartSyncExecutionCommandOutput} for command's `response` shape.
22
- * @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
25
8
  class StartSyncExecutionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class StartSyncExecutionCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.StartSyncExecutionCommand = StartSyncExecutionCommand;
61
- //# sourceMappingURL=StartSyncExecutionCommand.js.map
@@ -1,40 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StopExecutionCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Stops an execution.</p>
10
- * <p>This API action is not supported by <code>EXPRESS</code> state machines.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { SFNClient, StopExecutionCommand } from "@aws-sdk/client-sfn"; // ES Modules import
15
- * // const { SFNClient, StopExecutionCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
16
- * const client = new SFNClient(config);
17
- * const command = new StopExecutionCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link StopExecutionCommandInput} for command's `input` shape.
22
- * @see {@link StopExecutionCommandOutput} for command's `response` shape.
23
- * @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
26
8
  class StopExecutionCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class StopExecutionCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.StopExecutionCommand = StopExecutionCommand;
62
- //# sourceMappingURL=StopExecutionCommand.js.map
@@ -1,44 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TagResourceCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Add a tag to a Step Functions resource.</p>
10
- * <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
11
- * Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management User
12
- * Guide</i>, and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html">Controlling Access Using IAM
13
- * Tags</a>.</p>
14
- * <p>Tags may only contain Unicode letters, digits, white space, or these symbols: <code>_ . : / = + - @</code>.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { SFNClient, TagResourceCommand } from "@aws-sdk/client-sfn"; // ES Modules import
19
- * // const { SFNClient, TagResourceCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
20
- * const client = new SFNClient(config);
21
- * const command = new TagResourceCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link TagResourceCommandInput} for command's `input` shape.
26
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
27
- * @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
30
8
  class TagResourceCommand extends smithy_client_1.Command {
31
- // Start section: command_properties
32
- // End section: command_properties
33
9
  constructor(input) {
34
- // Start section: command_constructor
35
10
  super();
36
11
  this.input = input;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  resolveMiddleware(clientStack, configuration, options) {
43
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -63,4 +34,3 @@ class TagResourceCommand extends smithy_client_1.Command {
63
34
  }
64
35
  }
65
36
  exports.TagResourceCommand = TagResourceCommand;
66
- //# sourceMappingURL=TagResourceCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UntagResourceCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Remove a tag from a Step Functions resource</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { SFNClient, UntagResourceCommand } from "@aws-sdk/client-sfn"; // ES Modules import
14
- * // const { SFNClient, UntagResourceCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
15
- * const client = new SFNClient(config);
16
- * const command = new UntagResourceCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
21
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
22
- * @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
25
8
  class UntagResourceCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class UntagResourceCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.UntagResourceCommand = UntagResourceCommand;
61
- //# sourceMappingURL=UntagResourceCommand.js.map
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateStateMachineCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
+ class UpdateStateMachineCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "SFNClient";
18
+ const commandName = "UpdateStateMachineCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdateStateMachineInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdateStateMachineOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_0_1.serializeAws_json1_0UpdateStateMachineCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_0_1.deserializeAws_json1_0UpdateStateMachineCommand(output, context);
34
+ }
35
+ }
36
+ exports.UpdateStateMachineCommand = UpdateStateMachineCommand;
@@ -64,7 +64,7 @@ const partitionHash = {
64
64
  hostname: "states.{region}.amazonaws.com.cn",
65
65
  },
66
66
  "aws-iso": {
67
- regions: ["us-iso-east-1"],
67
+ regions: ["us-iso-east-1", "us-iso-west-1"],
68
68
  hostname: "states.{region}.c2s.ic.gov",
69
69
  },
70
70
  "aws-iso-b": {
@@ -83,4 +83,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
83
83
  partitionHash,
84
84
  });
85
85
  exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
86
- //# sourceMappingURL=endpoints.js.map
@@ -32,4 +32,3 @@ tslib_1.__exportStar(require("./commands/UntagResourceCommand"), exports);
32
32
  tslib_1.__exportStar(require("./commands/UpdateStateMachineCommand"), exports);
33
33
  tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
34
34
  tslib_1.__exportStar(require("./models/index"), exports);
35
- //# sourceMappingURL=index.js.map
@@ -2,4 +2,3 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./models_0"), exports);
5
- //# sourceMappingURL=index.js.map