@aws-sdk/client-swf 3.35.0 → 3.38.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 (340) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/SWF.js +0 -19
  3. package/dist-cjs/SWFClient.js +0 -24
  4. package/dist-cjs/commands/CountClosedWorkflowExecutionsCommand.js +0 -71
  5. package/dist-cjs/commands/CountOpenWorkflowExecutionsCommand.js +0 -71
  6. package/dist-cjs/commands/CountPendingActivityTasksCommand.js +0 -52
  7. package/dist-cjs/commands/CountPendingDecisionTasksCommand.js +0 -52
  8. package/dist-cjs/commands/DeprecateActivityTypeCommand.js +0 -67
  9. package/dist-cjs/commands/DeprecateDomainCommand.js +0 -56
  10. package/dist-cjs/commands/DeprecateWorkflowTypeCommand.js +0 -68
  11. package/dist-cjs/commands/DescribeActivityTypeCommand.js +0 -63
  12. package/dist-cjs/commands/DescribeDomainCommand.js +0 -49
  13. package/dist-cjs/commands/DescribeWorkflowExecutionCommand.js +0 -53
  14. package/dist-cjs/commands/DescribeWorkflowTypeCommand.js +0 -63
  15. package/dist-cjs/commands/GetWorkflowExecutionHistoryCommand.js +0 -54
  16. package/dist-cjs/commands/ListActivityTypesCommand.js +0 -52
  17. package/dist-cjs/commands/ListClosedWorkflowExecutionsCommand.js +0 -72
  18. package/dist-cjs/commands/ListDomainsCommand.js +0 -56
  19. package/dist-cjs/commands/ListOpenWorkflowExecutionsCommand.js +0 -72
  20. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  21. package/dist-cjs/commands/ListWorkflowTypesCommand.js +0 -49
  22. package/dist-cjs/commands/PollForActivityTaskCommand.js +0 -60
  23. package/dist-cjs/commands/PollForDecisionTaskCommand.js +0 -72
  24. package/dist-cjs/commands/RecordActivityTaskHeartbeatCommand.js +0 -72
  25. package/dist-cjs/commands/RegisterActivityTypeCommand.js +0 -71
  26. package/dist-cjs/commands/RegisterDomainCommand.js +0 -48
  27. package/dist-cjs/commands/RegisterWorkflowTypeCommand.js +0 -72
  28. package/dist-cjs/commands/RequestCancelWorkflowExecutionCommand.js +0 -63
  29. package/dist-cjs/commands/RespondActivityTaskCanceledCommand.js +0 -66
  30. package/dist-cjs/commands/RespondActivityTaskCompletedCommand.js +0 -64
  31. package/dist-cjs/commands/RespondActivityTaskFailedCommand.js +0 -57
  32. package/dist-cjs/commands/RespondDecisionTaskCompletedCommand.js +0 -44
  33. package/dist-cjs/commands/SignalWorkflowExecutionCommand.js +0 -63
  34. package/dist-cjs/commands/StartWorkflowExecutionCommand.js +0 -90
  35. package/dist-cjs/commands/TagResourceCommand.js +0 -28
  36. package/dist-cjs/commands/TerminateWorkflowExecutionCommand.js +0 -68
  37. package/dist-cjs/commands/UndeprecateActivityTypeCommand.js +0 -66
  38. package/dist-cjs/commands/UndeprecateDomainCommand.js +0 -53
  39. package/dist-cjs/commands/UndeprecateWorkflowTypeCommand.js +0 -66
  40. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  41. package/dist-cjs/commands/index.js +40 -0
  42. package/dist-cjs/endpoints.js +1 -2
  43. package/dist-cjs/index.js +4 -48
  44. package/dist-cjs/models/index.js +0 -1
  45. package/dist-cjs/models/models_0.js +0 -454
  46. package/dist-cjs/pagination/GetWorkflowExecutionHistoryPaginator.js +0 -11
  47. package/dist-cjs/pagination/Interfaces.js +0 -1
  48. package/dist-cjs/pagination/ListActivityTypesPaginator.js +0 -11
  49. package/dist-cjs/pagination/ListClosedWorkflowExecutionsPaginator.js +0 -11
  50. package/dist-cjs/pagination/ListDomainsPaginator.js +0 -11
  51. package/dist-cjs/pagination/ListOpenWorkflowExecutionsPaginator.js +0 -11
  52. package/dist-cjs/pagination/ListWorkflowTypesPaginator.js +0 -11
  53. package/dist-cjs/pagination/PollForDecisionTaskPaginator.js +0 -11
  54. package/dist-cjs/pagination/index.js +11 -0
  55. package/dist-cjs/protocols/Aws_json1_0.js +0 -6
  56. package/dist-cjs/runtimeConfig.browser.js +1 -6
  57. package/dist-cjs/runtimeConfig.js +2 -7
  58. package/dist-cjs/runtimeConfig.native.js +0 -4
  59. package/dist-cjs/runtimeConfig.shared.js +0 -4
  60. package/dist-es/SWF.js +0 -1
  61. package/dist-es/SWFClient.js +0 -1
  62. package/dist-es/commands/CountClosedWorkflowExecutionsCommand.js +0 -1
  63. package/dist-es/commands/CountOpenWorkflowExecutionsCommand.js +0 -1
  64. package/dist-es/commands/CountPendingActivityTasksCommand.js +0 -1
  65. package/dist-es/commands/CountPendingDecisionTasksCommand.js +0 -1
  66. package/dist-es/commands/DeprecateActivityTypeCommand.js +0 -1
  67. package/dist-es/commands/DeprecateDomainCommand.js +0 -1
  68. package/dist-es/commands/DeprecateWorkflowTypeCommand.js +0 -1
  69. package/dist-es/commands/DescribeActivityTypeCommand.js +0 -1
  70. package/dist-es/commands/DescribeDomainCommand.js +0 -1
  71. package/dist-es/commands/DescribeWorkflowExecutionCommand.js +0 -1
  72. package/dist-es/commands/DescribeWorkflowTypeCommand.js +0 -1
  73. package/dist-es/commands/GetWorkflowExecutionHistoryCommand.js +0 -1
  74. package/dist-es/commands/ListActivityTypesCommand.js +0 -1
  75. package/dist-es/commands/ListClosedWorkflowExecutionsCommand.js +0 -1
  76. package/dist-es/commands/ListDomainsCommand.js +0 -1
  77. package/dist-es/commands/ListOpenWorkflowExecutionsCommand.js +0 -1
  78. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  79. package/dist-es/commands/ListWorkflowTypesCommand.js +0 -1
  80. package/dist-es/commands/PollForActivityTaskCommand.js +0 -1
  81. package/dist-es/commands/PollForDecisionTaskCommand.js +0 -1
  82. package/dist-es/commands/RecordActivityTaskHeartbeatCommand.js +0 -1
  83. package/dist-es/commands/RegisterActivityTypeCommand.js +0 -1
  84. package/dist-es/commands/RegisterDomainCommand.js +0 -1
  85. package/dist-es/commands/RegisterWorkflowTypeCommand.js +0 -1
  86. package/dist-es/commands/RequestCancelWorkflowExecutionCommand.js +0 -1
  87. package/dist-es/commands/RespondActivityTaskCanceledCommand.js +0 -1
  88. package/dist-es/commands/RespondActivityTaskCompletedCommand.js +0 -1
  89. package/dist-es/commands/RespondActivityTaskFailedCommand.js +0 -1
  90. package/dist-es/commands/RespondDecisionTaskCompletedCommand.js +0 -1
  91. package/dist-es/commands/SignalWorkflowExecutionCommand.js +0 -1
  92. package/dist-es/commands/StartWorkflowExecutionCommand.js +0 -1
  93. package/dist-es/commands/TagResourceCommand.js +0 -1
  94. package/dist-es/commands/TerminateWorkflowExecutionCommand.js +0 -1
  95. package/dist-es/commands/UndeprecateActivityTypeCommand.js +0 -1
  96. package/dist-es/commands/UndeprecateDomainCommand.js +0 -1
  97. package/dist-es/commands/UndeprecateWorkflowTypeCommand.js +0 -1
  98. package/dist-es/commands/UntagResourceCommand.js +0 -1
  99. package/dist-es/commands/index.js +37 -0
  100. package/dist-es/endpoints.js +1 -2
  101. package/dist-es/index.js +4 -48
  102. package/dist-es/models/index.js +0 -1
  103. package/dist-es/models/models_0.js +0 -1
  104. package/dist-es/pagination/GetWorkflowExecutionHistoryPaginator.js +0 -1
  105. package/dist-es/pagination/Interfaces.js +0 -1
  106. package/dist-es/pagination/ListActivityTypesPaginator.js +0 -1
  107. package/dist-es/pagination/ListClosedWorkflowExecutionsPaginator.js +0 -1
  108. package/dist-es/pagination/ListDomainsPaginator.js +0 -1
  109. package/dist-es/pagination/ListOpenWorkflowExecutionsPaginator.js +0 -1
  110. package/dist-es/pagination/ListWorkflowTypesPaginator.js +0 -1
  111. package/dist-es/pagination/PollForDecisionTaskPaginator.js +0 -1
  112. package/dist-es/pagination/index.js +8 -0
  113. package/dist-es/protocols/Aws_json1_0.js +0 -1
  114. package/dist-es/runtimeConfig.browser.js +1 -2
  115. package/dist-es/runtimeConfig.js +2 -3
  116. package/dist-es/runtimeConfig.native.js +0 -1
  117. package/dist-es/runtimeConfig.shared.js +0 -1
  118. package/dist-types/commands/index.d.ts +37 -0
  119. package/dist-types/index.d.ts +4 -47
  120. package/dist-types/pagination/index.d.ts +8 -0
  121. package/dist-types/ts3.4/SWF.d.ts +16 -1467
  122. package/dist-types/ts3.4/SWFClient.d.ts +24 -104
  123. package/dist-types/ts3.4/commands/CountClosedWorkflowExecutionsCommand.d.ts +2 -66
  124. package/dist-types/ts3.4/commands/CountOpenWorkflowExecutionsCommand.d.ts +2 -66
  125. package/dist-types/ts3.4/commands/CountPendingActivityTasksCommand.d.ts +2 -47
  126. package/dist-types/ts3.4/commands/CountPendingDecisionTasksCommand.d.ts +2 -47
  127. package/dist-types/ts3.4/commands/DeprecateActivityTypeCommand.d.ts +2 -62
  128. package/dist-types/ts3.4/commands/DeprecateDomainCommand.d.ts +2 -51
  129. package/dist-types/ts3.4/commands/DeprecateWorkflowTypeCommand.d.ts +2 -63
  130. package/dist-types/ts3.4/commands/DescribeActivityTypeCommand.d.ts +2 -58
  131. package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +2 -44
  132. package/dist-types/ts3.4/commands/DescribeWorkflowExecutionCommand.d.ts +2 -48
  133. package/dist-types/ts3.4/commands/DescribeWorkflowTypeCommand.d.ts +2 -58
  134. package/dist-types/ts3.4/commands/GetWorkflowExecutionHistoryCommand.d.ts +2 -49
  135. package/dist-types/ts3.4/commands/ListActivityTypesCommand.d.ts +2 -47
  136. package/dist-types/ts3.4/commands/ListClosedWorkflowExecutionsCommand.d.ts +2 -67
  137. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +0 -58
  138. package/dist-types/ts3.4/commands/ListOpenWorkflowExecutionsCommand.d.ts +2 -67
  139. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  140. package/dist-types/ts3.4/commands/ListWorkflowTypesCommand.d.ts +2 -44
  141. package/dist-types/ts3.4/commands/PollForActivityTaskCommand.d.ts +2 -55
  142. package/dist-types/ts3.4/commands/PollForDecisionTaskCommand.d.ts +2 -67
  143. package/dist-types/ts3.4/commands/RecordActivityTaskHeartbeatCommand.d.ts +2 -67
  144. package/dist-types/ts3.4/commands/RegisterActivityTypeCommand.d.ts +2 -66
  145. package/dist-types/ts3.4/commands/RegisterDomainCommand.d.ts +2 -43
  146. package/dist-types/ts3.4/commands/RegisterWorkflowTypeCommand.d.ts +2 -67
  147. package/dist-types/ts3.4/commands/RequestCancelWorkflowExecutionCommand.d.ts +2 -58
  148. package/dist-types/ts3.4/commands/RespondActivityTaskCanceledCommand.d.ts +2 -61
  149. package/dist-types/ts3.4/commands/RespondActivityTaskCompletedCommand.d.ts +2 -59
  150. package/dist-types/ts3.4/commands/RespondActivityTaskFailedCommand.d.ts +2 -52
  151. package/dist-types/ts3.4/commands/RespondDecisionTaskCompletedCommand.d.ts +2 -39
  152. package/dist-types/ts3.4/commands/SignalWorkflowExecutionCommand.d.ts +2 -58
  153. package/dist-types/ts3.4/commands/StartWorkflowExecutionCommand.d.ts +2 -85
  154. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -23
  155. package/dist-types/ts3.4/commands/TerminateWorkflowExecutionCommand.d.ts +2 -63
  156. package/dist-types/ts3.4/commands/UndeprecateActivityTypeCommand.d.ts +2 -61
  157. package/dist-types/ts3.4/commands/UndeprecateDomainCommand.d.ts +2 -48
  158. package/dist-types/ts3.4/commands/UndeprecateWorkflowTypeCommand.d.ts +2 -61
  159. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  160. package/dist-types/ts3.4/commands/index.d.ts +37 -0
  161. package/dist-types/ts3.4/index.d.ts +4 -47
  162. package/dist-types/ts3.4/models/models_0.d.ts +865 -4636
  163. package/dist-types/ts3.4/pagination/index.d.ts +8 -0
  164. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  165. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  166. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  167. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  168. package/package.json +33 -30
  169. package/dist-cjs/SWF.js.map +0 -1
  170. package/dist-cjs/SWFClient.js.map +0 -1
  171. package/dist-cjs/commands/CountClosedWorkflowExecutionsCommand.js.map +0 -1
  172. package/dist-cjs/commands/CountOpenWorkflowExecutionsCommand.js.map +0 -1
  173. package/dist-cjs/commands/CountPendingActivityTasksCommand.js.map +0 -1
  174. package/dist-cjs/commands/CountPendingDecisionTasksCommand.js.map +0 -1
  175. package/dist-cjs/commands/DeprecateActivityTypeCommand.js.map +0 -1
  176. package/dist-cjs/commands/DeprecateDomainCommand.js.map +0 -1
  177. package/dist-cjs/commands/DeprecateWorkflowTypeCommand.js.map +0 -1
  178. package/dist-cjs/commands/DescribeActivityTypeCommand.js.map +0 -1
  179. package/dist-cjs/commands/DescribeDomainCommand.js.map +0 -1
  180. package/dist-cjs/commands/DescribeWorkflowExecutionCommand.js.map +0 -1
  181. package/dist-cjs/commands/DescribeWorkflowTypeCommand.js.map +0 -1
  182. package/dist-cjs/commands/GetWorkflowExecutionHistoryCommand.js.map +0 -1
  183. package/dist-cjs/commands/ListActivityTypesCommand.js.map +0 -1
  184. package/dist-cjs/commands/ListClosedWorkflowExecutionsCommand.js.map +0 -1
  185. package/dist-cjs/commands/ListDomainsCommand.js.map +0 -1
  186. package/dist-cjs/commands/ListOpenWorkflowExecutionsCommand.js.map +0 -1
  187. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  188. package/dist-cjs/commands/ListWorkflowTypesCommand.js.map +0 -1
  189. package/dist-cjs/commands/PollForActivityTaskCommand.js.map +0 -1
  190. package/dist-cjs/commands/PollForDecisionTaskCommand.js.map +0 -1
  191. package/dist-cjs/commands/RecordActivityTaskHeartbeatCommand.js.map +0 -1
  192. package/dist-cjs/commands/RegisterActivityTypeCommand.js.map +0 -1
  193. package/dist-cjs/commands/RegisterDomainCommand.js.map +0 -1
  194. package/dist-cjs/commands/RegisterWorkflowTypeCommand.js.map +0 -1
  195. package/dist-cjs/commands/RequestCancelWorkflowExecutionCommand.js.map +0 -1
  196. package/dist-cjs/commands/RespondActivityTaskCanceledCommand.js.map +0 -1
  197. package/dist-cjs/commands/RespondActivityTaskCompletedCommand.js.map +0 -1
  198. package/dist-cjs/commands/RespondActivityTaskFailedCommand.js.map +0 -1
  199. package/dist-cjs/commands/RespondDecisionTaskCompletedCommand.js.map +0 -1
  200. package/dist-cjs/commands/SignalWorkflowExecutionCommand.js.map +0 -1
  201. package/dist-cjs/commands/StartWorkflowExecutionCommand.js.map +0 -1
  202. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  203. package/dist-cjs/commands/TerminateWorkflowExecutionCommand.js.map +0 -1
  204. package/dist-cjs/commands/UndeprecateActivityTypeCommand.js.map +0 -1
  205. package/dist-cjs/commands/UndeprecateDomainCommand.js.map +0 -1
  206. package/dist-cjs/commands/UndeprecateWorkflowTypeCommand.js.map +0 -1
  207. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  208. package/dist-cjs/endpoints.js.map +0 -1
  209. package/dist-cjs/index.js.map +0 -1
  210. package/dist-cjs/models/index.js.map +0 -1
  211. package/dist-cjs/models/models_0.js.map +0 -1
  212. package/dist-cjs/pagination/GetWorkflowExecutionHistoryPaginator.js.map +0 -1
  213. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  214. package/dist-cjs/pagination/ListActivityTypesPaginator.js.map +0 -1
  215. package/dist-cjs/pagination/ListClosedWorkflowExecutionsPaginator.js.map +0 -1
  216. package/dist-cjs/pagination/ListDomainsPaginator.js.map +0 -1
  217. package/dist-cjs/pagination/ListOpenWorkflowExecutionsPaginator.js.map +0 -1
  218. package/dist-cjs/pagination/ListWorkflowTypesPaginator.js.map +0 -1
  219. package/dist-cjs/pagination/PollForDecisionTaskPaginator.js.map +0 -1
  220. package/dist-cjs/protocols/Aws_json1_0.js.map +0 -1
  221. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  222. package/dist-cjs/runtimeConfig.js.map +0 -1
  223. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  224. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  225. package/dist-es/SWF.js.map +0 -1
  226. package/dist-es/SWFClient.js.map +0 -1
  227. package/dist-es/commands/CountClosedWorkflowExecutionsCommand.js.map +0 -1
  228. package/dist-es/commands/CountOpenWorkflowExecutionsCommand.js.map +0 -1
  229. package/dist-es/commands/CountPendingActivityTasksCommand.js.map +0 -1
  230. package/dist-es/commands/CountPendingDecisionTasksCommand.js.map +0 -1
  231. package/dist-es/commands/DeprecateActivityTypeCommand.js.map +0 -1
  232. package/dist-es/commands/DeprecateDomainCommand.js.map +0 -1
  233. package/dist-es/commands/DeprecateWorkflowTypeCommand.js.map +0 -1
  234. package/dist-es/commands/DescribeActivityTypeCommand.js.map +0 -1
  235. package/dist-es/commands/DescribeDomainCommand.js.map +0 -1
  236. package/dist-es/commands/DescribeWorkflowExecutionCommand.js.map +0 -1
  237. package/dist-es/commands/DescribeWorkflowTypeCommand.js.map +0 -1
  238. package/dist-es/commands/GetWorkflowExecutionHistoryCommand.js.map +0 -1
  239. package/dist-es/commands/ListActivityTypesCommand.js.map +0 -1
  240. package/dist-es/commands/ListClosedWorkflowExecutionsCommand.js.map +0 -1
  241. package/dist-es/commands/ListDomainsCommand.js.map +0 -1
  242. package/dist-es/commands/ListOpenWorkflowExecutionsCommand.js.map +0 -1
  243. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  244. package/dist-es/commands/ListWorkflowTypesCommand.js.map +0 -1
  245. package/dist-es/commands/PollForActivityTaskCommand.js.map +0 -1
  246. package/dist-es/commands/PollForDecisionTaskCommand.js.map +0 -1
  247. package/dist-es/commands/RecordActivityTaskHeartbeatCommand.js.map +0 -1
  248. package/dist-es/commands/RegisterActivityTypeCommand.js.map +0 -1
  249. package/dist-es/commands/RegisterDomainCommand.js.map +0 -1
  250. package/dist-es/commands/RegisterWorkflowTypeCommand.js.map +0 -1
  251. package/dist-es/commands/RequestCancelWorkflowExecutionCommand.js.map +0 -1
  252. package/dist-es/commands/RespondActivityTaskCanceledCommand.js.map +0 -1
  253. package/dist-es/commands/RespondActivityTaskCompletedCommand.js.map +0 -1
  254. package/dist-es/commands/RespondActivityTaskFailedCommand.js.map +0 -1
  255. package/dist-es/commands/RespondDecisionTaskCompletedCommand.js.map +0 -1
  256. package/dist-es/commands/SignalWorkflowExecutionCommand.js.map +0 -1
  257. package/dist-es/commands/StartWorkflowExecutionCommand.js.map +0 -1
  258. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  259. package/dist-es/commands/TerminateWorkflowExecutionCommand.js.map +0 -1
  260. package/dist-es/commands/UndeprecateActivityTypeCommand.js.map +0 -1
  261. package/dist-es/commands/UndeprecateDomainCommand.js.map +0 -1
  262. package/dist-es/commands/UndeprecateWorkflowTypeCommand.js.map +0 -1
  263. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  264. package/dist-es/endpoints.js.map +0 -1
  265. package/dist-es/index.js.map +0 -1
  266. package/dist-es/models/index.js.map +0 -1
  267. package/dist-es/models/models_0.js.map +0 -1
  268. package/dist-es/pagination/GetWorkflowExecutionHistoryPaginator.js.map +0 -1
  269. package/dist-es/pagination/Interfaces.js.map +0 -1
  270. package/dist-es/pagination/ListActivityTypesPaginator.js.map +0 -1
  271. package/dist-es/pagination/ListClosedWorkflowExecutionsPaginator.js.map +0 -1
  272. package/dist-es/pagination/ListDomainsPaginator.js.map +0 -1
  273. package/dist-es/pagination/ListOpenWorkflowExecutionsPaginator.js.map +0 -1
  274. package/dist-es/pagination/ListWorkflowTypesPaginator.js.map +0 -1
  275. package/dist-es/pagination/PollForDecisionTaskPaginator.js.map +0 -1
  276. package/dist-es/protocols/Aws_json1_0.js.map +0 -1
  277. package/dist-es/runtimeConfig.browser.js.map +0 -1
  278. package/dist-es/runtimeConfig.js.map +0 -1
  279. package/dist-es/runtimeConfig.native.js.map +0 -1
  280. package/dist-es/runtimeConfig.shared.js.map +0 -1
  281. package/jest.config.js +0 -4
  282. package/src/SWF.ts +0 -2640
  283. package/src/SWFClient.ts +0 -446
  284. package/src/commands/CountClosedWorkflowExecutionsCommand.ts +0 -144
  285. package/src/commands/CountOpenWorkflowExecutionsCommand.ts +0 -144
  286. package/src/commands/CountPendingActivityTasksCommand.ts +0 -125
  287. package/src/commands/CountPendingDecisionTasksCommand.ts +0 -125
  288. package/src/commands/DeprecateActivityTypeCommand.ts +0 -137
  289. package/src/commands/DeprecateDomainCommand.ts +0 -126
  290. package/src/commands/DeprecateWorkflowTypeCommand.ts +0 -138
  291. package/src/commands/DescribeActivityTypeCommand.ts +0 -133
  292. package/src/commands/DescribeDomainCommand.ts +0 -119
  293. package/src/commands/DescribeWorkflowExecutionCommand.ts +0 -126
  294. package/src/commands/DescribeWorkflowTypeCommand.ts +0 -133
  295. package/src/commands/GetWorkflowExecutionHistoryCommand.ts +0 -127
  296. package/src/commands/ListActivityTypesCommand.ts +0 -122
  297. package/src/commands/ListClosedWorkflowExecutionsCommand.ts +0 -145
  298. package/src/commands/ListDomainsCommand.ts +0 -126
  299. package/src/commands/ListOpenWorkflowExecutionsCommand.ts +0 -145
  300. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  301. package/src/commands/ListWorkflowTypesCommand.ts +0 -119
  302. package/src/commands/PollForActivityTaskCommand.ts +0 -130
  303. package/src/commands/PollForDecisionTaskCommand.ts +0 -142
  304. package/src/commands/RecordActivityTaskHeartbeatCommand.ts +0 -145
  305. package/src/commands/RegisterActivityTypeCommand.ts +0 -141
  306. package/src/commands/RegisterDomainCommand.ts +0 -118
  307. package/src/commands/RegisterWorkflowTypeCommand.ts +0 -142
  308. package/src/commands/RequestCancelWorkflowExecutionCommand.ts +0 -139
  309. package/src/commands/RespondActivityTaskCanceledCommand.ts +0 -139
  310. package/src/commands/RespondActivityTaskCompletedCommand.ts +0 -137
  311. package/src/commands/RespondActivityTaskFailedCommand.ts +0 -130
  312. package/src/commands/RespondDecisionTaskCompletedCommand.ts +0 -117
  313. package/src/commands/SignalWorkflowExecutionCommand.ts +0 -133
  314. package/src/commands/StartWorkflowExecutionCommand.ts +0 -160
  315. package/src/commands/TagResourceCommand.ts +0 -98
  316. package/src/commands/TerminateWorkflowExecutionCommand.ts +0 -141
  317. package/src/commands/UndeprecateActivityTypeCommand.ts +0 -136
  318. package/src/commands/UndeprecateDomainCommand.ts +0 -123
  319. package/src/commands/UndeprecateWorkflowTypeCommand.ts +0 -136
  320. package/src/commands/UntagResourceCommand.ts +0 -95
  321. package/src/endpoints.ts +0 -86
  322. package/src/index.ts +0 -48
  323. package/src/models/index.ts +0 -1
  324. package/src/models/models_0.ts +0 -7233
  325. package/src/pagination/GetWorkflowExecutionHistoryPaginator.ts +0 -59
  326. package/src/pagination/Interfaces.ts +0 -8
  327. package/src/pagination/ListActivityTypesPaginator.ts +0 -59
  328. package/src/pagination/ListClosedWorkflowExecutionsPaginator.ts +0 -59
  329. package/src/pagination/ListDomainsPaginator.ts +0 -55
  330. package/src/pagination/ListOpenWorkflowExecutionsPaginator.ts +0 -59
  331. package/src/pagination/ListWorkflowTypesPaginator.ts +0 -59
  332. package/src/pagination/PollForDecisionTaskPaginator.ts +0 -59
  333. package/src/protocols/Aws_json1_0.ts +0 -5978
  334. package/src/runtimeConfig.browser.ts +0 -41
  335. package/src/runtimeConfig.native.ts +0 -17
  336. package/src/runtimeConfig.shared.ts +0 -17
  337. package/src/runtimeConfig.ts +0 -46
  338. package/tsconfig.es.json +0 -10
  339. package/tsconfig.json +0 -33
  340. package/tsconfig.types.json +0 -9
@@ -1,127 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GetWorkflowExecutionHistoryInput, History } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_0GetWorkflowExecutionHistoryCommand,
17
- serializeAws_json1_0GetWorkflowExecutionHistoryCommand,
18
- } from "../protocols/Aws_json1_0";
19
- import { ServiceInputTypes, ServiceOutputTypes, SWFClientResolvedConfig } from "../SWFClient";
20
-
21
- export interface GetWorkflowExecutionHistoryCommandInput extends GetWorkflowExecutionHistoryInput {}
22
- export interface GetWorkflowExecutionHistoryCommandOutput extends History, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns the history of the specified workflow execution. The results may be split into
26
- * multiple pages. To retrieve subsequent pages, make the call again using the
27
- * <code>nextPageToken</code> returned by the initial call.</p>
28
- * <note>
29
- * <p>This operation is eventually consistent. The results are best effort and may not
30
- * exactly reflect recent updates and changes.</p>
31
- * </note>
32
- * <p>
33
- * <b>Access Control</b>
34
- * </p>
35
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
36
- * follows:</p>
37
- * <ul>
38
- * <li>
39
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
40
- * only specified domains.</p>
41
- * </li>
42
- * <li>
43
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
44
- * action.</p>
45
- * </li>
46
- * <li>
47
- * <p>You cannot use an IAM policy to constrain this action's parameters.</p>
48
- * </li>
49
- * </ul>
50
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
51
- * parameter values fall outside the specified constraints, the action fails. The associated
52
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
53
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
54
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
55
- * @example
56
- * Use a bare-bones client and the command you need to make an API call.
57
- * ```javascript
58
- * import { SWFClient, GetWorkflowExecutionHistoryCommand } from "@aws-sdk/client-swf"; // ES Modules import
59
- * // const { SWFClient, GetWorkflowExecutionHistoryCommand } = require("@aws-sdk/client-swf"); // CommonJS import
60
- * const client = new SWFClient(config);
61
- * const command = new GetWorkflowExecutionHistoryCommand(input);
62
- * const response = await client.send(command);
63
- * ```
64
- *
65
- * @see {@link GetWorkflowExecutionHistoryCommandInput} for command's `input` shape.
66
- * @see {@link GetWorkflowExecutionHistoryCommandOutput} for command's `response` shape.
67
- * @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
68
- *
69
- */
70
- export class GetWorkflowExecutionHistoryCommand extends $Command<
71
- GetWorkflowExecutionHistoryCommandInput,
72
- GetWorkflowExecutionHistoryCommandOutput,
73
- SWFClientResolvedConfig
74
- > {
75
- // Start section: command_properties
76
- // End section: command_properties
77
-
78
- constructor(readonly input: GetWorkflowExecutionHistoryCommandInput) {
79
- // Start section: command_constructor
80
- super();
81
- // End section: command_constructor
82
- }
83
-
84
- /**
85
- * @internal
86
- */
87
- resolveMiddleware(
88
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
89
- configuration: SWFClientResolvedConfig,
90
- options?: __HttpHandlerOptions
91
- ): Handler<GetWorkflowExecutionHistoryCommandInput, GetWorkflowExecutionHistoryCommandOutput> {
92
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
93
-
94
- const stack = clientStack.concat(this.middlewareStack);
95
-
96
- const { logger } = configuration;
97
- const clientName = "SWFClient";
98
- const commandName = "GetWorkflowExecutionHistoryCommand";
99
- const handlerExecutionContext: HandlerExecutionContext = {
100
- logger,
101
- clientName,
102
- commandName,
103
- inputFilterSensitiveLog: GetWorkflowExecutionHistoryInput.filterSensitiveLog,
104
- outputFilterSensitiveLog: History.filterSensitiveLog,
105
- };
106
- const { requestHandler } = configuration;
107
- return stack.resolve(
108
- (request: FinalizeHandlerArguments<any>) =>
109
- requestHandler.handle(request.request as __HttpRequest, options || {}),
110
- handlerExecutionContext
111
- );
112
- }
113
-
114
- private serialize(input: GetWorkflowExecutionHistoryCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
115
- return serializeAws_json1_0GetWorkflowExecutionHistoryCommand(input, context);
116
- }
117
-
118
- private deserialize(
119
- output: __HttpResponse,
120
- context: __SerdeContext
121
- ): Promise<GetWorkflowExecutionHistoryCommandOutput> {
122
- return deserializeAws_json1_0GetWorkflowExecutionHistoryCommand(output, context);
123
- }
124
-
125
- // Start section: command_body_extra
126
- // End section: command_body_extra
127
- }
@@ -1,122 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { ActivityTypeInfos, ListActivityTypesInput } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_0ListActivityTypesCommand,
17
- serializeAws_json1_0ListActivityTypesCommand,
18
- } from "../protocols/Aws_json1_0";
19
- import { ServiceInputTypes, ServiceOutputTypes, SWFClientResolvedConfig } from "../SWFClient";
20
-
21
- export interface ListActivityTypesCommandInput extends ListActivityTypesInput {}
22
- export interface ListActivityTypesCommandOutput extends ActivityTypeInfos, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns information about all activities registered in the specified domain that match
26
- * the specified name and registration status. The result includes information like creation
27
- * date, current status of the activity, etc. The results may be split into multiple pages. To
28
- * retrieve subsequent pages, make the call again using the <code>nextPageToken</code> returned
29
- * by the initial call.</p>
30
- * <p>
31
- * <b>Access Control</b>
32
- * </p>
33
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
34
- * follows:</p>
35
- * <ul>
36
- * <li>
37
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
38
- * only specified domains.</p>
39
- * </li>
40
- * <li>
41
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
42
- * action.</p>
43
- * </li>
44
- * <li>
45
- * <p>You cannot use an IAM policy to constrain this action's parameters.</p>
46
- * </li>
47
- * </ul>
48
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
49
- * parameter values fall outside the specified constraints, the action fails. The associated
50
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
51
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
52
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
53
- * @example
54
- * Use a bare-bones client and the command you need to make an API call.
55
- * ```javascript
56
- * import { SWFClient, ListActivityTypesCommand } from "@aws-sdk/client-swf"; // ES Modules import
57
- * // const { SWFClient, ListActivityTypesCommand } = require("@aws-sdk/client-swf"); // CommonJS import
58
- * const client = new SWFClient(config);
59
- * const command = new ListActivityTypesCommand(input);
60
- * const response = await client.send(command);
61
- * ```
62
- *
63
- * @see {@link ListActivityTypesCommandInput} for command's `input` shape.
64
- * @see {@link ListActivityTypesCommandOutput} for command's `response` shape.
65
- * @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
66
- *
67
- */
68
- export class ListActivityTypesCommand extends $Command<
69
- ListActivityTypesCommandInput,
70
- ListActivityTypesCommandOutput,
71
- SWFClientResolvedConfig
72
- > {
73
- // Start section: command_properties
74
- // End section: command_properties
75
-
76
- constructor(readonly input: ListActivityTypesCommandInput) {
77
- // Start section: command_constructor
78
- super();
79
- // End section: command_constructor
80
- }
81
-
82
- /**
83
- * @internal
84
- */
85
- resolveMiddleware(
86
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
87
- configuration: SWFClientResolvedConfig,
88
- options?: __HttpHandlerOptions
89
- ): Handler<ListActivityTypesCommandInput, ListActivityTypesCommandOutput> {
90
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
91
-
92
- const stack = clientStack.concat(this.middlewareStack);
93
-
94
- const { logger } = configuration;
95
- const clientName = "SWFClient";
96
- const commandName = "ListActivityTypesCommand";
97
- const handlerExecutionContext: HandlerExecutionContext = {
98
- logger,
99
- clientName,
100
- commandName,
101
- inputFilterSensitiveLog: ListActivityTypesInput.filterSensitiveLog,
102
- outputFilterSensitiveLog: ActivityTypeInfos.filterSensitiveLog,
103
- };
104
- const { requestHandler } = configuration;
105
- return stack.resolve(
106
- (request: FinalizeHandlerArguments<any>) =>
107
- requestHandler.handle(request.request as __HttpRequest, options || {}),
108
- handlerExecutionContext
109
- );
110
- }
111
-
112
- private serialize(input: ListActivityTypesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
113
- return serializeAws_json1_0ListActivityTypesCommand(input, context);
114
- }
115
-
116
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListActivityTypesCommandOutput> {
117
- return deserializeAws_json1_0ListActivityTypesCommand(output, context);
118
- }
119
-
120
- // Start section: command_body_extra
121
- // End section: command_body_extra
122
- }
@@ -1,145 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { ListClosedWorkflowExecutionsInput, WorkflowExecutionInfos } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_0ListClosedWorkflowExecutionsCommand,
17
- serializeAws_json1_0ListClosedWorkflowExecutionsCommand,
18
- } from "../protocols/Aws_json1_0";
19
- import { ServiceInputTypes, ServiceOutputTypes, SWFClientResolvedConfig } from "../SWFClient";
20
-
21
- export interface ListClosedWorkflowExecutionsCommandInput extends ListClosedWorkflowExecutionsInput {}
22
- export interface ListClosedWorkflowExecutionsCommandOutput extends WorkflowExecutionInfos, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns a list of closed workflow executions in the specified domain that meet the
26
- * filtering criteria. The results may be split into multiple pages. To retrieve subsequent
27
- * pages, make the call again using the nextPageToken returned by the initial call.</p>
28
- * <note>
29
- * <p>This operation is eventually consistent. The results are best effort and may not
30
- * exactly reflect recent updates and changes.</p>
31
- * </note>
32
- * <p>
33
- * <b>Access Control</b>
34
- * </p>
35
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
36
- * follows:</p>
37
- * <ul>
38
- * <li>
39
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
40
- * only specified domains.</p>
41
- * </li>
42
- * <li>
43
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
44
- * action.</p>
45
- * </li>
46
- * <li>
47
- * <p>Constrain the following parameters by using a <code>Condition</code> element with
48
- * the appropriate keys.</p>
49
- * <ul>
50
- * <li>
51
- * <p>
52
- * <code>tagFilter.tag</code>: String constraint. The key is
53
- * <code>swf:tagFilter.tag</code>.</p>
54
- * </li>
55
- * <li>
56
- * <p>
57
- * <code>typeFilter.name</code>: String constraint. The key is
58
- * <code>swf:typeFilter.name</code>.</p>
59
- * </li>
60
- * <li>
61
- * <p>
62
- * <code>typeFilter.version</code>: String constraint. The key is
63
- * <code>swf:typeFilter.version</code>.</p>
64
- * </li>
65
- * </ul>
66
- * </li>
67
- * </ul>
68
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
69
- * parameter values fall outside the specified constraints, the action fails. The associated
70
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
71
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
72
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
73
- * @example
74
- * Use a bare-bones client and the command you need to make an API call.
75
- * ```javascript
76
- * import { SWFClient, ListClosedWorkflowExecutionsCommand } from "@aws-sdk/client-swf"; // ES Modules import
77
- * // const { SWFClient, ListClosedWorkflowExecutionsCommand } = require("@aws-sdk/client-swf"); // CommonJS import
78
- * const client = new SWFClient(config);
79
- * const command = new ListClosedWorkflowExecutionsCommand(input);
80
- * const response = await client.send(command);
81
- * ```
82
- *
83
- * @see {@link ListClosedWorkflowExecutionsCommandInput} for command's `input` shape.
84
- * @see {@link ListClosedWorkflowExecutionsCommandOutput} for command's `response` shape.
85
- * @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
86
- *
87
- */
88
- export class ListClosedWorkflowExecutionsCommand extends $Command<
89
- ListClosedWorkflowExecutionsCommandInput,
90
- ListClosedWorkflowExecutionsCommandOutput,
91
- SWFClientResolvedConfig
92
- > {
93
- // Start section: command_properties
94
- // End section: command_properties
95
-
96
- constructor(readonly input: ListClosedWorkflowExecutionsCommandInput) {
97
- // Start section: command_constructor
98
- super();
99
- // End section: command_constructor
100
- }
101
-
102
- /**
103
- * @internal
104
- */
105
- resolveMiddleware(
106
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
107
- configuration: SWFClientResolvedConfig,
108
- options?: __HttpHandlerOptions
109
- ): Handler<ListClosedWorkflowExecutionsCommandInput, ListClosedWorkflowExecutionsCommandOutput> {
110
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
111
-
112
- const stack = clientStack.concat(this.middlewareStack);
113
-
114
- const { logger } = configuration;
115
- const clientName = "SWFClient";
116
- const commandName = "ListClosedWorkflowExecutionsCommand";
117
- const handlerExecutionContext: HandlerExecutionContext = {
118
- logger,
119
- clientName,
120
- commandName,
121
- inputFilterSensitiveLog: ListClosedWorkflowExecutionsInput.filterSensitiveLog,
122
- outputFilterSensitiveLog: WorkflowExecutionInfos.filterSensitiveLog,
123
- };
124
- const { requestHandler } = configuration;
125
- return stack.resolve(
126
- (request: FinalizeHandlerArguments<any>) =>
127
- requestHandler.handle(request.request as __HttpRequest, options || {}),
128
- handlerExecutionContext
129
- );
130
- }
131
-
132
- private serialize(input: ListClosedWorkflowExecutionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
133
- return serializeAws_json1_0ListClosedWorkflowExecutionsCommand(input, context);
134
- }
135
-
136
- private deserialize(
137
- output: __HttpResponse,
138
- context: __SerdeContext
139
- ): Promise<ListClosedWorkflowExecutionsCommandOutput> {
140
- return deserializeAws_json1_0ListClosedWorkflowExecutionsCommand(output, context);
141
- }
142
-
143
- // Start section: command_body_extra
144
- // End section: command_body_extra
145
- }
@@ -1,126 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DomainInfos, ListDomainsInput } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_0ListDomainsCommand,
17
- serializeAws_json1_0ListDomainsCommand,
18
- } from "../protocols/Aws_json1_0";
19
- import { ServiceInputTypes, ServiceOutputTypes, SWFClientResolvedConfig } from "../SWFClient";
20
-
21
- export interface ListDomainsCommandInput extends ListDomainsInput {}
22
- export interface ListDomainsCommandOutput extends DomainInfos, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns the list of domains registered in the account. The results may be split into
26
- * multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken
27
- * returned by the initial call.</p>
28
- * <note>
29
- * <p>This operation is eventually consistent. The results are best effort and may not
30
- * exactly reflect recent updates and changes.</p>
31
- * </note>
32
- * <p>
33
- * <b>Access Control</b>
34
- * </p>
35
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
36
- * follows:</p>
37
- * <ul>
38
- * <li>
39
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
40
- * only specified domains. The element must be set to
41
- * <code>arn:aws:swf::AccountID:domain/*</code>, where <i>AccountID</i> is
42
- * the account ID, with no dashes.</p>
43
- * </li>
44
- * <li>
45
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
46
- * action.</p>
47
- * </li>
48
- * <li>
49
- * <p>You cannot use an IAM policy to constrain this action's parameters.</p>
50
- * </li>
51
- * </ul>
52
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
53
- * parameter values fall outside the specified constraints, the action fails. The associated
54
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
55
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
56
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
57
- * @example
58
- * Use a bare-bones client and the command you need to make an API call.
59
- * ```javascript
60
- * import { SWFClient, ListDomainsCommand } from "@aws-sdk/client-swf"; // ES Modules import
61
- * // const { SWFClient, ListDomainsCommand } = require("@aws-sdk/client-swf"); // CommonJS import
62
- * const client = new SWFClient(config);
63
- * const command = new ListDomainsCommand(input);
64
- * const response = await client.send(command);
65
- * ```
66
- *
67
- * @see {@link ListDomainsCommandInput} for command's `input` shape.
68
- * @see {@link ListDomainsCommandOutput} for command's `response` shape.
69
- * @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
70
- *
71
- */
72
- export class ListDomainsCommand extends $Command<
73
- ListDomainsCommandInput,
74
- ListDomainsCommandOutput,
75
- SWFClientResolvedConfig
76
- > {
77
- // Start section: command_properties
78
- // End section: command_properties
79
-
80
- constructor(readonly input: ListDomainsCommandInput) {
81
- // Start section: command_constructor
82
- super();
83
- // End section: command_constructor
84
- }
85
-
86
- /**
87
- * @internal
88
- */
89
- resolveMiddleware(
90
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
91
- configuration: SWFClientResolvedConfig,
92
- options?: __HttpHandlerOptions
93
- ): Handler<ListDomainsCommandInput, ListDomainsCommandOutput> {
94
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
95
-
96
- const stack = clientStack.concat(this.middlewareStack);
97
-
98
- const { logger } = configuration;
99
- const clientName = "SWFClient";
100
- const commandName = "ListDomainsCommand";
101
- const handlerExecutionContext: HandlerExecutionContext = {
102
- logger,
103
- clientName,
104
- commandName,
105
- inputFilterSensitiveLog: ListDomainsInput.filterSensitiveLog,
106
- outputFilterSensitiveLog: DomainInfos.filterSensitiveLog,
107
- };
108
- const { requestHandler } = configuration;
109
- return stack.resolve(
110
- (request: FinalizeHandlerArguments<any>) =>
111
- requestHandler.handle(request.request as __HttpRequest, options || {}),
112
- handlerExecutionContext
113
- );
114
- }
115
-
116
- private serialize(input: ListDomainsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
117
- return serializeAws_json1_0ListDomainsCommand(input, context);
118
- }
119
-
120
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListDomainsCommandOutput> {
121
- return deserializeAws_json1_0ListDomainsCommand(output, context);
122
- }
123
-
124
- // Start section: command_body_extra
125
- // End section: command_body_extra
126
- }
@@ -1,145 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { ListOpenWorkflowExecutionsInput, WorkflowExecutionInfos } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_0ListOpenWorkflowExecutionsCommand,
17
- serializeAws_json1_0ListOpenWorkflowExecutionsCommand,
18
- } from "../protocols/Aws_json1_0";
19
- import { ServiceInputTypes, ServiceOutputTypes, SWFClientResolvedConfig } from "../SWFClient";
20
-
21
- export interface ListOpenWorkflowExecutionsCommandInput extends ListOpenWorkflowExecutionsInput {}
22
- export interface ListOpenWorkflowExecutionsCommandOutput extends WorkflowExecutionInfos, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns a list of open workflow executions in the specified domain that meet the
26
- * filtering criteria. The results may be split into multiple pages. To retrieve subsequent
27
- * pages, make the call again using the nextPageToken returned by the initial call.</p>
28
- * <note>
29
- * <p>This operation is eventually consistent. The results are best effort and may not
30
- * exactly reflect recent updates and changes.</p>
31
- * </note>
32
- * <p>
33
- * <b>Access Control</b>
34
- * </p>
35
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
36
- * follows:</p>
37
- * <ul>
38
- * <li>
39
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
40
- * only specified domains.</p>
41
- * </li>
42
- * <li>
43
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
44
- * action.</p>
45
- * </li>
46
- * <li>
47
- * <p>Constrain the following parameters by using a <code>Condition</code> element with
48
- * the appropriate keys.</p>
49
- * <ul>
50
- * <li>
51
- * <p>
52
- * <code>tagFilter.tag</code>: String constraint. The key is
53
- * <code>swf:tagFilter.tag</code>.</p>
54
- * </li>
55
- * <li>
56
- * <p>
57
- * <code>typeFilter.name</code>: String constraint. The key is
58
- * <code>swf:typeFilter.name</code>.</p>
59
- * </li>
60
- * <li>
61
- * <p>
62
- * <code>typeFilter.version</code>: String constraint. The key is
63
- * <code>swf:typeFilter.version</code>.</p>
64
- * </li>
65
- * </ul>
66
- * </li>
67
- * </ul>
68
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
69
- * parameter values fall outside the specified constraints, the action fails. The associated
70
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
71
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
72
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
73
- * @example
74
- * Use a bare-bones client and the command you need to make an API call.
75
- * ```javascript
76
- * import { SWFClient, ListOpenWorkflowExecutionsCommand } from "@aws-sdk/client-swf"; // ES Modules import
77
- * // const { SWFClient, ListOpenWorkflowExecutionsCommand } = require("@aws-sdk/client-swf"); // CommonJS import
78
- * const client = new SWFClient(config);
79
- * const command = new ListOpenWorkflowExecutionsCommand(input);
80
- * const response = await client.send(command);
81
- * ```
82
- *
83
- * @see {@link ListOpenWorkflowExecutionsCommandInput} for command's `input` shape.
84
- * @see {@link ListOpenWorkflowExecutionsCommandOutput} for command's `response` shape.
85
- * @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
86
- *
87
- */
88
- export class ListOpenWorkflowExecutionsCommand extends $Command<
89
- ListOpenWorkflowExecutionsCommandInput,
90
- ListOpenWorkflowExecutionsCommandOutput,
91
- SWFClientResolvedConfig
92
- > {
93
- // Start section: command_properties
94
- // End section: command_properties
95
-
96
- constructor(readonly input: ListOpenWorkflowExecutionsCommandInput) {
97
- // Start section: command_constructor
98
- super();
99
- // End section: command_constructor
100
- }
101
-
102
- /**
103
- * @internal
104
- */
105
- resolveMiddleware(
106
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
107
- configuration: SWFClientResolvedConfig,
108
- options?: __HttpHandlerOptions
109
- ): Handler<ListOpenWorkflowExecutionsCommandInput, ListOpenWorkflowExecutionsCommandOutput> {
110
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
111
-
112
- const stack = clientStack.concat(this.middlewareStack);
113
-
114
- const { logger } = configuration;
115
- const clientName = "SWFClient";
116
- const commandName = "ListOpenWorkflowExecutionsCommand";
117
- const handlerExecutionContext: HandlerExecutionContext = {
118
- logger,
119
- clientName,
120
- commandName,
121
- inputFilterSensitiveLog: ListOpenWorkflowExecutionsInput.filterSensitiveLog,
122
- outputFilterSensitiveLog: WorkflowExecutionInfos.filterSensitiveLog,
123
- };
124
- const { requestHandler } = configuration;
125
- return stack.resolve(
126
- (request: FinalizeHandlerArguments<any>) =>
127
- requestHandler.handle(request.request as __HttpRequest, options || {}),
128
- handlerExecutionContext
129
- );
130
- }
131
-
132
- private serialize(input: ListOpenWorkflowExecutionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
133
- return serializeAws_json1_0ListOpenWorkflowExecutionsCommand(input, context);
134
- }
135
-
136
- private deserialize(
137
- output: __HttpResponse,
138
- context: __SerdeContext
139
- ): Promise<ListOpenWorkflowExecutionsCommandOutput> {
140
- return deserializeAws_json1_0ListOpenWorkflowExecutionsCommand(output, context);
141
- }
142
-
143
- // Start section: command_body_extra
144
- // End section: command_body_extra
145
- }